-
-
Notifications
You must be signed in to change notification settings - Fork 582
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 constant
src/Infrastructure/BotSharp.Abstraction/Agents/Constants/LlmConstant.cs
AgentLlmConfig.cs
Add reasoning effort level property to agent config
src/Infrastructure/BotSharp.Abstraction/Agents/Models/AgentLlmConfig.cs
ReasoningEffortLevel
property with JSON serialization attributesAgentLlmConfigMongoElement.cs
Update MongoDB model for reasoning effort level
src/Plugins/BotSharp.Plugin.MongoStorage/Models/AgentLlmConfigMongoElement.cs
ReasoningEffortLevel
property to MongoDB modelChatCompletionProvider.cs
Implement reasoning effort level parsing and configuration
src/Plugins/BotSharp.Plugin.OpenAI/Providers/Chat/ChatCompletionProvider.cs
ParseReasoningEffortLevel
method with low/medium/highmapping
QdrantDb.cs
Refactor string comparison in sort order logic
src/Plugins/BotSharp.Plugin.Qdrant/QdrantDb.cs
IsEqualTo
method for sort orderDirectory.Packages.props
Downgrade OpenAI package version
Directory.Packages.props