Replies: 1 comment
-
|
@westey-m any thoughts here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am using the OpenAiClient.AsIChatClient().AsAIAgent().RunAsync() pipeline.
I may be missing a configuration option, but while inspecting the requests sent to the LLM, I noticed that previous reasoning content is not included in subsequent requests.
As a result, after each tool call the agent appears to restart its reasoning process from scratch instead of continuing from the previous reasoning context. This breaks agent loops that rely on maintaining a continuous thought process across tool calls.
Is there currently an option to preserve and forward reasoning content automatically through the agent pipeline?
If not, could this be supported by default? Ideally, the framework should handle TextReasoningContent correctly when constructing the next model request, rather than requiring users to manually convert reasoning content into generic TextContent and inject it back into history.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions