File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
typescript-sdk/apps/dojo/src Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -31,22 +31,22 @@ export const agentsIntegrations: AgentIntegrationConfig[] = [
31
31
agents : async ( ) => {
32
32
return {
33
33
agentic_chat : new PydanticAIAgent ( {
34
- url : "http://localhost:9000/ agentic_chat/" ,
34
+ url : ` ${ envVars . pydanticAIUrl } / agentic_chat/` ,
35
35
} ) ,
36
36
agentic_generative_ui : new PydanticAIAgent ( {
37
- url : "http://localhost:9000/ agentic_generative_ui/" ,
37
+ url : ` ${ envVars . pydanticAIUrl } / agentic_generative_ui/` ,
38
38
} ) ,
39
39
human_in_the_loop : new PydanticAIAgent ( {
40
- url : "http://localhost:9000/ human_in_the_loop/" ,
40
+ url : ` ${ envVars . pydanticAIUrl } / human_in_the_loop/` ,
41
41
} ) ,
42
42
predictive_state_updates : new PydanticAIAgent ( {
43
- url : "http://localhost:9000/ predictive_state_updates/" ,
43
+ url : ` ${ envVars . pydanticAIUrl } / predictive_state_updates/` ,
44
44
} ) ,
45
45
shared_state : new PydanticAIAgent ( {
46
- url : "http://localhost:9000/ shared_state/" ,
46
+ url : ` ${ envVars . pydanticAIUrl } / shared_state/` ,
47
47
} ) ,
48
48
tool_based_generative_ui : new PydanticAIAgent ( {
49
- url : "http://localhost:9000/ tool_based_generative_ui/" ,
49
+ url : ` ${ envVars . pydanticAIUrl } / tool_based_generative_ui/` ,
50
50
} ) ,
51
51
} ;
52
52
} ,
Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ type envVars = {
2
2
serverStarterUrl : string ;
3
3
serverStarterAllFeaturesUrl : string ;
4
4
mastraUrl : string ;
5
- langgraphUrl : string ;
5
+ langgraphUrl : string ;
6
6
langgraphFastApiUrl : string ;
7
7
agnoUrl : string ;
8
8
llamaIndexUrl : string ;
9
9
crewAiUrl : string ;
10
+ pydanticAIUrl : string ;
10
11
}
11
12
12
13
export default function getEnvVars ( ) : envVars {
@@ -19,5 +20,6 @@ export default function getEnvVars(): envVars {
19
20
agnoUrl : process . env . AGNO_URL || 'http://localhost:9001' ,
20
21
llamaIndexUrl : process . env . LLAMA_INDEX_URL || 'http://localhost:9000' ,
21
22
crewAiUrl : process . env . CREW_AI_URL || 'http://localhost:9002' ,
23
+ pydanticAIUrl : process . env . PYDANTIC_AI_URL || 'http://localhost:9000' ,
22
24
}
23
25
}
You can’t perform that action at this time.
0 commit comments