Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/internal/openai/usecase/openai.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func (u *OpenAIUsecase) GetConfig(ctx context.Context, req *domain.ConfigReq) (*
"ask": m.ID.String(),
"debug": m.ID.String(),
"deepresearch": m.ID.String(),
"orchestrator": m.ID.String(),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在添加新模型配置时,需要确保所有相关的模型类型都在系统中正确注册和处理。请确认"orchestrator"模型是否已经在其他相关模块中被正确支持,例如模型管理、API路由等。

Suggested change
"orchestrator": m.ID.String(),
// 确保orchestrator模型在其他模块中也被正确注册和处理
// 可能需要检查:
// 1. 模型管理模块是否支持该模型类型
// 2. API路由是否能正确处理该模型的请求
// 3. 是否需要在数据库中添加相应的模型记录

}
}
config.ProviderProfiles.ApiConfigs[m.ShowName] = domain.ApiConfig{
Expand Down
Loading