Skip to content

Conversation

@LianShuQuan
Copy link
Contributor

@LianShuQuan LianShuQuan commented Nov 4, 2025

AgentExecutionEngine.get_model_response() should return ModelOutput instead of response text.

Response text was already converted to ModelOutput in rollout_engines, so no need to get ModelOutput.text and re-parse it in agent.update_from_model

Added tool definitions after sys prompt in agent.reset() like ToolAgent did.

Also, I noticed that kwargs["tools"] was never passed to rollout_engine -> parser, so I added a entry point agent.get_tools_for_rollout_engine(). Developers can choose to impl get_tools_for_rollout_engine, then parser will add tool definitions after sys prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant