-
-
Notifications
You must be signed in to change notification settings - Fork 583
add reasoning effort level #1126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
PR Type
Enhancement
Description
Add reasoning effort level configuration to agent LLM settings
Implement parsing logic for low/medium/high effort levels
Update MongoDB storage to persist reasoning effort level
Downgrade OpenAI package version for compatibility
Diagram Walkthrough
File Walkthrough
LlmConstant.cs
Add default reasoning effort level constantsrc/Infrastructure/BotSharp.Abstraction/Agents/Constants/LlmConstant.cs
AgentLlmConfig.cs
Add reasoning effort level property to agent configsrc/Infrastructure/BotSharp.Abstraction/Agents/Models/AgentLlmConfig.cs
ReasoningEffortLevelproperty with JSON serialization attributesAgentLlmConfigMongoElement.cs
Update MongoDB model for reasoning effort levelsrc/Plugins/BotSharp.Plugin.MongoStorage/Models/AgentLlmConfigMongoElement.cs
ReasoningEffortLevelproperty to MongoDB modelChatCompletionProvider.cs
Implement reasoning effort level parsing and configurationsrc/Plugins/BotSharp.Plugin.OpenAI/Providers/Chat/ChatCompletionProvider.cs
ParseReasoningEffortLevelmethod with low/medium/highmapping
QdrantDb.cs
Refactor string comparison in sort order logicsrc/Plugins/BotSharp.Plugin.Qdrant/QdrantDb.cs
IsEqualTomethod for sort orderDirectory.Packages.props
Downgrade OpenAI package versionDirectory.Packages.props