Skip to content

Commit 35d94a4

Browse files
committed
input handling
1 parent 72161d3 commit 35d94a4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

agentstack/serve/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN #ls -a agentstack
1919
# Debug: Try installing packages one at a time
2020
RUN uv pip install --system psutil
2121
RUN uv pip install --system flask
22-
RUN uv pip install --system git+https://github.com/AgentOps-AI/AgentStack.git@deploy-command #install on cloud #cache 1
22+
RUN uv pip install --system git+https://github.com/AgentOps-AI/AgentStack.git@deploy-command #install on cloud #cache 2
2323
RUN #cd agentstack && uv pip install --system .
2424
RUN mkdir -p src
2525
RUN cp /usr/local/lib/python3.12/site-packages/agentstack/serve/serve.py ./src

agentstack/serve/serve.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ def run_project(command: str = 'run', api_args: Optional[Dict[str, str]] = None,
100100
except ValidationError as e:
101101
raise e
102102

103-
inputs.add_input_for_run(**api_inputs)
103+
for key, value in api_inputs.items():
104+
inputs.add_input_for_run(key, value)
104105

105106
load_dotenv(Path.home() / '.env') # load the user's .env file
106107
load_dotenv(conf.PATH / '.env', override=True) # load the project's .env file

0 commit comments

Comments
 (0)