Skip to content

Commit 29e7ac7

Browse files
committed
add agent_port, use common-env
Signed-off-by: alexsin368 <[email protected]>
1 parent 6554f0e commit 29e7ac7

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

FinanceAgent/docker_compose/intel/cpu/xeon/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ python3 $WORKDIR/GenAIExamples/FinanceAgent/tests/test.py --agent_role "supervis
171171
Supervisor Agent multi turn:
172172

173173
```bash
174+
export agent_port="9090"
174175
python3 $WORKDIR/GenAIExamples/FinanceAgent/tests/test.py --agent_role "supervisor" --ext_port $agent_port --multi-turn --stream
175176
```
176177

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4+
x-common-environment:
5+
&common-env
6+
llm_endpoint_url: ${REMOTE_ENDPOINT}
7+
api_key: ${OPENAI_API_KEY}
8+
49
services:
510
worker-finqa-agent:
611
environment:
7-
llm_endpoint_url: ${REMOTE_ENDPOINT}
8-
api_key: ${OPENAI_API_KEY}
12+
<<: *common-env
913

1014
worker-research-agent:
1115
environment:
12-
llm_endpoint_url: ${REMOTE_ENDPOINT}
13-
api_key: ${OPENAI_API_KEY}
16+
<<: *common-env
1417

1518
supervisor-react-agent:
1619
environment:
17-
llm_endpoint_url: ${REMOTE_ENDPOINT}
18-
api_key: ${OPENAI_API_KEY}
20+
<<: *common-env

FinanceAgent/docker_compose/intel/hpu/gaudi/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ python3 $WORKDIR/GenAIExamples/FinanceAgent/tests/test.py --agent_role "supervis
160160
Supervisor Agent multi turn:
161161

162162
```bash
163+
export agent_port="9090"
163164
python3 $WORKDIR/GenAIExamples/FinanceAgent/tests/test.py --agent_role "supervisor" --ext_port $agent_port --multi-turn --stream
164165
```
165166

0 commit comments

Comments
 (0)