agentscope-ai / agentscope-ai/agentscope-java
Support dynamic model switching during active ReActAgent conversation
オープン
area/core/agent
enhancement
- 主要言語
- Java
- スター
- 5.6k
- フォーク
- 1.3k
- 平均マージ
- 4日 12時間
- マージ済み PR(30日)
- 77
説明
Currently, the ReActAgent is built using the Builder pattern, and the underlying ChatModel appears to be immutable after initialization. In my use case, I need to dynamically switch the underlying LLM model during an active multi-turn conversation.
I have searched through the framework's source code but couldn't find a direct API (like a switchModel() method) to achieve this safely without breaking the agent's internal state.
Any guidance or official recommendation on how to implement this correctly within the current architecture would be highly appreciated. Thank you for your great work on this framework!
コントリビューションガイド
評価
この issue はまだ評価されていません。