-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagent.config.ts
More file actions
51 lines (46 loc) · 1.18 KB
/
agent.config.ts
File metadata and controls
51 lines (46 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { z, defineConfig } from "@botpress/runtime";
export default defineConfig({
name: "docs-updater",
description:
"A Botpress ADK agent that updates Mintlify documentation when PRs are merged in your codebase.",
defaultModels: {
autonomous: "cerebras:gpt-oss-120b",
zai: "cerebras:gpt-oss-120b",
},
bot: {
state: z.object({}),
},
user: {
state: z.object({}),
},
dependencies: {
integrations: {
github: {
version: "github@1.1.6",
enabled: true,
configurationType: "manualApp",
config: {
githubAppId: process.env.GITHUB_APP_ID!,
githubAppPrivateKey: process.env.GITHUB_APP_PRIVATE_KEY!,
githubAppInstallationId: Number(
process.env.GITHUB_APP_INSTALLATION_ID
),
githubWebhookSecret: process.env.GITHUB_WEBHOOK_SECRET!,
},
},
mintlify: {
version: "mintlify@1.0.0",
enabled: true,
config: {
apiKey: process.env.MINTLIFY_API_KEY!,
projectId: process.env.MINTLIFY_PROJECT_ID!,
},
},
},
},
configuration: {
schema: z.object({
githubAppId: z.string(),
}),
},
});