Letta · Schema

GoogleAIModelSettings

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
max_output_tokens integer The maximum number of tokens the model can generate.
parallel_tool_calls boolean Whether to enable parallel tool calling.
provider_type string The type of the provider.
temperature number The temperature of the model.
thinking_config object The thinking configuration for the model.
response_schema object The response schema for the model.
View JSON Schema on GitHub

JSON Schema

letta-googleaimodelsettings-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GoogleAIModelSettings",
  "title": "GoogleAIModelSettings",
  "properties": {
    "max_output_tokens": {
      "type": "integer",
      "title": "Max Output Tokens",
      "description": "The maximum number of tokens the model can generate.",
      "default": 65536
    },
    "parallel_tool_calls": {
      "type": "boolean",
      "title": "Parallel Tool Calls",
      "description": "Whether to enable parallel tool calling.",
      "default": true
    },
    "provider_type": {
      "type": "string",
      "const": "google_ai",
      "title": "Provider Type",
      "description": "The type of the provider.",
      "default": "google_ai"
    },
    "temperature": {
      "type": "number",
      "title": "Temperature",
      "description": "The temperature of the model.",
      "default": 0.7
    },
    "thinking_config": {
      "$ref": "#/components/schemas/GeminiThinkingConfig",
      "description": "The thinking configuration for the model.",
      "default": {
        "include_thoughts": true,
        "thinking_budget": 1024
      }
    },
    "response_schema": {
      "anyOf": [
        {
          "oneOf": [
            {
              "$ref": "#/components/schemas/TextResponseFormat"
            },
            {
              "$ref": "#/components/schemas/JsonSchemaResponseFormat"
            },
            {
              "$ref": "#/components/schemas/JsonObjectResponseFormat"
            }
          ],
          "discriminator": {
            "propertyName": "type",
            "mapping": {
              "json_object": "#/components/schemas/JsonObjectResponseFormat",
              "json_schema": "#/components/schemas/JsonSchemaResponseFormat",
              "text": "#/components/schemas/TextResponseFormat"
            }
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Response Schema",
      "description": "The response schema for the model."
    }
  },
  "type": "object"
}