File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,11 @@ export-types = "{{project_name_snake}}.export_types:export_types"
1919[dependency-groups]
2020dev = [
2121 "ruff>=0.11.10",
22- "llama_deploy",
2322 "typescript>=0.0.12",
2423 "ty>=0.0.1a16",
2524 "pytest>=8.4.1",
2625 "hatch>=1.14.1",
27- "llamactl>= 0.3.0a3 "
26+ "llamactl== 0.3.0a4 "
2827]
2928
3029[build-system]
Original file line number Diff line number Diff line change @@ -19,12 +19,11 @@ export-types = "test_proj.export_types:export_types"
1919[dependency-groups ]
2020dev = [
2121 " ruff>=0.11.10" ,
22- " llama_deploy" ,
2322 " typescript>=0.0.12" ,
2423 " ty>=0.0.1a16" ,
2524 " pytest>=8.4.1" ,
2625 " hatch>=1.14.1" ,
27- " llamactl>= 0.3.0a3 "
26+ " llamactl== 0.3.0a4 "
2827]
2928
3029[build-system ]
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const projectId = import.meta.env.VITE_LLAMA_DEPLOY_PROJECT_ID;
1515
1616// Configure the platform client
1717cloudApiClient . setConfig ( {
18- baseUrl : apiBaseUrl ,
18+ ... ( apiBaseUrl && { baseUrl : apiBaseUrl } ) ,
1919 headers : {
2020 // optionally use a backend API token scoped to a project. For local development,
2121 ...( platformToken && { authorization : `Bearer ${ platformToken } ` } ) ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const projectId = import.meta.env.VITE_LLAMA_DEPLOY_PROJECT_ID;
1515
1616// Configure the platform client
1717cloudApiClient . setConfig ( {
18- baseUrl : apiBaseUrl ,
18+ ... ( apiBaseUrl && { baseUrl : apiBaseUrl } ) ,
1919 headers : {
2020 // optionally use a backend API token scoped to a project. For local development,
2121 ...( platformToken && { authorization : `Bearer ${ platformToken } ` } ) ,
You can’t perform that action at this time.
0 commit comments