module

LLM::NativeToolCalling

Constants

DEFAULT_ALLOWLIST = ["openai", "xai", "github"]
KNOWN_PROVIDERS = ["openai", "xai", "github", "azure", "ollama", "vllm", "lmstudio"]

Providers for which native tool-calling is actually wired up. Used to validate --ai-native-tools-allowlist so a typo (e.g. opena) surfaces a warning instead of silently never matching.

Class methods

canonical_provider(provider : String) : String
Source
default_allowlist
Source
default_allowlist_csv
Source
known_provider?(provider : String) : Bool
Source
normalize_allowlist(allowlist : Array(String) | Nil = nil) : Array(String)
Source