changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "DiscoveredModelPricing": {
+ "description": "Provider-advertised list prices in USD per million tokens, as exact decimal strings. Present only when the provider publishes pricing in its model catalog (OpenRouter). Cache prices are omitted when the provider does not publish them.",
+ "properties": {
+ "cache_read_input_usd_per_million": {
+ "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "cache_write_input_usd_per_million": {
+ "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "input_usd_per_million": {
+ "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "output_usd_per_million": {
+ "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "input_usd_per_million",
+ "output_usd_per_million"
+ ],
+ "type": "object"
+ },
+ "DiscoveredProviderModel": {
+ "properties": {
+ "context_window_tokens": {
+ "description": "Provider-advertised context window limit in tokens, when available.",
+ "maximum": 2147483647,
+ "minimum": 2,
+ "type": "integer"
+ },
+ "display_name": {
+ "type": "string"
+ },
+ "max_output_tokens": {
+ "description": "Provider-advertised maximum output limit in tokens, when available.",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "pricing": {
+ "$ref": "#/$defs/DiscoveredModelPricing"
+ },
+ "slug": {
+ "description": "Provider model slug usable as a configured model's provider_model_slug.",
+ "type": "string"
+ },
+ "supported_reasoning_efforts": {
+ "description": "Reasoning effort values the model accepts, when reported.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "supports_reasoning": {
+ "description": "Whether Omnara can send this model a reasoning effort, when the provider or the public model catalog reports it.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "slug"
+ ],
+ "type": "object"
+ }
+ },
+ "description": "The provider's model catalog, obtained by validating the configured credential and probing the provider's /models endpoint. A failed probe does not affect the stored config; treat it as a warning that the base URL or API key may be invalid.",
+ "properties": {
+ "error": {
+ "description": "Why the probe failed. Present when status is failed.",
+ "type": "string"
+ },
+ "models": {
+ "description": "Models advertised by the provider, newest first, filtered to text-output tool-calling models where the provider exposes enough metadata to tell. Present when status is ok.",
+ "items": {
+ "$ref": "#/$defs/DiscoveredProviderModel"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+}