constant

package
v0.5.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package constant defines provider name constants used throughout the switchAILocal. These constants identify different AI service providers and their variants, ensuring consistent naming across the application.

Index

Constants

View Source
const (
	// Gemini represents the Google Gemini provider identifier.
	Gemini = "gemini"

	// GeminiCLI represents the Google Gemini CLI provider identifier.
	GeminiCLI = "geminicli"

	// Codex represents the OpenAI Codex provider identifier.
	Codex = "codex"

	// Claude represents the Anthropic Claude provider identifier.
	Claude = "claude"

	// OpenAI represents the OpenAI provider identifier.
	OpenAI = "openai"

	// OpenaiResponse represents the OpenAI response format identifier.
	OpenaiResponse = "openai-response"

	// Antigravity represents the Antigravity response format identifier.
	Antigravity = "antigravity"

	// ClaudeCLI represents the Anthropic Claude CLI provider identifier.
	ClaudeCLI = "claudecli"

	// VibeCLI represents the Mistral Vibe CLI provider identifier.
	VibeCLI = "vibecli"

	// OpenCode represents the OpenCode provider identifier.
	OpenCode = "opencode"

	// MaxStreamingScannerBuffer is the maximum buffer size for the streaming scanner (1MB).
	MaxStreamingScannerBuffer = 1 * 1024 * 1024
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL