chore: resolve remaining conflicts and trigger PR refresh
This commit is contained in:
parent
0de60f6933
commit
43473ab916
1 changed files with 1 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ func (p *HTTPProvider) Chat(ctx context.Context, messages []Message, tools []Too
|
|||
}
|
||||
|
||||
// Strip provider prefix from model name (e.g., moonshot/kimi-k2.5 -> kimi-k2.5, groq/openai/gpt-oss-120b -> openai/gpt-oss-120b, ollama/qwen2.5:14b -> qwen2.5:14b)
|
||||
// This helps in correctly identifying the model for providers like NVIDIA NIM.
|
||||
if idx := strings.Index(model, "/"); idx != -1 {
|
||||
prefix := model[:idx]
|
||||
// Don't strip if it's the required namespace for NVIDIA NIM (like moonshotai/)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue