package conversion

// TargetProvider 目标上游供应商信息
type TargetProvider struct {
	BaseURL       string         `json:"base_url"`
	APIKey        string         `json:"api_key"`
	ModelName     string         `json:"model_name"`
	AdapterConfig map[string]any `json:"adapter_config,omitempty"`
}

// NewTargetProvider 创建目标供应商
func NewTargetProvider(baseURL, apiKey, modelName string) *TargetProvider {
	return &TargetProvider{
		BaseURL:       baseURL,
		APIKey:        apiKey,
		ModelName:     modelName,
		AdapterConfig: make(map[string]any),
	}
}
