Skip to content

Commit 03159f2

Browse files
committed
feat(integrations): add Intelligence threads to llamaindex
1 parent 3427f01 commit 03159f2

18 files changed

Lines changed: 20840 additions & 54 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
OPENAI_API_KEY=your-api-key-here
22
AGENT_URL=http://127.0.0.1:9000
3+
4+
# Optional: enable CopilotKit Intelligence Threads locally
5+
COPILOTKIT_LICENSE_TOKEN=
6+
INTELLIGENCE_API_KEY=
7+
INTELLIGENCE_API_URL=http://localhost:4201
8+
INTELLIGENCE_GATEWAY_WS_URL=ws://localhost:4401

examples/integrations/llamaindex/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ yarn-error.log*
3232

3333
# env files (can opt-in for committing if needed)
3434
.env*
35+
!.env.example
3536

3637
# vercel
3738
.vercel
@@ -46,4 +47,4 @@ next-env.d.ts
4647
# python
4748
agent/venv/
4849
agent/agent/__pycache__/
49-
.venv/
50+
.venv/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
4+
output: "standalone",
45
serverExternalPackages: ["@copilotkit/runtime"],
6+
env: {
7+
NEXT_PUBLIC_COPILOTKIT_THREADS_ENABLED: process.env.COPILOTKIT_LICENSE_TOKEN
8+
? "true"
9+
: "false",
10+
},
511
};
612

713
export default nextConfig;

0 commit comments

Comments
 (0)