forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.ts
More file actions
28 lines (27 loc) · 857 Bytes
/
Copy pathapp.config.ts
File metadata and controls
28 lines (27 loc) · 857 Bytes
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
import { ApplicationConfig, importProvidersFrom } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import {
provideCopilotKit,
provideCopilotChatLabels,
} from "@copilotkit/angular";
import { WildcardToolRenderComponent } from "./components/wildcard-tool-render.component";
export const appConfig: ApplicationConfig = {
providers: [
importProvidersFrom(BrowserModule),
provideCopilotKit({
runtimeUrl: "http://localhost:3001/api/copilotkit",
renderToolCalls: [
{
name: "*",
component: WildcardToolRenderComponent,
} as any,
],
humanInTheLoop: [],
}),
provideCopilotChatLabels({
chatInputPlaceholder: "Ask me anything...",
chatDisclaimerText:
"CopilotKit Angular Demo - AI responses may need verification.",
}),
],
};