Initializes OpenAI model specifications with pricing, capabilities, and context windows.
// Source: https://github.com/iota-uz/iota-sdk | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. // Package agents provides this package. package agents // OpenAI model specs. Context and pricing from platform.openai.com/docs/models. // ProviderOpenAI is the provider identifier for OpenAI; use it with LookupModelSpec and DefaultModelForProvider. const ProviderOpenAI = "openai" // DefaultOpenAIModelSnapshot is the pinned OpenAI default. Currently // "gpt-6.0-sol" — replace with a dated snapshot (e.g. "gpt-6.0-YYYY-MM-DD") // once OpenAI publishes one to immunize against floating-alias rollovers. const DefaultOpenAIModelSnapshot = "gpt-6.0-sol" var ( // SpecGPT60Sol is the canoni ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key