@@ -70,6 +70,7 @@ type providerClientOptions struct {
70 systemMessage string
70 systemMessage string
71 maxTokens int64
71 maxTokens int64
72 extraHeaders map[string]string
72 extraHeaders map[string]string
73+ extraBody map[string]any
73 extraParams map[string]string
74 extraParams map[string]string
@@ -147,6 +148,7 @@ func NewProvider(cfg config.ProviderConfig, opts ...ProviderClientOption) (Provi
147 config: cfg,
148 config: cfg,
148 apiKey: resolvedAPIKey,
149 apiKey: resolvedAPIKey,
149 extraHeaders: cfg.ExtraHeaders,
150 extraHeaders: cfg.ExtraHeaders,
151+ extraBody: cfg.ExtraBody,
150 model: func(tp config.SelectedModelType) provider.Model {
152 model: func(tp config.SelectedModelType) provider.Model {
151 return *config.Get().GetModelByType(tp)
153 return *config.Get().GetModelByType(tp)