Merge branch 'fix/openrouter-reasoning'

This commit is contained in:
Laisky.Cai
2025-02-19 01:32:51 +00:00
5 changed files with 102 additions and 92 deletions

View File

@@ -70,7 +70,9 @@ type GeneralOpenAIRequest struct {
// Others
Instruction string `json:"instruction,omitempty"`
NumCtx int `json:"num_ctx,omitempty"`
// -------------------------------------
// Openrouter
// -------------------------------------
Provider *openrouter.RequestProvider `json:"provider,omitempty"`
IncludeReasoning *bool `json:"include_reasoning,omitempty"`
}