We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 338c62b commit fa3b8acCopy full SHA for fa3b8ac
1 file changed
src/index.ts
@@ -19,8 +19,15 @@ export const agent = new Agentica({
19
{
20
name: "GoogleDocs Connector",
21
protocol: "class",
22
- application: typia.llm.application<GoogleDocsService, "chatgpt">(),
23
- execute: new GoogleDocsService(),
+ application: typia.llm.application<
+ Omit<GoogleDocsService, "update">,
24
+ "chatgpt"
25
+ >(),
26
+ execute: new GoogleDocsService({
27
+ clientId: process.env.GOOGLE_DOCS_CLIENT_ID!,
28
+ clientSecret: process.env.GOOGLE_DOCS_CLIENT_SECRET!,
29
+ secret: process.env.GOOGLE_DOCS_REFRESH_TOKEN!,
30
+ }),
31
},
32
],
33
});
0 commit comments