Skip to content

Commit 84c3d41

Browse files
author
Terry Zhao
authored
Merge pull request #13 from run-llama/terry/switchToLlamactl
switch to published version of llamactl
2 parents 6117cd8 + c151fe4 commit 84c3d41

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

.env.template.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
LLAMA_CLOUD_API_KEY="ADD ME"
44
# for now, UI requires one as well when developing locally,
55
# and required when deployed to correctly agent project scope things like files
6-
NEXT_PUBLIC_LLAMA_CLOUD_API_KEY="ADD ME"
6+
VITE_LLAMA_CLOUD_API_KEY="ADD ME"

pyproject.toml.jinja

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ dev = [
2424
"ty>=0.0.1a16",
2525
"pytest>=8.4.1",
2626
"hatch>=1.14.1",
27+
"llamactl>=0.3.0a3"
2728
]
2829

29-
[tool.uv.sources]
30-
llama-deploy = { git = "https://github.com/run-llama/llama_deploy", rev = "main" }
31-
3230
[build-system]
3331
requires = ["hatchling"]
3432
build-backend = "hatchling.build"

test-proj/.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
LLAMA_CLOUD_API_KEY="ADD ME"
44
# for now, UI requires one as well when developing locally,
55
# and required when deployed to correctly agent project scope things like files
6-
NEXT_PUBLIC_LLAMA_CLOUD_API_KEY="ADD ME"
6+
VITE_LLAMA_CLOUD_API_KEY="ADD ME"

test-proj/pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ dev = [
2424
"ty>=0.0.1a16",
2525
"pytest>=8.4.1",
2626
"hatch>=1.14.1",
27+
"llamactl>=0.3.0a3"
2728
]
2829

29-
[tool.uv.sources]
30-
llama-deploy = { git = "https://github.com/run-llama/llama_deploy", rev = "main" }
31-
3230
[build-system]
3331
requires = ["hatchling"]
3432
build-backend = "hatchling.build"

test-proj/ui/src/vite-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ interface ImportMetaEnv {
77
// injected from llama_deploy
88
readonly VITE_LLAMA_DEPLOY_BASE_PATH: string;
99
readonly VITE_LLAMA_DEPLOY_DEPLOYMENT_NAME: string;
10+
readonly VITE_LLAMA_DEPLOY_PROJECT_ID: string;
1011
}
1112

1213
interface ImportMeta {

ui/src/vite-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ interface ImportMetaEnv {
77
// injected from llama_deploy
88
readonly VITE_LLAMA_DEPLOY_BASE_PATH: string;
99
readonly VITE_LLAMA_DEPLOY_DEPLOYMENT_NAME: string;
10+
readonly VITE_LLAMA_DEPLOY_PROJECT_ID: string;
1011
}
1112

1213
interface ImportMeta {

0 commit comments

Comments
 (0)