Infrastructure for GPT 4.x model upgrading#1303
Conversation
…tingService. Update AgentPlugin to bind ModelUpgradeMapSettings.
Review Summary by QodoAdd GPT 4.x model upgrade mapping infrastructure
WalkthroughsDescription• Add GPT 4.x model constants for latest OpenAI models • Implement model upgrade mapping infrastructure with configuration support • Add GetUpgradeModel method to enable dynamic model version upgrades • Register ModelUpgradeMapSettings in dependency injection container Diagramflowchart LR
A["Gpt4xModelConstants"] -- "defines" --> B["GPT model versions"]
C["ModelUpgradeMapSettings"] -- "configures" --> D["Model mappings"]
E["ISettingService"] -- "exposes" --> F["GetUpgradeModel method"]
D -- "used by" --> F
G["AgentPlugin"] -- "registers" --> D
F -- "returns" --> B
File Changes1. src/Infrastructure/BotSharp.Abstraction/Models/Gpt4xModelConstants.cs
|
Code Review by Qodo
1. Config bind bypasses settings
|
src/Infrastructure/BotSharp.Core/Infrastructures/SettingService.cs
Outdated
Show resolved
Hide resolved
src/Infrastructure/BotSharp.Core/Infrastructures/SettingService.cs
Outdated
Show resolved
Hide resolved
|
reviewed |
…Case for model name comparison in SettingService.
|
reviewed |
No description provided.