channel_settings.go 779 B

12345678910111213141516171819202122
  1. package dto
  2. type ChannelSettings struct {
  3. ForceFormat bool `json:"force_format,omitempty"`
  4. ThinkingToContent bool `json:"thinking_to_content,omitempty"`
  5. Proxy string `json:"proxy"`
  6. PassThroughBodyEnabled bool `json:"pass_through_body_enabled,omitempty"`
  7. SystemPrompt string `json:"system_prompt,omitempty"`
  8. SystemPromptOverride bool `json:"system_prompt_override,omitempty"`
  9. }
  10. type VertexKeyType string
  11. const (
  12. VertexKeyTypeJSON VertexKeyType = "json"
  13. VertexKeyTypeAPIKey VertexKeyType = "api_key"
  14. )
  15. type ChannelOtherSettings struct {
  16. AzureResponsesVersion string `json:"azure_responses_version,omitempty"`
  17. VertexKeyType VertexKeyType `json:"vertex_key_type,omitempty"` // "json" or "api_key"
  18. }