{"owner":"ogx-ai","repo":"ogx","hasSkills":true,"totalSkillsCount":27,"totalTokensCount":54925,"categories":["anthropic-skill","root-instruction","project-spec","claude-rule"],"hasMcp":false,"mcpConfig":null,"found":["docs/docs/references/ogx_client_cli_reference.md","docs/docs/references/ogx_cli_reference/index.md","AGENTS.md","ARCHITECTURE.md","tests/integration/agents/recordings/0b2b172f0f123d1af9ecf059e37e566f53dade988415f9f8578326f41e423cd5.json","tests/integration/agents/recordings/156e7e73dc52adad8ba6a8481adbce15a383633ac951d883cd4f18cd7d66cba9.json","docs/docs/references/python_sdk_reference/migration.md","docs/docs/references/ogx_cli_reference/download_models.md","tests/integration/agents/recordings/339d510b1f11fab08ae8684df5bd52509407c02034a81463c8ac2208b4ce9da2.json","docs/docs/references/python_sdk_reference/index.md","CLAUDE.md","tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json","tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json","tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json","tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json","tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json","tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json","tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json","tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json","tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json","tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json","tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json","tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json","tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json","tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json","tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json","tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json"],"skills":{"docs/docs/references/ogx_client_cli_reference.md":"# llama (client-side) CLI Reference\n\nThe `ogx-client` CLI allows you to query information about the distribution.\n\n## Basic Commands\n\n### `ogx-client`\n\n```bash\nogx-client\nUsage: ogx-client [OPTIONS] COMMAND [ARGS]...\n\n  Welcome to the ogx-client CLI - a command-line interface for\n  interacting with OGX\n\nOptions:\n  --version        Show the version and exit.\n  --endpoint TEXT  OGX distribution endpoint\n  --api-key TEXT   OGX distribution API key\n  --config TEXT    Path to config file\n  --help           Show this message and exit.\n\nCommands:\n  configure          Configure OGX Client CLI.\n  datasets           Manage datasets.\n  eval               Run evaluation tasks.\n  eval_tasks         Manage evaluation tasks.\n  inference          Inference (chat).\n  inspect            Inspect server configuration.\n  models             Manage GenAI models.\n  post_training      Post-training.\n  providers          Manage API providers.\n  scoring_functions  Manage scoring functions.\n```\n\n### `ogx-client configure`\n\nConfigure OGX Client CLI.\n\n```bash\nogx-client configure\n> Enter the host name of the OGX distribution server: localhost\n> Enter the port number of the OGX distribution server: 8321\nDone! You can now use the OGX Client CLI with endpoint http://localhost:8321\n```\n\nOptional arguments:\n\n- `--endpoint`: OGX distribution endpoint\n- `--api-key`: OGX distribution API key\n\n## `ogx-client inspect version`\n\nInspect server configuration.\n\n```bash\nogx-client inspect version\n```\n\n```bash\nVersionInfo(version='0.2.14')\n```\n\n### `ogx-client providers list`\n\nShow available providers on distribution endpoint\n\n```bash\nogx-client providers list\n```\n\n```text\n+-----------+----------------+-----------------+\n| API       | Provider ID    | Provider Type   |\n+===========+================+=================+\n| inference | vllm0          | remote::vllm    |\n+-----------+----------------+-----------------+\n```\n\n### `ogx-client providers inspect`\n\nShow specific provider configuration on distribution endpoint\n\n```bash\nogx-client providers inspect <provider_id>\n```\n\n## Inference\n\nInference (chat).\n\n### `ogx-client inference chat-completion`\n\nShow available inference chat completion endpoints on distribution endpoint\n\n```bash\nogx-client inference chat-completion --message <message> [--stream] [--session] [--model-id]\n```\n\n```bash\nOpenAIChatCompletion(\n    id='chatcmpl-aacd11f3-8899-4ec5-ac5b-e655132f6891',\n    choices=[\n        OpenAIChatCompletionChoice(\n            finish_reason='stop',\n            index=0,\n            message=OpenAIChatCompletionChoiceMessageOpenAIAssistantMessageParam(\n                role='assistant',\n                content='The captain of the whaleship Pequod in Nathaniel Hawthorne\\'s novel \"Moby-Dick\" is Captain\nAhab. He\\'s a vengeful and obsessive old sailor who\\'s determined to hunt down and kill the white sperm whale\nMoby-Dick, whom he\\'s lost his leg to in a previous encounter.',\n                name=None,\n                tool_calls=None,\n                refusal=None,\n                annotations=None,\n                audio=None,\n                function_call=None\n            ),\n            logprobs=None\n        )\n    ],\n    created=1752578797,\n    model='llama3.2:3b-instruct-fp16',\n    object='chat.completion',\n    service_tier=None,\n    system_fingerprint='fp_ollama',\n    usage={\n        'completion_tokens': 67,\n        'prompt_tokens': 33,\n        'total_tokens': 100,\n        'completion_tokens_details': None,\n        'prompt_tokens_details': None\n    }\n)\n```\n\nRequired arguments:\n**Note:** At least one of these parameters is required for chat completion\n\n- `--message`: Message\n- `--session`: Start a Chat Session\n\nOptional arguments:\n\n- `--stream`: Stream\n- `--model-id`: Model ID\n\n## Model Management\n\nManage GenAI models.\n\n### `ogx-client models list`\n\nShow available llama models at distribution endpoint\n\n```bash\nogx-client models list\n```\n\n```text\nAvailable Models\n\n┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━┓\n┃ model_type   ┃ identifier                           ┃ provider_resource_id         ┃ metadata  ┃ provider_id ┃\n┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━┩\n│ llm          │ meta-llama/Llama-3.2-3B-Instruct     │ llama3.2:3b-instruct-fp16    │           │ ollama      │\n└──────────────┴──────────────────────────────────────┴──────────────────────────────┴───────────┴─────────────┘\n\nTotal models: 1\n```\n\n### `ogx-client models get`\n\nShow details of a specific model at the distribution endpoint\n\n```bash\nogx-client models get Llama3.1-8B-Instruct\n```\n\n```text\n+----------------------+----------------------+----------------------------------------------------------+---------------+\n| identifier           | llama_model          | metadata                                                 | provider_id   |\n+======================+======================+==========================================================+===============+\n| Llama3.1-8B-Instruct | Llama3.1-8B-Instruct | {'huggingface_repo': 'meta-llama/Llama-3.1-8B-Instruct'} | vllm0         |\n+----------------------+----------------------+----------------------------------------------------------+---------------+\n```\n\n```bash\nogx-client models get Random-Model\n\nModel RandomModel is not found at distribution endpoint host:port. Please ensure endpoint is serving specified model.\n```\n\n### `ogx-client models register`\n\nRegister a new model at distribution endpoint\n\n```bash\nogx-client models register <model_id> [--provider-id <provider_id>] [--provider-model-id <provider_model_id>] [--metadata <metadata>] [--model-type <model_type>]\n```\n\nRequired arguments:\n\n- `MODEL_ID`: Model ID\n- `--provider-id`: Provider ID for the model\n\nOptional arguments:\n\n- `--provider-model-id`: Provider's model ID\n- `--metadata`: JSON metadata for the model\n- `--model-type`: Model type: `llm`, `embedding`\n\n### `ogx-client models unregister`\n\nUnregister a model from distribution endpoint\n\n```bash\nogx-client models unregister <model_id>\n```\n\n## Eval execution\n\nRun evaluation tasks.\n\n### `ogx-client eval run-benchmark`\n\nRun a evaluation benchmark task\n\n```bash\nogx-client eval run-benchmark <eval-task-id1> [<eval-task-id2> ...] --eval-task-config <config-file> --output-dir <output-dir> --model-id <model-id> [--num-examples <num>] [--visualize] [--repeat-penalty <repeat-penalty>] [--top-p <top-p>] [--max-tokens <max-tokens>]\n```\n\nRequired arguments:\n\n- `--eval-task-config`: Path to the eval task config file in JSON format\n- `--output-dir`: Path to the directory where evaluation results will be saved\n- `--model-id`: model id to run the benchmark eval on\n\nOptional arguments:\n\n- `--num-examples`: Number of examples to evaluate (useful for debugging)\n- `--visualize`: If set, visualizes evaluation results after completion\n- `--repeat-penalty`: repeat-penalty in the sampling params to run generation\n- `--top-p`: top-p in the sampling params to run generation\n- `--max-tokens`: max-tokens in the sampling params to run generation\n- `--temperature`: temperature in the sampling params to run generation\n\nExample benchmark_config.json:\n\n```json\n{\n    \"type\": \"benchmark\",\n    \"eval_candidate\": {\n        \"type\": \"model\",\n        \"model\": \"Llama3.1-405B-Instruct\",\n        \"sampling_params\": {\n            \"strategy\": \"greedy\",\n        }\n    }\n}\n```\n\n### `ogx-client eval run-scoring`\n\nRun scoring from application datasets\n\n```bash\nogx-client eval run-scoring <eval-task-id> --output-dir <output-dir> [--num-examples <num>] [--visualize]\n```\n\nRequired arguments:\n\n- `--output-dir`: Path to the directory where scoring results will be saved\n\nOptional arguments:\n\n- `--num-examples`: Number of examples to evaluate (useful for debugging)\n- `--visualize`: If set, visualizes scoring results after completion\n- `--scoring-params-config`: Path to the scoring params config file in JSON format\n- `--dataset-id`: Pre-registered dataset_id to score (from ogx-client datasets list)\n- `--dataset-path`: Path to the dataset file to score\n\n## Eval Tasks\n\nManage evaluation tasks.\n\n### `ogx-client eval_tasks list`\n\nShow available eval tasks on distribution endpoint\n\n```bash\nogx-client eval_tasks list\n```\n\n### `ogx-client eval_tasks register`\n\nRegister a new eval task\n\n```bash\nogx-client eval_tasks register --eval-task-id <eval-task-id> --dataset-id <dataset-id> --scoring-functions <scoring-functions> [--provider-id <provider-id>] [--provider-eval-task-id <provider-eval-task-id>] [--metadata <metadata>]\n```\n\nRequired arguments:\n\n- `--eval-task-id`: ID of the eval task\n- `--dataset-id`: ID of the dataset to evaluate\n- `--scoring-functions`: Scoring functions to use for evaluation\n\nOptional arguments:\n\n- `--provider-id`: Provider ID for the eval task\n- `--provider-eval-task-id`: Provider's eval task ID\n\n## Datasets Management\n\nManage datasets.\n\n### `ogx-client datasets list`\n\nShow available datasets on distribution endpoint\n\n```bash\nogx-client datasets list\n```\n\n### `ogx-client datasets register`\n\n```bash\nogx-client datasets register --dataset_id <dataset_id> --purpose <purpose> [--url <url] [--dataset-path <dataset-path>] [--dataset-id <dataset-id>] [--metadata <metadata>]\n```\n\nRequired arguments:\n\n- `--dataset_id`: Id of the dataset\n- `--purpose`: Purpose of the dataset\n\nOptional arguments:\n\n- `--metadata`: Metadata of the dataset\n- `--url`: URL of the dataset\n- `--dataset-path`: Local file path to the dataset. If specified, upload dataset via URL\n\n### `ogx-client datasets unregister`\n\nRemove a dataset\n\n```bash\nogx-client datasets unregister <dataset-id>\n```\n\nRequired arguments:\n\n- `DATASET_ID`: Id of the dataset\n\n## Scoring Functions Management\n\nManage scoring functions.\n\n### `ogx-client scoring_functions list`\n\nShow available scoring functions on distribution endpoint\n\n```bash\nogx-client scoring_functions list\n```\n\n```text\n┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓\n┃ identifier                                 ┃ provider_id  ┃ description                                                   ┃ type             ┃\n┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩\n│ basic::docvqa                              │ basic        │ DocVQA Visual Question & Answer scoring function              │ scoring_function │\n│ basic::equality                            │ basic        │ Returns 1.0 if the input is equal to the target, 0.0          │ scoring_function │\n│                                            │              │ otherwise.                                                    │                  │\n└────────────────────────────────────────────┴──────────────┴───────────────────────────────────────────────────────────────┴──────────────────┘\n```\n\n### `ogx-client scoring_functions register`\n\nRegister a new scoring function\n\n```bash\nogx-client scoring_functions register --scoring-fn-id <scoring-fn-id> --description <description> --return-type <return-type> [--provider-id <provider-id>] [--provider-scoring-fn-id <provider-scoring-fn-id>] [--params <params>]\n```\n\nRequired arguments:\n\n- `--scoring-fn-id`: Id of the scoring function\n- `--description`: Description of the scoring function\n- `--return-type`: Return type of the scoring function\n\nOptional arguments:\n\n- `--provider-id`: Provider ID for the scoring function\n- `--provider-scoring-fn-id`: Provider's scoring function ID\n- `--params`: Parameters for the scoring function in JSON format\n\n## Post Training Management\n\nPost-training.\n\n### `ogx-client post_training list`\n\nShow the list of available post training jobs\n\n```bash\nogx-client post_training list\n```\n\n```bash\n[\"job-1\", \"job-2\", \"job-3\"]\n```\n\n### `ogx-client post_training artifacts`\n\nGet the training artifacts of a specific post training job\n\n```bash\nogx-client post_training artifacts --job-uuid <job-uuid>\n```\n\n```bash\nJobArtifactsResponse(checkpoints=[], job_uuid='job-1')\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n\n### `ogx-client post_training supervised_fine_tune`\n\nKick off a supervised fine tune job\n\n```bash\nogx-client post_training supervised_fine_tune --job-uuid <job-uuid> --model <model> --algorithm-config <algorithm-config> --training-config <training-config> [--checkpoint-dir <checkpoint-dir>]\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n- `--model`: Model ID\n- `--algorithm-config`: Algorithm Config\n- `--training-config`: Training Config\n\nOptional arguments:\n\n- `--checkpoint-dir`: Checkpoint Config\n\n### `ogx-client post_training status`\n\nShow the status of a specific post training job\n\n```bash\nogx-client post_training status --job-uuid <job-uuid>\n```\n\n```bash\nJobStatusResponse(\n    checkpoints=[],\n    job_uuid='job-1',\n    status='completed',\n    completed_at=\"\",\n    resources_allocated=\"\",\n    scheduled_at=\"\",\n    started_at=\"\"\n)\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n\n### `ogx-client post_training cancel`\n\nCancel the training job\n\n```bash\nogx-client post_training cancel --job-uuid <job-uuid>\n```\n\n```bash\n# This functionality is not yet implemented for ogx-client\n╭────────────────────────────────────────────────────────────╮\n│ Failed to post_training cancel_training_job                │\n│                                                            │\n│ Error Type: InternalServerError                            │\n│ Details: Error code: 501 - {'detail': 'Not implemented: '} │\n╰────────────────────────────────────────────────────────────╯\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n","docs/docs/references/ogx_cli_reference/index.md":"# llama (server-side) CLI Reference\n\nThe `ogx` CLI tool helps you set up and use the OGX. The CLI is available on your path after installing the `ogx` package.\n\n## Installation\n\nYou have two ways to install OGX:\n\n1. **Install as a package**:\n   You can install the repository directly from [PyPI](https://pypi.org/project/ogx/) by running the following command:\n\n   ```bash\n   pip install ogx\n   ```\n\n2. **Install from source**:\n   If you prefer to install from the source code, follow these steps:\n\n   ```bash\n    mkdir -p ~/local\n    cd ~/local\n    git clone git@github.com:ogx-ai/ogx.git\n\n    uv venv myenv --python 3.13\n    source myenv/bin/activate  # On Windows: myenv\\Scripts\\activate\n\n    cd ogx\n    pip install -e .\n   ```\n\n## `ogx` subcommands\n\n1. `stack`: Allows you to build a stack using the `ogx` distribution and run a OGX server. You can read more about how to build a OGX distribution in the [Build your own Distribution](/docs/distributions/building_distro) documentation.\n2. `connect`: Connect third-party tools to the running OGX server. Supports [`claude`](/docs/building_applications/claude_code_integration), [`opencode`](/docs/building_applications/opencode_integration), and [`codex`](/docs/building_applications/codex_cli_integration).\n\nFor downloading models, we recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli). See [Downloading models](#downloading-models) for more information.\n\n### Sample Usage\n\n```bash\nllama --help\n```\n\n```text\nusage: ogx [-h] {stack,connect} ...\n\nWelcome to the OGX CLI\n\noptions:\n  -h, --help      show this help message and exit\n\nsubcommands:\n  {stack,connect}\n\n  stack                 Operations for the OGX / Distributions\n  connect               Connect third-party tools to the running OGX server\n```\n\n## Downloading models\n\nYou first need to have models downloaded locally. We recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) to download models.\n\nFirst, install the Hugging Face CLI:\n\n```bash\npip install huggingface_hub[cli]\n```\n\nThen authenticate and download models:\n\n```bash\n# Authenticate with Hugging Face\nhuggingface-cli login\n\n# Download a model\nhuggingface-cli download meta-llama/Llama-3.2-3B-Instruct --local-dir ~/.ogx/Llama-3.2-3B-Instruct\n```\n\n## List the downloaded models\n\nTo list the downloaded models, you can use the Hugging Face CLI:\n\n```bash\n# List all downloaded models in your local cache\nhuggingface-cli scan-cache\n```\n","AGENTS.md":"# Agent Guidelines for OGX\n\nThis file provides guidance for AI coding agents working on this codebase.\nIt complements [CONTRIBUTING.md](CONTRIBUTING.md) with agent-specific instructions.\nHuman contributors should follow the conventions in CONTRIBUTING.md.\n\n## Project Overview\n\nOGX is an API server implementing the OpenAI Responses API, Chat Completions,\nEmbeddings, and supporting APIs (files, vector stores, batches, eval, and responses guardrails). It supports\nmultiple inference backends (OpenAI, Azure, Bedrock, vLLM, Ollama, WatsonX, etc.) through\na provider architecture.\n\n## Repository Layout\n\n```text\nsrc/ogx/              # Server implementation\n  core/                       # Request routing, server, storage\n  providers/\n    inline/                   # Built-in providers (responses, eval, vector_io, etc.)\n    remote/                   # Remote provider adapters (OpenAI, Azure, vLLM, etc.)\n    registry/                 # Provider registration specs\n    utils/                    # Shared provider utilities (OpenAI mixin, MCP, etc.)\n  distributions/              # Distribution configs (starter, ci-tests, etc.)\nsrc/ogx_api/          # API definitions, Pydantic models, FastAPI routes\ntests/\n  unit/                       # Unit tests\n  integration/                # Integration tests with recording/replay system\n```\n\n## Python & Tooling\n\n- **Python 3.13 or 3.14** is required. Pre-commit hooks run on 3.14 (see `.pre-commit-config.yaml`).\n- Use `uv` for all dependency management and script execution.\n- Run scripts with `uv run`, never bare `python3` or `python`.\n- Use standard library modules when possible.\n- All function signatures must have type hints. Prefer Pydantic models for validation.\n- Code must pass `mypy`. Check the exclude list in `pyproject.toml` for known exceptions.\n- Use `def _function_name` for private functions.\n- Prefer explicit top-level imports over inline imports.\n- Do not use exceptions as control flow.\n\n## Code Style\n\n- Comments must add value. Do not write filler comments that describe the next line.\n- Add comments only to clarify surprising behavior that is not obvious from the code.\n- Good variable naming and clear code organization matters more than comments.\n- Do NOT remove existing comments unless they are factually wrong.\n- Error messages must be prefixed with \"Failed to ...\".\n- Use structured logging via `from ogx.log import get_logger`. Always use\n  key-value style: `logger.info(\"Processing request\", model=model_id, provider=provider)`\n  instead of f-strings or %-style formatting. The pre-commit hook\n  `Block f-string logging` enforces this.\n- The pre-commit hook `Ensure 'ogx.log' usage for logging` enforces that all\n  logging uses the project's logger, not the standard library directly.\n- Use `httpx2` for all HTTP client code. The pre-commit hook\n  `Block direct httpx imports (use httpx2)` rejects `import httpx` /\n  `from httpx import` unless the line is marked `# allow-direct-httpx`.\n  The marked exceptions are deliberate boundaries: the google-genai\n  client option (vertexai/utils.py), the mcp 1.x SDK (utils/tools/mcp.py),\n  the generated client-SDK boundary (library_client.py, api_recorder.py),\n  and the dual exception mapping (core/exceptions/mapping.py).\n\n## Git Conventions\n\n- Always use `--signoff` (`-s`) when creating commits.\n- Do not amend commits and force push during PR review. Use new commits instead.\n- Use `git merge main` to update branches, not `git rebase`.\n- Commit messages must use [conventional commits](https://www.conventionalcommits.org/)\n  format and full sentences, not bullet points.\n- Merge `upstream/main` before pushing a branch to avoid CI failures from stale code.\n\n## Testing\n\n- Unit tests: `./scripts/unit-tests.sh` or `uv run pytest tests/unit/ -x --tb=short`\n- Run pre-commit checks: `uv run pre-commit run --all-files`\n\n### Integration Tests\n\nIntegration tests use a recording/replay system. Recordings are JSON files in\n`tests/integration/*/recordings/` keyed by SHA256 hashes of HTTP request bodies.\nWhen modifying code that changes request bodies sent to providers, recordings may\nneed to be re-recorded.\n\nRun integration tests via the CI script (same command used in GitHub Actions):\n\n```bash\n# Replay mode (default) — uses pre-recorded responses, no API keys needed\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt \\\n  --file tests/integration/responses/test_compact_responses.py\n\n# Re-record missing recordings (requires API keys, e.g. OPENAI_API_KEY)\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt \\\n  --inference-mode record-if-missing \\\n  --file tests/integration/responses/test_compact_responses.py\n\n# Run a full suite\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt --suite responses\n```\n\nKey flags: `--stack-config` (required), `--setup` (`gpt`, `ollama`, `vllm`),\n`--inference-mode` (`replay`, `record`, `record-if-missing`), `--file` (single file),\n`--pattern` (pytest `-k` filter), `--suite` (`base`, `responses`, `vision`),\n`--install-deps` (install missing provider dependencies before running tests),\n`--client-version` (`latest` generates and installs the in-repo ogx-client from\n`client-sdks/openapi`, `published` verifies the uv.lock-resolved PyPI version).\n\nThe runner preflights the provider dependencies for the stack config — the\nsame `ogx stack list-deps <config> | xargs -L1 uv pip install` step CI runs —\nand fails early with the exact install command when any are missing. Pass\n`--install-deps` to install them automatically (this is what CI does).\n\nIf a test fails in replay mode with \"Recording not found\", re-run with\n`--inference-mode record-if-missing` and commit the new recording files.\nRecording locally requires an API key for the provider under test (e.g.\n`OPENAI_API_KEY` for `--setup gpt`). If you do not have a key, repository\nmaintainers can trigger the record workflow on GitHub via\n`.github/workflows/record-integration-tests.yml`.\n\n## Provider Architecture\n\nEach provider implements a protocol (e.g., `Inference`, `Responses`, `VectorIO`) and is\nregistered in `src/ogx/providers/registry/`. Provider specs include:\n\n- `provider_type`: e.g., `remote::openai`, `inline::builtin`\n- `module`: Python module path\n- `config_class`: Pydantic config class path\n- `api_dependencies`: APIs this provider depends on\n- `deprecation_warning`: For deprecated providers (triggers runtime warning)\n\nConfiguration classes must use Pydantic `Field` with `description` parameters —\nthese generate the provider documentation automatically.\n\n## Distribution Configs\n\nDistribution YAML files in `src/ogx/distributions/` are partially auto-generated.\nAfter changing provider configs, run:\n\n```bash\nuv run ./scripts/distro_codegen.py\nuv run ./scripts/provider_codegen.py\n```\n\nDo not edit generated files in `docs/docs/providers/` manually.\n\n## API Changes\n\nWhen modifying or extending APIs:\n\n1. Update models in `src/ogx_api/`\n2. Regenerate OpenAPI specs: `uv run ./scripts/run_openapi_generator.sh`\n3. Check for breaking changes — the pre-commit hook `Check API spec for breaking changes`\n   enforces backward compatibility.\n4. Include a test plan with a testing script and execution output in your PR description.\n\nThe full stability contract — HTTP API levels (`/v1alpha`, `/v1beta`, `/v1`),\nthe two `ogx-api` package surfaces (`ogx_api.types`, `ogx_api.provider`),\nconfig schema rules, and the data storage compatibility guarantees across\nZ/Y/X-stream upgrades — is documented in\n[`docs/docs/concepts/apis/api_leveling.mdx`](docs/docs/concepts/apis/api_leveling.mdx).\nRead it before adding a new API, graduating an API between levels, removing\nor renaming a field on a `v1` datatype, or changing on-disk storage schemas.\n\n## Common Patterns\n\n### Adding a new parameter to an existing API\n\n1. Add the field to the Pydantic model in `src/ogx_api/`\n2. Thread it through the provider protocol and implementation\n3. Update affected distribution configs if needed\n4. Regenerate specs and docs\n5. Add unit test cases covering the new parameter\n\n### Adding a deprecated alias for a renamed provider\n\nUse the existing `deprecation_warning` field on `InlineProviderSpec` or `RemoteProviderSpec`.\nSearch for existing examples: `grep -r \"deprecation_warning\" src/ogx/providers/registry/`\n\n### Before adding any new pattern\n\nSearch the codebase for existing examples of the same pattern first.\nUse `grep` to find how deprecation, validation, configuration, or aliasing is already\nhandled elsewhere.\n\n## Keeping Documentation Up to Date\n\nWhen making code changes, check whether the following documentation needs updating:\n\n- `README.md` — the root README contains an ASCII architecture diagram showing API\n  endpoints, inference providers, vector stores, tools/connectors, and file storage.\n  Update it when adding or removing providers, APIs, or backend integrations.\n- `ARCHITECTURE.md` — system overview, request flow, provider architecture, API layer,\n  storage, configuration, and test recording system\n- Module-level `README.md` files in key directories:\n  - `src/ogx/README.md`, `src/ogx/core/README.md`\n  - `src/ogx/core/server/README.md`, `src/ogx/core/storage/README.md`\n  - `src/ogx/core/routing_tables/README.md`\n  - `src/ogx/providers/README.md`, `src/ogx/providers/inline/README.md`\n  - `src/ogx/providers/remote/README.md`, `src/ogx/providers/registry/README.md`\n  - `src/ogx/providers/utils/README.md`, `src/ogx/providers/utils/inference/README.md`\n  - `src/ogx/providers/inline/agents/README.md`\n  - `src/ogx/providers/remote/inference/README.md`\n  - `src/ogx/distributions/README.md`\n  - `scripts/README.md`\n- `tests/README.md`, `tests/unit/README.md`, `tests/integration/README.md`\n\nThese files help LLMs and new contributors navigate the codebase. If your change\nadds, removes, or renames modules, providers, APIs, or storage backends, update\nthe relevant documentation to stay in sync.\n","ARCHITECTURE.md":"# OGX Architecture\n\nThis document describes the internal architecture of OGX for contributors and AI agents working with the codebase. For user-facing documentation, see [ogx-ai.github.io](https://ogx-ai.github.io/). For contribution guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## System Overview\n\nOGX is a server that exposes a unified API for AI capabilities: inference, responses orchestration, vector storage, tool execution, evaluation, and more. It is provider-agnostic: the same API works whether the backend is Ollama, OpenAI, vLLM, Fireworks, or dozens of other services.\n\nThe codebase is split into two packages:\n\n- **`ogx-api`** (`src/ogx_api/`) -- Lightweight package containing API protocol definitions (Python `Protocol` classes), Pydantic data types, and provider spec definitions. No server code, no provider implementations. Third-party providers depend only on this.\n- **`ogx`** (`src/ogx/`) -- The server implementation: provider resolution, routing, storage, CLI, and all built-in providers.\n- **`ogx-ui`** (`src/ogx_ui/`) -- Optional web UI for the chat playground and admin. Built with Next.js.\n\n## Request Flow\n\n```text\nClient (ogx-client SDK or raw HTTP)\n  |\n  v\nFastAPI Server  (src/ogx/core/server/server.py)\n  |\n  |-- AuthenticationMiddleware  (token validation, user + tenant_id extraction)\n  |-- TenancyMiddleware         (enforces tenancy mode: disabled/single/multi)\n  |-- RouteAuthorizationMiddleware  (route-level access policies)\n  |\n  v\nRoute Dispatch\n  |\n  |-- FastAPI Router routes     (auto-discovered via fastapi_router_registry.py)\n  |\n  v\nRouter  (src/ogx/core/routers/)\n  |\n  |-- Looks up the resource (model, vector store, tool group, etc.) in the RoutingTable\n  |-- Resolves which provider handles this resource\n  |-- Enforces access control policies\n  |\n  v\nProvider Implementation\n  |\n  |-- Inline provider (runs in-process, e.g. meta-reference, sqlite-vec)\n  |-- Remote provider (calls external service, e.g. ollama, openai, fireworks)\n  |\n  v\nExternal Service or Local Computation\n```\n\n### Detailed Flow Example: Chat Completion\n\n1. Client sends `POST /v1/chat/completions` with `model: \"ollama/qwen3.5:0.8b\"`.\n2. `server.py` dispatches to the inference FastAPI router.\n3. The `InferenceRouter` (`core/routers/inference.py`) calls `routing_table.get_provider_impl(model_id)`.\n4. `CommonRoutingTableImpl` looks up the model in `DistributionRegistry`, finds it belongs to provider `ollama`.\n5. The router delegates to the `ollama` provider's `openai_chat_completion()` method.\n6. The Ollama provider (which extends `OpenAIMixin`) creates an `AsyncOpenAI` client pointing at the Ollama server and forwards the request.\n7. The response streams back through the router to the client as SSE events.\n\n## Provider Architecture\n\n### Provider Types\n\n```text\nProvider\n  |\n  |-- InlineProviderSpec    (runs in-process)\n  |     provider_type: \"inline::builtin\"\n  |     module: \"ogx.providers.inline.inference.builtin\"\n  |\n  |-- RemoteProviderSpec    (adapts an external service)\n        provider_type: \"remote::ollama\"\n        module: \"ogx.providers.remote.inference.ollama\"\n```\n\nEach provider spec declares:\n\n- `api` -- which API it implements (e.g., `Api.inference`)\n- `provider_type` -- unique identifier like `\"remote::openai\"`\n- `module` -- Python module with a `get_adapter_impl()` or `get_provider_impl()` function\n- `config_class` -- Pydantic config model for the provider\n- `pip_packages` -- additional dependencies needed at runtime\n\n### Provider Registry\n\n`src/ogx/providers/registry/` contains one file per API (e.g., `inference.py`, `responses.py`). Each file defines an `available_providers()` function that returns all `ProviderSpec` objects for that API. The registry is loaded at startup by `get_provider_registry()` in `core/distribution.py`.\n\n### Provider Resolution\n\nAt startup, `resolve_impls()` in `core/resolver.py`:\n\n1. **Validates** providers declared in the run config against the registry.\n2. **Sorts** providers by dependency order (e.g., agents depends on inference).\n3. **Instantiates** each provider by importing its module and calling its factory function.\n4. **Sets up auto-routing**: for APIs like inference, creates a `RoutingTable` + `Router` pair so multiple providers can serve different models through the same API.\n\n### Auto-Routing\n\nMany APIs use automatic routing. For example, `Api.inference` is paired with `Api.models`:\n\n```text\nApi.models (RoutingTable)  <-->  Api.inference (Router)\n  |                                |\n  |-- ModelsRoutingTable           |-- InferenceRouter\n  |   tracks which provider        |   delegates to correct\n  |   owns which model             |   provider per request\n```\n\nThe full list of auto-routed pairs is defined in `builtin_automatically_routed_apis()` in `core/distribution.py`:\n\n| Routing Table API      | Router API         |\n|------------------------|--------------------|\n| `Api.models`           | `Api.inference`    |\n| `Api.vector_stores`    | `Api.vector_io`    |\n| `Api.web_search_providers` | `Api.web_search` |\n\n## The API Layer (`ogx_api`)\n\nThe `ogx_api` package defines all public-facing types and protocols:\n\n- **Protocols** -- Python `Protocol` classes like `Inference`, `Responses`, `Skills` that define the API contract. HTTP routes are defined via FastAPI routers in `fastapi_routes.py` modules.\n- **Data Types** -- Pydantic models for requests, responses, and resources (e.g., `Model`, `VectorStore`, `ChatCompletionRequest`).\n- **Provider Specs** -- `InlineProviderSpec`, `RemoteProviderSpec`, and related types that define how providers are declared.\n- **Internal utilities** -- KVStore and SqlStore abstract interfaces live here so third-party providers can use them without depending on the full server.\n\nProvider implementations import from `ogx_api` for type definitions and from `ogx.providers.utils` for shared functionality.\n\n## Storage\n\n### Storage Configuration\n\nStorage is configured in the `storage` section of the run config (`StackConfig.storage`). It defines backend references that providers and core services use:\n\n```yaml\nstorage:\n  type: sqlite\n  db_path: ${env.SQLITE_STORE_DIR}/registry.db\n  stores:\n    kvstore:\n      type: kv_sqlite\n      db_path: ${env.SQLITE_STORE_DIR}/kvstore.db\n    inference:\n      type: sql_sqlite\n      db_path: ${env.SQLITE_STORE_DIR}/inference_store.db\n```\n\n### KVStore\n\n`src/ogx/core/storage/kvstore/` provides a key-value store abstraction (`KVStore`) with backends:\n\n| Backend   | Config Class             | Use Case               |\n|-----------|--------------------------|------------------------|\n| SQLite    | `SqliteKVStoreConfig`    | Default, single-node   |\n| Redis     | `RedisKVStoreConfig`     | Multi-node, caching    |\n| PostgreSQL| `PostgresKVStoreConfig`  | Production deployments |\n| MongoDB   | `MongoDBKVStoreConfig`   | Document-oriented      |\n\nUsed by: distribution registry, quota tracking, provider state, skills metadata.\n\n### SqlStore\n\n`src/ogx/core/storage/sqlstore/` provides a SQL store abstraction (`SqlStore`) with SQLAlchemy backends:\n\n| Backend    | Config Class             | Use Case               |\n|------------|--------------------------|------------------------|\n| SQLite     | `SqliteSqlStoreConfig`   | Default, single-node   |\n| PostgreSQL | `PostgresSqlStoreConfig` | Production deployments |\n\nUsed by: inference store (chat completion logs), conversations, prompts.\n\n### AuthorizedSqlStore and Tenant Isolation\n\n`AuthorizedSqlStore` wraps a `SqlStore` and adds two independent enforcement layers:\n\n1. **Tenant isolation** -- a non-bypassable `WHERE tenant_id = ?` filter applied before any access control check. When tenancy is enabled (`single` or `multi` mode), every table gets a `tenant_id` column. Writes stamp the authenticated user's tenant_id; reads and mutations are scoped to it. Missing tenant context in `multi` mode produces a `1=0` clause (default deny -- see nothing).\n\n2. **ABAC (Attribute-Based Access Control)** -- `owner_principal` and `access_attributes` columns enable policy-based rules like `user is owner`. This operates within a tenant, not across tenants.\n\nTenancy mode is set process-wide during `Stack.initialize()` via `set_default_tenancy_mode()`, so existing call sites using the `authorized_sqlstore()` factory work without changes.\n\n### Distribution Registry\n\n`src/ogx/core/store/` implements `DistributionRegistry`, which tracks all registered resources (models, vector stores, tool groups, prompts, etc.) across providers. It persists to the configured KVStore so resources survive server restarts.\n\n## Configuration\n\n### Run Config (`StackConfig`)\n\nA YAML file that defines everything about a running OGX instance:\n\n```yaml\nversion: 2\ndistro_name: starter\napis:\n  - inference\n  - responses\n  - vector_io\n  # ...\nproviders:\n  inference:\n    - provider_id: ollama\n      provider_type: remote::ollama\n      config:\n        base_url: ${env.OLLAMA_URL:=http://localhost:11434/v1}\nstorage:\n  type: sqlite\n  db_path: ...\n```\n\nKey features:\n\n- **Environment variable substitution**: `${env.VAR_NAME:=default}` syntax for config values.\n- **Conditional providers**: `${env.API_KEY:+provider_id}` syntax enables a provider only when a variable is set.\n- **Multiple providers per API**: e.g., both `ollama` and `openai` can serve inference, each handling different models.\n- **Explicit HTTP surface**: `apis:` lists the APIs served over HTTP. An explicit list is\n  authoritative, including when it is empty; omitting the key serves everything the\n  providers supply. It gates route registration only — omitted APIs are still resolved\n  in-process for providers that depend on them. The stack administration APIs (`admin`,\n  `inspect`, `providers`) are always served, and serving `responses` also serves\n  `conversations` and `prompts`.\n\n### Distributions\n\nA distribution is a pre-built configuration that bundles specific providers for a target environment. Think of it like Kubernetes distributions (AKS, EKS, GKE): the core API stays the same, but each distribution wires different backends. `src/ogx/distributions/` contains these configurations (e.g., `starter`, `nvidia`). Each distribution directory has:\n\n- `config.yaml` -- the run config\n- Templates and codegen support via `template.py`\n\n### Build Config\n\nUsed by `ogx build` to create container images. Declares which providers to include and what packages to install. Versioned separately from the run config.\n\n## Recording and Replay Test System\n\nIntegration tests use a record/replay system (`src/ogx/testing/api_recorder.py`) that intercepts OpenAI client calls to record real API responses, then replays them for fast, deterministic CI runs.\n\n### How It Works\n\n1. **Recording**: Tests run against a real server. The `APIRecorder` monkey-patches `OpenAI` client methods to capture every request/response pair. Responses are stored as JSON files under `tests/integration/recordings/`.\n\n2. **Replay**: In CI, tests run in replay mode. The recorder matches incoming requests to stored responses by hashing the request parameters, returning cached responses instead of making real API calls.\n\n3. **Modes** (controlled by `--inference-mode` or `OGX_TEST_INFERENCE_MODE`):\n   - `replay` (default) -- use cached responses\n   - `record` -- force-record all interactions\n   - `record-if-missing` -- record only when no cached response exists\n   - `live` -- bypass recording entirely, make real calls\n\n4. **Deterministic IDs**: The recorder overrides ID generation (`set_id_override()`) during replay so that resource IDs (files, vector stores, etc.) are reproducible across runs.\n\n### Recording Storage\n\nRecordings live in `tests/integration/recordings/` organized by provider and test. Each recording is a JSON file containing the serialized request parameters and response. An SQLite index maps requests to response files.\n\nFor more details, see `tests/README.md` and `tests/integration/README.md`.\n\n## Key Classes and Entry Points\n\n| Component | Location | Purpose |\n|-----------|----------|---------|\n| `OGX` | `core/stack.py` | Composite class implementing all API protocols |\n| `Stack` | `core/stack.py` | Initialization, resource registration, lifecycle |\n| `StackApp` | `core/server/server.py` | FastAPI app wrapper |\n| `resolve_impls()` | `core/resolver.py` | Provider instantiation and dependency resolution |\n| `CommonRoutingTableImpl` | `core/routing_tables/common.py` | Base routing table for all auto-routed APIs |\n| `InferenceRouter` | `core/routers/inference.py` | Routes inference calls to correct provider |\n| `OpenAIMixin` | `providers/utils/inference/openai_mixin.py` | Shared OpenAI-compatible client logic |\n| `get_provider_registry()` | `core/distribution.py` | Loads all available provider specs |\n| `APIRecorder` | `testing/api_recorder.py` | Record/replay test infrastructure |\n\n## Directory Map\n\n```text\nsrc/\n  ogx_api/          # API definitions package (separate pip package)\n    inference/              # Inference protocol, models, FastAPI routes\n    responses/              # Responses API protocol and routes\n    datatypes.py            # Shared data types\n    providers/              # Provider spec types\n    internal/               # KVStore/SqlStore interfaces\n  ogx/              # Server implementation\n    core/\n      server/               # FastAPI server, auth, routing\n      routers/              # API-specific routers (inference, responses, etc.)\n      routing_tables/       # Resource-to-provider mapping\n      storage/              # KVStore and SqlStore backends\n      store/                # Distribution registry\n      resolver.py           # Provider resolution engine\n      distribution.py       # Provider registry loading\n      stack.py              # Stack initialization and lifecycle\n    providers/\n      inline/               # In-process provider implementations\n      remote/               # Remote service adapters\n      registry/             # Provider spec declarations\n      utils/                # Shared provider utilities\n    distributions/          # Pre-built distribution configs\n    cli/                    # CLI commands (ogx stack run, build, etc.)\n    testing/                # Test infrastructure (api_recorder)\ntests/\n  unit/                     # Fast, isolated tests\n  integration/              # End-to-end tests with record/replay\n    recordings/             # Cached API responses\n```\n","tests/integration/agents/recordings/0b2b172f0f123d1af9ecf059e37e566f53dade988415f9f8578326f41e423cd5.json":"{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_function_call_output_response_with_none_arguments[txt=ollama/qwen3.5:0.8b]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"what's the current time? You MUST call the `get_current_time` function to find out.\"\n        }\n      ],\n      \"parallel_tool_calls\": true,\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      },\n      \"tools\": [\n        {\n          \"type\": \"function\",\n          \"function\": {\n            \"type\": \"function\",\n            \"name\": \"get_current_time\",\n            \"description\": \"Get the current time\",\n            \"parameters\": {}\n          }\n        }\n      ]\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.31.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" current\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" time\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" need\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" use\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_current\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_time\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" as\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" instructed\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" This\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" direct\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" request\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" that\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" doesn\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"'t\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" require\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" any\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" additional\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" parameters\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" or\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" tools\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": [\n                  {\n                    \"index\": 0,\n                    \"id\": \"call_abpvebbz\",\n                    \"function\": {\n                      \"arguments\": \"{}\",\n                      \"name\": \"get_current_time\"\n                    },\n                    \"type\": \"function\"\n                  }\n                ]\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": null,\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null\n              },\n              \"index\": 0,\n              \"finish_reason\": \"tool_calls\",\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": {\n            \"completion_tokens\": 54,\n            \"prompt_tokens\": 270,\n            \"total_tokens\": 324,\n            \"completion_tokens_details\": null,\n            \"prompt_tokens_details\": {\n              \"audio_tokens\": null,\n              \"cache_write_tokens\": null,\n              \"cached_tokens\": 0,\n              \"image_tokens\": null,\n              \"text_tokens\": null\n            }\n          },\n          \"timings\": {\n            \"prompt_n\": 270,\n            \"prompt_ms\": 2595,\n            \"prompt_per_token_ms\": 9.61111111111111,\n            \"prompt_per_second\": 104.04624277456648,\n            \"predicted_n\": 54,\n            \"predicted_ms\": 2863,\n            \"predicted_per_token_ms\": 53.01851851851852,\n            \"predicted_per_second\": 18.861334264757247\n          }\n        }\n      }\n    ],\n    \"is_streaming\": true\n  },\n  \"id_normalization_mapping\": {}\n}\n","tests/integration/agents/recordings/156e7e73dc52adad8ba6a8481adbce15a383633ac951d883cd4f18cd7d66cba9.json":"{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_responses_store[openai_client-txt=ollama/qwen3.5:0.8b-tools1-False]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"What's the weather in Tokyo? YOU MUST USE THE get_weather function to get the weather.\"\n        }\n      ],\n      \"parallel_tool_calls\": true,\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      },\n      \"tools\": [\n        {\n          \"type\": \"function\",\n          \"function\": {\n            \"type\": \"function\",\n            \"name\": \"get_weather\",\n            \"description\": \"Get the weather in a given city\",\n            \"parameters\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"city\": {\n                  \"type\": \"string\",\n                  \"description\": \"The city to get the weather for\"\n                }\n              }\n            }\n          }\n        }\n      ]\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.31.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" information\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" in\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Tokyo\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" but\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" wants\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" me\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" use\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" retrieve\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" it\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" need\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" check\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" if\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" there\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"'s\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" way\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" do\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" this\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" since\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" only\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" have\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" access\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" single\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" API\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" call\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" tool\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" (\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"),\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" can\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" call\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" that\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_o","docs/docs/references/python_sdk_reference/migration.md":"---\ntitle: \"Migrating to ogx_client 1.1.4: The Complete Reference\"\nsidebar_label: \"Migration Guide (1.1.4)\"\n---\n\nThis is the complete migration reference for moving from `ogx_client` <= 1.1.3 (Stainless-generated) to `ogx_client` >= 1.1.4 (OpenAPI-generator-generated). For background on why we made this change, see [The OGX Python SDK Has a New Foundation](https://ogx-ai.github.io/blog/python-sdk-new-foundation).\n\n## TL;DR\n\nFor most codebases, this migration is **a search-and-replace**. The package name\nstays the same (`ogx_client`), the API methods accept the same keyword\narguments, list responses are still iterable, streaming works the same way, and\nexceptions have the same names.\n\nThe one thing you will definitely do:\n\n1. **Replace the type import path and names**:\n   `from ogx_client.types import ResponseObject` -> `from ogx_client.models import OpenAIResponseObject`\n\nEverything else in this document covers edge cases and advanced usage that most\ncode does not touch. The sections below are ordered by how likely they are to\naffect you.\n\n---\n\n## 1. Import Path Changes\n\nThe package name stays `ogx_client` -- you do not need to change your top-level\nimports of `OgxClient` or `AsyncOgxClient`. However, the `types` sub-package\nhas been renamed to `models`:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client import OgxClient\nfrom ogx_client.types import ResponseObject\n\n# After (>= 1.1.4)\nfrom ogx_client import OgxClient  # unchanged\nfrom ogx_client.models import OpenAIResponseObject\n```\n\nAll models now live in a single flat namespace -- there are no sub-packages like\n`types.shared`, `types.alpha`, `types.chat`, etc.\n\n```python\n# Before (<= 1.1.3) -- types scattered across sub-packages\nfrom ogx_client.types import ResponseObject\nfrom ogx_client.types.shared import HealthInfo\nfrom ogx_client.types.alpha import InferenceRerankResponse\nfrom ogx_client.types.chat import CompletionCreateResponse\nfrom ogx_client.types.vector_stores import VectorStoreFile\n\n# After (>= 1.1.4) -- everything from one place\nfrom ogx_client.models import (\n    OpenAIResponseObject,\n    HealthInfo,\n    RerankResponse,\n    OpenAIChatCompletion,\n    VectorStoreFileObject,\n)\n```\n\nThe `Client` and `AsyncClient` short aliases no longer exist. Use `OgxClient`\nand `AsyncOgxClient`.\n\n---\n\n## 2. Type and Model Name Changes\n\nMany types have been renamed in >= 1.1.4. The actual data and fields on these\ntypes are the same -- only the class names changed. Here are the patterns:\n\n- **`OpenAI` prefix added** to types that wrap OpenAI-compatible API objects\n- **`Object` suffix added** to resource types (e.g., `VectorStore` -> `VectorStoreObject`)\n- **Per-operation wrappers collapsed** (e.g., `BatchCreateResponse` / `BatchRetrieveResponse` / `BatchCancelResponse` all become `Batch`)\n\n### Core Resource Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `File` | `OpenAIFileObject` |\n| `Model` | `OpenAIModel` |\n| `Prompt` | `Prompt` |\n| `VectorStore` | `VectorStoreObject` |\n| `ResponseObject` | `OpenAIResponseObject` |\n| `ResponseMessage` | `OpenAIResponseMessage` |\n| `CompactedResponse` | `OpenAICompactedResponse` |\n| `ResponseObjectStream` | `OpenAIResponseObjectStream` |\n| `ConversationObject` | `Conversation` |\n| `ChatCompletionChunk` | `OpenAIChatCompletionChunk` |\n| `CompletionCreateResponse` | `OpenAICompletion` |\n| `CreateEmbeddingsResponse` | `OpenAIEmbeddingsResponse` |\n| `QueryChunksResponse` | `QueryChunksResponse` |\n\n### Delete Response Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `DeleteFileResponse` | `OpenAIFileDeleteResponse` |\n| `ResponseDeleteResponse` | `OpenAIDeleteResponseObject` |\n| `ConversationDeleteResponse` | `ConversationDeletedResource` |\n| `VectorStoreDeleteResponse` | `VectorStoreDeleteResponse` |\n| `VectorStoreSearchResponse` | `VectorStoreSearchResponse` |\n\n### Batch Types (collapsed)\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `BatchCreateResponse` | `Batch` |\n| `BatchRetrieveResponse` | `Batch` |\n| `BatchListResponse` | `Batch` |\n| `BatchCancelResponse` | `Batch` |\n\n### List Response Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `ModelListResponse` | `ListModelsV1ModelsGet200Response` |\n| `ModelRetrieveResponse` | `GetModelV1ModelsModelIdGet200Response` |\n| `ListModelsResponse` | `ListModelsResponse` |\n| `ListFilesResponse` | `ListOpenAIFileResponse` |\n| `ListPromptsResponse` | `ListPromptsResponse` |\n| `ListVectorStoresResponse` | `VectorStoreListResponse` |\n| `ResponseListResponse` | `OpenAIResponseObject` (items of `ListOpenAIResponseObject`) |\n| `PromptListResponse` | `ListPromptsResponse` |\n| `ProviderListResponse` | `ListProvidersResponse` |\n| `RouteListResponse` | `ListRoutesResponse` |\n\n### Shared Types (moved from `types.shared` to flat `models`)\n\n| `ogx_client.types.shared.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-----------------------------------------|-----------------------------------|\n| `ParamType` | `ParamType` |\n| `RouteInfo` | `RouteInfo` |\n| `HealthInfo` | `HealthInfo` |\n| `VersionInfo` | `VersionInfo` |\n| `ProviderInfo` | `ProviderInfo` |\n| `SystemMessage` | `SystemMessage` |\n| `SamplingParams` | `SamplingParams` |\n| `InterleavedContent` | `InterleavedContent` |\n| `InterleavedContentItem` | `InterleavedContentItem` |\n| `ListRoutesResponse` | `ListRoutesResponse` |\n| `ListProvidersResponse` | `ListProvidersResponse` |\n\n### Alpha Types\n\n| `ogx_client.types.alpha.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------------|-----------------------------------|\n| `InferenceRerankResponse` | `RerankResponse` |\n| `InferenceRerankParams` | `RerankRequest` |\n| `AdminListRoutesParams` | `ListRoutesRequest` |\n\n### Chat Types\n\n| `ogx_client.types.chat.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|---------------------------------------|-----------------------------------|\n| `CompletionCreateResponse` | `OpenAIChatCompletion` |\n| `CompletionRetrieveResponse` | `OpenAIChatCompletion` |\n| `CompletionListResponse` | `ListOpenAIChatCompletionResponse` |\n| `CompletionCreateParams` | `OpenAIChatCompletionRequestWithExtraBody` |\n| `CompletionListParams` | `ListChatCompletionsRequest` |\n\n### Chat Completions Sub-types\n\n| `ogx_client.types.chat.completions.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|---------------------------------------------------|-----------------------------------|\n| `MessageListResponse` | `ChatCompletionMessage` |\n| `MessageListParams` | `ListChatCompletionMessagesRequest` |\n\n### Conversations Types\n\n| `ogx_client.types.conversations.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|------------------------------------------------|-----------------------------------|\n| `ItemGetResponse` | `ConversationItem` |\n| `ItemCreateResponse` | `ConversationItem` |\n| `ItemListResponse` | `ConversationItemList` |\n| `ItemCreateParams` | `ConversationItemCreateRequest` |\n| `ItemListParams` | `ListItemsRequest` |\n| `ItemGetParams` | `RetrieveItemRequest` |\n\n### Models Sub-types\n\n| `ogx_client.types.models.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-----------------------------------------|-----------------------------------|\n| `OpenAIListResponse` | `OpenAIListModelsResponse` |\n\n### Responses Sub-types\n\n| `ogx_client.types.responses.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|--------------------------------------------|-----------------------------------|\n| `InputItemListResponse` | `ListOpenAIResponseInputItem` |\n\n### Vector Stores Sub-types\n\n| `ogx_client.types.vector_stores.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-------------------------------------------------|-----------------------------------|\n| `VectorStoreFile` | `VectorStoreFileObject` |\n| `VectorStoreFileBatches` | `VectorStoreFileBatchObject` |\n| `FileDeleteResponse` | `VectorStoreFileDeleteResponse` |\n| `FileContentResponse` | `VectorStoreFileContentResponse` |\n| `ListVectorStoreFilesInBatchResponse` | `VectorStoreFilesListInBatchResponse` |\n| `FileCreateParams` | `OpenAIAttachFileRequest` |\n| `FileUpdateParams` | `OpenAIUpdateVectorStoreFileRequest` |\n| `FileBatchCreateParams` | `OpenAICreateVectorStoreFileBatchRequestWithExtraBody` |\n\n---\n\n## 3. Environment Variables and `api_key`\n\n**No migration needed.** >= 1.1.4 reads the same environment variables as\n<= 1.1.3:\n\n| Environment Variable | Behavior |\n|---------------------|----------|\n| `OGX_CLIENT_BASE_URL` | Auto-inferred for `base_url` |\n| `OGX_CLIENT_CUSTOM_HEADERS` | Parsed and merged into default headers |\n| `OGX_CLIENT_API_KEY` | Sets `Authorization: Bearer <key>` header |\n\nThe `api_key` constructor parameter also works the same way. When provided\n(via constructor arg or `OGX_CLIENT_API_KEY` env var), it sets an\n`Authorization: Bearer` header. Constructor args take precedence over env\nvars.\n\n```python\n# All of these work in >= 1.1.4 just as they did in <= 1.1.3\nclient = OgxClient(base_url=\"http://localhost:8321\")\nclient = OgxClient(api_key=\"my-key\")\nclient = OgxClient(base_url=\"http://localhost:8321\", api_key=\"my-key\")\n```\n\n---\n\n## 4. List and Pagination Responses\n\n**Only affects you if** you were relying on `SyncOpenAICursorPage`'s\nauto-pagination to transparently fetch all pages across multiple API calls.\n\n### What still works\n\nBasic iteration over list results works identically:\n\n```python\n# This works in both versions\nfor file in client.files.list():\n    print(file.id)\n```\n\nThe new list response objects implement `__iter__`, `__getitem__`, and `__len__`,\nall delegating to their internal `.data` list. So `for item in result`,\n`result[0]`, and `len(result)` all work.\n\n### What changed\n\n<= 1.1.3 used `SyncOpenAICursorPage[T]` for some endpoints -- an\nauto-paginating iterator that transparently made additional API calls when you\niterated past the current page. >= 1.1.4 returns one page at a time.\nIf you have more data than fits in one page, you need to paginate manually:\n\n```python\nresult = client.files.list()\n# process result...\nwhile result.has_more:\n    result = client.files.list(after=result.last_id)\n    # process next page...\n```\n\nIn practice, most code fetches a single page and does not rely on\nauto-pagination. If your lists are small enough to fit in one response (the\ncommon case), the behavior is identical.\n\n### Return type changes per endpoint\n\n| Method | <= 1.1.3 return | >= 1.1.4 return |\n|--------|----------------|----------------|\n| `responses.list()` | `SyncOpenAICursorPage[ResponseListResponse]` | `ListOpenAIResponseObject` |\n| `responses.create()` | `ResponseObject` | `OpenAIResponseObject` |\n| `files.list()` | `SyncOpenAICursorPage[File]` | `ListOpenAIFileResponse` |\n| `batches.list()` | `SyncOpenAICursorPage[BatchListResponse]` | `ListBatchesResponse` |\n| `vector_stores.list()` | `SyncOpenAICursorPage[VectorStore]` | `VectorStoreListResponse` |\n| `vector_stores.files.list()` | `SyncOpenAICursorPage[VectorStoreFile]` | `VectorStoreListFilesResponse` |\n| `conversations.items.list()` | `SyncOpenAICursorPage[ItemListResponse]` | `ConversationItemList` |\n| `chat.completions.messages.list()` | `SyncOpenAICursorPage[MessageListResponse]` | `ChatCompletionMessageList` |\n| `models.list()` | `ModelListResponse` (TypeAlias Union) | `ListModelsV1ModelsGet200Response` (OneOf wrapper) |\n| `chat.completions.list()` | `CompletionListResponse` | `ListOpenAIChatCompletionResponse` |\n| `providers.list()` | `ProviderListResponse` (`TypeAlias = List[ProviderInfo]`) | `ListProvidersResponse` |\n| `routes.list()` | `RouteListResponse` (`TypeAlias = List[RouteInfo]`) | `ListRoutesResponse` |\n| `prompts.list()` | `PromptListResponse` (`TypeAlias = List[Prompt]`) | `ListPromptsResponse` |\n\n### TypeAlias lists replaced by wrapper objects\n\nA few endpoints in <= 1.1.3 returned plain Python lists via TypeAliases\n(e.g., `ProviderListResponse = List[ProviderInfo]`). These are now Pydantic\nmodels with a `.data` field. If you were treating the result as a bare list,\naccess `.data` or iterate (which delegates to `.data`):\n\n```python\n# Before -- was a plain list\nproviders = client.providers.list()  # List[ProviderInfo]\nfirst = providers[0]\n\n# After -- wrapper object, but iteration/indexing still works\nproviders = client.providers.list()  # ListProvidersResponse\nfirst = providers[0]  # works via __getitem__\nfirst = providers.data[0]  # also works\n```\n\n---\n\n## 5. Removed Client Features\n\n**Only affects you if** you used these specific patterns.\n\n### `client.copy()` / `client.with_options()`\n\nNo longer available. Create a new client instead.\n\n```python\n# Before\nnew_client = client.copy(base_url=\"http://other-server:8321\")\n\n# After\nnew_client = OgxClient(base_url=\"http://other-server:8321\")\n```\n\n### `client.with_raw_response`\n\nNo longer available. Use `*_with_http_info()` method variants:\n\n```python\n# Before\nraw = client.with_raw_response.responses.retrieve(\"resp-123\")\nraw.status_code\nraw.headers\nparsed = raw.parse()\n\n# After\nresp = client.responses.retrieve_with_http_info(\"resp-123\")\nresp.status_code\nresp.headers\nresp.data  # already parsed\n```\n\n### `client.with_streaming_response`\n\nNo longer available. Use `*_without_preload_content()` method variants:\n\n```python\n# Before\nwith client.with_streaming_response.files.content(\"file-abc\") as response:\n    for chunk in response.iter_bytes():\n        ...\n\n# After\nresponse = client.files.content_without_preload_content(\"file-abc\")\n```\n\n### `file_from_path` utility\n\nNo longer available in >= 1.1.4. Use standard Python file I/O:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client import file_from_path\n\n# After (>= 1.1.4)\nwith open(\"path/to/file\", \"rb\") as f:\n    client.files.create(file=f, purpose=\"assistants\")\n```\n\n### `aiohttp` backend\n\nThe optional `[aiohttp]` backend for `AsyncOgxClient` is no longer available\nin >= 1.1.4. `httpx.AsyncClient` is used exclusively.\n\n---\n\n## 6. Exception Attribute Changes\n\n**Only affects you if** you catch SDK exceptions and inspect their attributes\n(status code, response body, etc.). If you only catch them by type (e.g.,\n`except NotFoundError:`), nothing changes -- the class names are the same.\n\n### Catching by type still works\n\n```python\n# Works identically in both versions\nfrom ogx_client import NotFoundError, BadRequestError, RateLimitError\n\ntry:\n    client.models.retrieve(\"nonexistent\")\nexcept NotFoundError:\n    print(\"not found\")\n```\n\n### Attribute names changed\n\n| What you want | <= 1.1.3 | >= 1.1.4 |\n|---------------|----------|----------|\n| HTTP status code | `e.status_code` | `e.status` (also available as `e.status_code`) |\n| Full HTTP response | `e.response` (`httpx.Response`) | Not available (individual fields below) |\n| Response headers | `e.response.headers` | `e.headers` |\n| Response body | `e.body` (parsed JSON or None) | `e.body` (raw string) |\n| Error message | `e.message` | `e.message` (also available as `e.reason`) |\n| HTTP request | `e.request` | Not available |\n\n```python\ntry:\n    client.models.retrieve(\"nonexistent\")\n# Before\nexcept NotFoundError as e:\n    print(e.status_code)  # 404\n    print(e.response)  # httpx.Response\n\n# After\nexcept NotFoundError as e:\n    print(e.status)  # 404\n    print(e.body)  # raw body string\n    print(e.headers)  # response headers dict\n```\n\n### Exception hierarchy\n\n<= 1.1.3 had one hierarchy rooted at `OgxClientError -> APIError`.\n>= 1.1.4 has two coexisting hierarchies:\n\n**Primary (used by default):**\n\n```text\nOpenApiException\n  -> ApiException -> BadRequestException, NotFoundException, ...\n```\n\nThe familiar names (`BadRequestError`, `NotFoundError`, etc.) are **aliases**\nfor the `*Exception` classes. `from ogx_client import BadRequestError`\ngives you `BadRequestException` under the hood.\n\n**Secondary (Stainless-compatible, also importable):**\n\n```text\nOgxClientError -> APIError -> APIStatusError -> BadRequestError, ...\n```\n\nIf you were catching `APIStatusError` or `OgxClientError` as a base class,\nnote that the primary hierarchy uses `ApiException` / `OpenApiException` instead.\n\n---\n\n## 7. Client Initialization\n\n**This is mostly backward-compatible.** `base_url=` still works.\n\n>= 1.1.4 adds a `configuration` parameter as an alternative way to pass a URL\nstring or a full `Configuration` object:\n\n```python\nfrom ogx_client import OgxClient, Configuration\n\n# All three are equivalent:\nclient = OgxClient(base_url=\"http://localhost:8321\")\nclient = OgxClient(configuration=\"http://localhost:8321\")\nclient = OgxClient(configuration=Configuration(host=\"http://localhost:8321\"))\n\n# Configuration gives access to more options:\nconfig = Configuration(host=\"http://localhost:8321\", timeout=30, retries=3, http2=True)\nclient = OgxClient(configuration=config)\n```\n\n### Constructor parameter comparison\n\n| Parameter | <= 1.1.3 | >= 1.1.4 |\n|-----------|----------|----------|\n| `base_url` | Direct param | Direct param (forwarded to `Configuration`) |\n| `api_key` | Direct param (sets `Authorization: Bearer` header) | Direct param (same behavior) |\n| `default_headers` | Direct param | Direct param |\n| `timeout` | Direct param (`float \\| Timeout`) | Via `**kwargs` or `Configuration(timeout=...)` |\n| `max_retries` | Direct param (default: 2) | Via `**kwargs` or `Configuration(retries=...)` |\n| `http_client` | Direct param (`httpx.Client`) | Not supported |\n| `default_query` | Direct param | Not supported |\n| `configuration` | Not supported | **New** -- accepts `Configuration` object or string URL |\n| `header_name`/`header_value` | Not supported | Supported (single-header auth) |\n| `cookie` | Not supported | Supported |\n\n---\n\n## 8. API Method Calling Convention\n\n**This is backward-compatible for the common case.** If you call methods with\nkeyword arguments (the normal way), nothing changes:\n\n```python\n# Works identically in both versions\nresponse = client.responses.create(model=\"gpt-4o\", input=\"Hello, world!\")\n```\n\n>= 1.1.4 additionally accepts a request body object as the first positional\nargument:\n\n```python\n# New option (not available in <= 1.1.3)\nfrom ogx_client.models import CreateResponseRequest\n\nrequest = CreateResponseRequest(model=\"gpt-4o\", input=\"Hello, world!\")\nresponse = client.responses.create(request)\n```\n\n### Minor differences (unlikely to matter)\n\n- <= 1.1.3 enforced keyword-only arguments via `*`. >= 1.1.4 does not --\n  but since nobody passes positional args to these methods, this is invisible.\n- <= 1.1.3 used an `omit` sentinel to distinguish \"not provided\" from\n  `None`. >= 1.1.4 uses `None` as the default. In practice the server\n  treats both the same way.\n- Both versions support `extra_body` for sending additional fields.\n\n---\n\n## 9. Streaming Internals\n\n**The usage pattern is identical.** Only internal details changed.\n\n```python\n# Works identically in both versions\nstream = client.responses.create(model=\"gpt-4o\", input=\"Hello\", stream=True)\nfor event in stream:\n    print(event)\n```\n\nThe stream event type names changed (same rename pattern as other types):\n\n| <= 1.1.3 | >= 1.1.4 |\n|----------|----------|\n| `ResponseObjectStream` | `OpenAIResponseObjectStream` |\n| `ChatCompletionChunk` | `OpenAIChatCompletionChunk` |\n\nOther differences that only matter if you inspect stream internals:\n\n| Aspect | <= 1.1.3 | >= 1.1.4 |\n|--------|----------|----------|\n| Error in stream | Raises `APIError` | Silently caught |\n| `response` attribute | `stream.response` (public) | `stream._response` (private) |\n| `status_code` | `stream.response.status_code` | `stream.status_code` |\n| `headers` | `stream.response.headers` | `stream.headers` |\n| `until_done()` | Not available | Available |\n\n---\n\n## 10. APIResponse Changes\n\n**Only affects you if** you used `client.with_raw_response` (see\n[Section 5](#5-removed-client-features)).\n\n<= 1.1.3's `APIResponse` was a wrapper around a live `httpx.Response` with\nlazy parsing via `.parse()`.\n\n>= 1.1.4's `ApiResponse` is a **Pydantic BaseModel** with the data\nalready parsed:\n\n```python\n# After (via *_with_http_info methods)\nresp = client.responses.create_with_http_info(...)\nresp.status_code  # int\nresp.headers  # Mapping[str, str]\nresp.data  # already-parsed model\nresp.raw_data  # raw bytes\n```\n\n---\n\n## 11. Params Types Replaced by Request Models\n\n**Only affects you if** you explicitly imported `*Params` TypedDict types for\ntype annotations or static analysis.\n\n<= 1.1.3 provided TypedDict classes (named `*Params`) for type-checking\nmethod arguments. Most users never imported these -- they just passed keyword\narguments directly.\n\n>= 1.1.4 replaces them with Pydantic `BaseModel` classes (named\n`*Request`). If you referenced Params types in your code:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client.types import ResponseCreateParams\n\n\ndef my_func(params: ResponseCreateParams) -> None: ...\n\n\n# After (>= 1.1.4)\nfrom ogx_client.models import CreateResponseRequest\n\n\ndef my_func(params: CreateResponseRequest) -> None: ...\n```\n\nFull mapping:\n\n| <= 1.1.3 (TypedDict) | >= 1.1.4 (BaseModel) |\n|----------------------|----------------------|\n| `ResponseCreateParams` | `CreateResponseRequest` |\n| `ResponseCompactParams` | `CompactResponseRequest` |\n| `EmbeddingCreateParams` | `OpenAIEmbeddingsRequestWithExtraBody` |\n| `CompletionCreateParams` (top-level) | `OpenAICompletionRequestWithExtraBody` |\n| `chat.CompletionCreateParams` | `OpenAIChatCompletionRequestWithExtraBody` |\n| `BatchCreateParams` | `CreateBatchRequest` |\n| `BatchListParams` | `ListBatchesRequest` |\n| `FileCreateParams` | `UploadFileRequest` |\n| `FileListParams` | `ListFilesRequest` |\n| `VectorStoreCreateParams` | `OpenAICreateVectorStoreRequestWithExtraBody` |\n| `VectorStoreUpdateParams` | `OpenAIUpdateVectorStoreRequest` |\n| `VectorStoreSearchParams` | `OpenAISearchVectorStoreRequest` |\n| `VectorIoInsertParams` | `InsertChunksRequest` |\n| `VectorIoQueryParams` | `QueryChunksRequest` |\n| `ConversationCreateParams` | `CreateConversationRequest` |\n| `ConversationUpdateParams` | `UpdateConversationRequest` |\n| `PromptCreateParams` | `CreatePromptRequest` |\n| `PromptUpdateParams` | `UpdatePromptRequest` |\n| `PromptRetrieveParams` | `GetPromptRequest` |\n| `PromptSetDefaultVersionParams` | `SetDefaultVersionRequest` |\n| `alpha.InferenceRerankParams` | `RerankRequest` |\n| `alpha.AdminListRoutesParams` | `ListRoutesRequest` |\n| `vector_stores.FileCreateParams` | `OpenAIAttachFileRequest` |\n| `vector_stores.FileUpdateParams` | `OpenAIUpdateVectorStoreFileRequest` |\n| `vector_stores.FileBatchCreateParams` | `OpenAICreateVectorStoreFileBatchRequestWithExtraBody` |\n| `conversations.ItemCreateParams` | `ConversationItemCreateRequest` |\n| `conversations.ItemListParams` | `ListItemsRequest` |\n| `conversations.ItemGetParams` | `RetrieveItemRequest` |\n| `chat.CompletionListParams` | `ListChatCompletionsRequest` |\n| `chat.completions.MessageListParams` | `ListChatCompletionMessagesRequest` |\n\n---\n\n## 12. Async Client Changes\n\n**Backward-compatible.** Usage is the same:\n\n```python\nfrom ogx_client import AsyncOgxClient\n\nasync_client = AsyncOgxClient(base_url=\"http://localhost:8321\")\nresponse = await async_client.responses.create(model=\"gpt-4o\", input=\"Hello\")\n```\n\nThe `Client` and `AsyncClient` short aliases are gone -- use `OgxClient` and\n`AsyncOgxClient`.\n\nThe optional `aiohttp` backend is no longer available in >= 1.1.4.\n`httpx.AsyncClient` is used exclusively.\n\n---\n\n## 13. Dependencies and Python Version\n\n| Dependency | <= 1.1.3 | >= 1.1.4 |\n|-----------|----------|----------|\n| Python | >= 3.9 | **>= 3.13** |\n| `httpx` | >= 0.23.0, < 1 | >= 0.28.1 |\n| `pydantic` | >= 1.9.0, < 3 | **>= 2** |\n| `anyio` | >= 3.5.0, < 5 | Not required |\n| `distro` | >= 1.7.0, < 2 | Not required |\n| `sniffio` | Required | Not required |\n| `tqdm` | Required | Not required |\n| `typing-extensions` | >= 4.14, < 5 | >= 4.7.1 |\n| `python-dateutil` | Not required | >= 2.8.2 |\n\nIf you are on Python 3.9--3.12, you must upgrade to 3.13+. If you are on\nPydantic v1, you must upgrade to v2. Both versions use **httpx** as the HTTP\nclient.\n\n---\n\n## Quick Migration Checklist\n\n**Everyone:**\n\n- [ ] Upgrade Python to 3.13+ and Pydantic to 2.x (if not already)\n- [ ] Upgrade `ogx_client` to >= 1.1.4 in `pip install` / `pyproject.toml`\n- [ ] Replace `from ogx_client.types` -> `from ogx_client.models` in all imports\n- [ ] Update type names per the [mapping tables](#2-type-and-model-name-changes)\n\n**If applicable:**\n\n- [ ] Replace `client.with_raw_response` with `*_with_http_info()` methods\n- [ ] Replace `client.copy()` / `client.with_options()` with new client creation\n- [ ] Add manual pagination if you relied on `SyncOpenAICursorPage` auto-pagination\n- [ ] Update `e.status_code` -> `e.status` if you inspect exception attributes\n","docs/docs/references/ogx_cli_reference/download_models.md":"# Downloading Models\n\nThe `ogx` CLI tool helps you setup and use the OGX. It should be available on your path after installing the `ogx` package.\n\n## Installation\n\nYou have two ways to install OGX:\n\n1. **Install as a package**:\n   You can install the repository directly from [PyPI](https://pypi.org/project/ogx/) by running the following command:\n\n   ```bash\n   pip install ogx\n   ```\n\n2. **Install from source**:\n   If you prefer to install from the source code, follow these steps:\n\n   ```bash\n    mkdir -p ~/local\n    cd ~/local\n    git clone git@github.com:ogx-ai/ogx.git\n\n    uv venv myenv --python 3.13\n    source myenv/bin/activate  # On Windows: myenv\\Scripts\\activate\n\n    cd ogx\n    pip install -e .\n\n## Downloading models via Hugging Face CLI\n\nYou first need to have models downloaded locally. We recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) to download models.\n\n### Install Hugging Face CLI\n\nFirst, install the Hugging Face CLI:\n\n```bash\npip install huggingface_hub[cli]\n```\n\n### Download models from Hugging Face\n\nYou can download models using the `huggingface-cli download` command. Here are some examples:\n\n```bash\n# Download Llama 3.2 3B Instruct model\nhuggingface-cli download meta-llama/Llama-3.2-3B-Instruct --local-dir ~/.ogx/Llama-3.2-3B-Instruct\n\n# Download Llama 3.2 1B Instruct model\nhuggingface-cli download meta-llama/Llama-3.2-1B-Instruct --local-dir ~/.ogx/Llama-3.2-1B-Instruct\n\n# Download Llama Guard 3 1B model\nhuggingface-cli download meta-llama/Llama-Guard-3-1B --local-dir ~/.ogx/Llama-Guard-3-1B\n\n# Download Prompt Guard model\nhuggingface-cli download meta-llama/Prompt-Guard-86M --local-dir ~/.ogx/Prompt-Guard-86M\n```\n\n**Important:** You need to authenticate with Hugging Face to download models. You can do this by:\n\n1. Getting your token from [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens)\n2. Running `huggingface-cli login` and entering your token\n\n## List the downloaded models\n\nTo list the downloaded models, you can use the Hugging Face CLI:\n\n```bash\n# List all downloaded models in your local cache\nhuggingface-cli scan-cache\n```\n","tests/integration/agents/recordings/339d510b1f11fab08ae8684df5bd52509407c02034a81463c8ac2208b4ce9da2.json":"{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_stored_input_items_work_as_pagination_cursors[txt=ollama/qwen3.5:0.8b]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"Message A: What is the capital of France?\"\n        },\n        {\n          \"role\": \"assistant\",\n          \"content\": \"The capital of France is Paris.\"\n        },\n        {\n          \"role\": \"user\",\n          \"content\": \"Message B: What about Spain?\"\n        },\n        {\n          \"role\": \"assistant\",\n          \"content\": \"The capital of Spain is Madrid.\"\n        },\n        {\n          \"role\": \"user\",\n          \"content\": \"Message C: And Italy?\"\n        }\n      ],\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      }\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.57.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"Thinking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Process\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\n\\n1\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"  **\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"An\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"alyze\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Request\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":**\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" has\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" provided\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" dialogue\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" history\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" where\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" (\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" AI\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \")\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" have\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" previously\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" answered\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" \\\"\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"capital\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" of\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" France\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" =\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Paris\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\\",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" \\\"\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"capital\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" of\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Spain\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" =\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Madrid\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\\",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" now\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asks\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Italy\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\n\\n2\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"  **\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"Evaluate\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Intent\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":**\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" This\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          ","docs/docs/references/python_sdk_reference/index.md":"# Python SDK Reference\n\n## Shared Types\n\n```python\nfrom ogx_client.models import (\n    InterleavedContent,\n    InterleavedContentItem,\n    ParamType,\n    SamplingParams,\n    SystemMessage,\n    ToolResponseMessage,\n    URL,\n    UserMessage,\n)\n```\n\n## Tools\n\nTypes:\n\n```python\nfrom ogx_client.models import ListToolDefsResponse, ToolDef\n```\n\n## Inspect\n\nTypes:\n\n```python\nfrom ogx_client.models import HealthInfo, VersionInfo\n```\n\nMethods:\n\n- <code title=\"get /v1/health\">client.inspect.health() -> HealthInfo</code>\n- <code title=\"get /v1/version\">client.inspect.version() -> VersionInfo</code>\n\n## Inference\n\nTypes:\n\n```python\nfrom ogx_client.models import RerankRequest, RerankResponse\n```\n\nMethods:\n\n- <code title=\"post /v1alpha/inference/rerank\">client.inference.rerank(rerank_request) -> RerankResponse</code>\n\n## Embeddings\n\nTypes:\n\n```python\nfrom ogx_client.models import (\n    OpenAIEmbeddingsRequestWithExtraBody,\n    OpenAIEmbeddingsResponse,\n)\n```\n\nMethods:\n\n- <code title=\"post /v1/embeddings\">client.embeddings.create(open_ai_embeddings_request_with_extra_body) -> OpenAIEmbeddingsResponse</code>\n\n## VectorIo\n\n:::warning DEPRECATED API\n\n**This API is deprecated and will be removed in a future version.**\n\nUse the OpenAI-compatible Vector Stores API instead:\n\n- Instead of `client.vector_io.insert()`, use `client.vector_stores.files.create()`\n- Instead of `client.vector_io.query()`, use `client.vector_stores.search()`\n\nSee the [RAG documentation](/docs/building_applications/rag) for migration examples.\n\nRelated: [Issue #2981](https://github.com/ogx-ai/ogx/issues/2981)\n\n:::\n\nTypes:\n\n```python\nfrom ogx_client.models import QueryChunksResponse\n```\n\nMethods:\n\n- <code title=\"post /v1/vector-io/insert\">client.vector_io.insert(insert_chunks_request) -> None</code>\n- <code title=\"post /v1/vector-io/query\">client.vector_io.query(query_chunks_request) -> QueryChunksResponse</code>\n\n## Models\n\nTypes:\n\n```python\nfrom ogx_client.models import (\n    GetModelV1ModelsModelIdGet200Response,\n    ListModelsV1ModelsGet200Response,\n    OpenAIModel,\n)\n```\n\nMethods:\n\n- <code title=\"get /v1/models/{model_id}\">client.models.retrieve(model_id) -> GetModelV1ModelsModelIdGet200Response</code>\n- <code title=\"get /v1/models\">client.models.list() -> ListModelsV1ModelsGet200Response</code>\n\n## Providers\n\nTypes:\n\n```python\nfrom ogx_client.models import ListProvidersResponse\n```\n\nMethods:\n\n- <code title=\"get /v1/providers\">client.providers.list() -> ListProvidersResponse</code>\n\n## Routes\n\nTypes:\n\n```python\nfrom ogx_client.models import ListRoutesResponse\n```\n\nMethods:\n\n- <code title=\"get /v1/inspect/routes\">client.routes.list(api_filter=None) -> ListRoutesResponse</code>\n","CLAUDE.md":"See @AGENTS.md for guidelines on working with this codebase.\n\n## Design Context\n\n### Users\n\nBackend engineers, application developers, and platform teams evaluating or adopting OGX for production AI workloads. They arrive from GitHub, blog posts, or search. They already use OpenAI/Anthropic SDKs and want to know: can I point my existing code at this server and have it just work? They are practical, time-constrained, and skeptical of marketing fluff. They read docs in dark terminals, IDEs, and browser tabs at all hours.\n\n### Brand Personality\n\n**Powerful, flexible, production-grade.** Not flashy. Not cute. Not corporate. The kind of project where the README is better than most companies' entire docs site. Speaks in code examples, not marketing copy. Respects the developer's time above all else.\n\nThree words: **capable, direct, trustworthy.**\n\n### Aesthetic Direction\n\n- **Tone**: Technical confidence without pretension. Think: well-organized CLI output, a clean terminal, a tool that does exactly what it says.\n- **Theme**: Dark mode default, both supported. Dark should feel like a refined terminal environment, not \"glowing neon AI dashboard.\" Light should feel like clean paper, not washed-out gray.\n- **Anti-references**: Purple-to-blue gradients, animated gradient text, icon-in-colored-circle card grids, \"Works with 20+ providers!\" vanity stats, marquee scrolling logos, decorative mesh backgrounds. All of these are present on the current site and should be replaced.\n- **Color**: Move away from purple as primary. The logo uses a deep navy-to-teal gradient. The palette should feel grounded, not synthetic. Consider warm neutrals or muted earth tones as an alternative to the current purple/teal AI palette.\n- **Typography**: Current fonts (Space Grotesk, Inter) are on the overused list. Find something with more character that still reads as technical and trustworthy.\n\n### Design Principles\n\n1. **Show, don't decorate.** Every visual element must communicate information. No decorative gradients, glows, or animations that exist for \"wow factor.\"\n2. **Code is the hero.** The most important thing on the landing page is a working code example. Make it prominent, readable, and real.\n3. **Earn trust through clarity.** Clean structure, consistent spacing, and direct language signal competence better than any visual flourish.\n4. **Respect the scroll.** Every section must justify its existence. If it doesn't answer a question the developer has, cut it.\n5. **No AI slop.** If a pattern appears on 50 AI-generated landing pages, it doesn't belong here. When in doubt, do less.\n","tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json)","tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json)","tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json)","tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json)","tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json)","tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json)","tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json)","tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json)","tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json)","tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json)","tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json)","tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json)","tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json)","tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json)","tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json)","tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json)"},"files":{"docs/docs/references/ogx_client_cli_reference.md":"# llama (client-side) CLI Reference\n\nThe `ogx-client` CLI allows you to query information about the distribution.\n\n## Basic Commands\n\n### `ogx-client`\n\n```bash\nogx-client\nUsage: ogx-client [OPTIONS] COMMAND [ARGS]...\n\n  Welcome to the ogx-client CLI - a command-line interface for\n  interacting with OGX\n\nOptions:\n  --version        Show the version and exit.\n  --endpoint TEXT  OGX distribution endpoint\n  --api-key TEXT   OGX distribution API key\n  --config TEXT    Path to config file\n  --help           Show this message and exit.\n\nCommands:\n  configure          Configure OGX Client CLI.\n  datasets           Manage datasets.\n  eval               Run evaluation tasks.\n  eval_tasks         Manage evaluation tasks.\n  inference          Inference (chat).\n  inspect            Inspect server configuration.\n  models             Manage GenAI models.\n  post_training      Post-training.\n  providers          Manage API providers.\n  scoring_functions  Manage scoring functions.\n```\n\n### `ogx-client configure`\n\nConfigure OGX Client CLI.\n\n```bash\nogx-client configure\n> Enter the host name of the OGX distribution server: localhost\n> Enter the port number of the OGX distribution server: 8321\nDone! You can now use the OGX Client CLI with endpoint http://localhost:8321\n```\n\nOptional arguments:\n\n- `--endpoint`: OGX distribution endpoint\n- `--api-key`: OGX distribution API key\n\n## `ogx-client inspect version`\n\nInspect server configuration.\n\n```bash\nogx-client inspect version\n```\n\n```bash\nVersionInfo(version='0.2.14')\n```\n\n### `ogx-client providers list`\n\nShow available providers on distribution endpoint\n\n```bash\nogx-client providers list\n```\n\n```text\n+-----------+----------------+-----------------+\n| API       | Provider ID    | Provider Type   |\n+===========+================+=================+\n| inference | vllm0          | remote::vllm    |\n+-----------+----------------+-----------------+\n```\n\n### `ogx-client providers inspect`\n\nShow specific provider configuration on distribution endpoint\n\n```bash\nogx-client providers inspect <provider_id>\n```\n\n## Inference\n\nInference (chat).\n\n### `ogx-client inference chat-completion`\n\nShow available inference chat completion endpoints on distribution endpoint\n\n```bash\nogx-client inference chat-completion --message <message> [--stream] [--session] [--model-id]\n```\n\n```bash\nOpenAIChatCompletion(\n    id='chatcmpl-aacd11f3-8899-4ec5-ac5b-e655132f6891',\n    choices=[\n        OpenAIChatCompletionChoice(\n            finish_reason='stop',\n            index=0,\n            message=OpenAIChatCompletionChoiceMessageOpenAIAssistantMessageParam(\n                role='assistant',\n                content='The captain of the whaleship Pequod in Nathaniel Hawthorne\\'s novel \"Moby-Dick\" is Captain\nAhab. He\\'s a vengeful and obsessive old sailor who\\'s determined to hunt down and kill the white sperm whale\nMoby-Dick, whom he\\'s lost his leg to in a previous encounter.',\n                name=None,\n                tool_calls=None,\n                refusal=None,\n                annotations=None,\n                audio=None,\n                function_call=None\n            ),\n            logprobs=None\n        )\n    ],\n    created=1752578797,\n    model='llama3.2:3b-instruct-fp16',\n    object='chat.completion',\n    service_tier=None,\n    system_fingerprint='fp_ollama',\n    usage={\n        'completion_tokens': 67,\n        'prompt_tokens': 33,\n        'total_tokens': 100,\n        'completion_tokens_details': None,\n        'prompt_tokens_details': None\n    }\n)\n```\n\nRequired arguments:\n**Note:** At least one of these parameters is required for chat completion\n\n- `--message`: Message\n- `--session`: Start a Chat Session\n\nOptional arguments:\n\n- `--stream`: Stream\n- `--model-id`: Model ID\n\n## Model Management\n\nManage GenAI models.\n\n### `ogx-client models list`\n\nShow available llama models at distribution endpoint\n\n```bash\nogx-client models list\n```\n\n```text\nAvailable Models\n\n┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━┓\n┃ model_type   ┃ identifier                           ┃ provider_resource_id         ┃ metadata  ┃ provider_id ┃\n┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━┩\n│ llm          │ meta-llama/Llama-3.2-3B-Instruct     │ llama3.2:3b-instruct-fp16    │           │ ollama      │\n└──────────────┴──────────────────────────────────────┴──────────────────────────────┴───────────┴─────────────┘\n\nTotal models: 1\n```\n\n### `ogx-client models get`\n\nShow details of a specific model at the distribution endpoint\n\n```bash\nogx-client models get Llama3.1-8B-Instruct\n```\n\n```text\n+----------------------+----------------------+----------------------------------------------------------+---------------+\n| identifier           | llama_model          | metadata                                                 | provider_id   |\n+======================+======================+==========================================================+===============+\n| Llama3.1-8B-Instruct | Llama3.1-8B-Instruct | {'huggingface_repo': 'meta-llama/Llama-3.1-8B-Instruct'} | vllm0         |\n+----------------------+----------------------+----------------------------------------------------------+---------------+\n```\n\n```bash\nogx-client models get Random-Model\n\nModel RandomModel is not found at distribution endpoint host:port. Please ensure endpoint is serving specified model.\n```\n\n### `ogx-client models register`\n\nRegister a new model at distribution endpoint\n\n```bash\nogx-client models register <model_id> [--provider-id <provider_id>] [--provider-model-id <provider_model_id>] [--metadata <metadata>] [--model-type <model_type>]\n```\n\nRequired arguments:\n\n- `MODEL_ID`: Model ID\n- `--provider-id`: Provider ID for the model\n\nOptional arguments:\n\n- `--provider-model-id`: Provider's model ID\n- `--metadata`: JSON metadata for the model\n- `--model-type`: Model type: `llm`, `embedding`\n\n### `ogx-client models unregister`\n\nUnregister a model from distribution endpoint\n\n```bash\nogx-client models unregister <model_id>\n```\n\n## Eval execution\n\nRun evaluation tasks.\n\n### `ogx-client eval run-benchmark`\n\nRun a evaluation benchmark task\n\n```bash\nogx-client eval run-benchmark <eval-task-id1> [<eval-task-id2> ...] --eval-task-config <config-file> --output-dir <output-dir> --model-id <model-id> [--num-examples <num>] [--visualize] [--repeat-penalty <repeat-penalty>] [--top-p <top-p>] [--max-tokens <max-tokens>]\n```\n\nRequired arguments:\n\n- `--eval-task-config`: Path to the eval task config file in JSON format\n- `--output-dir`: Path to the directory where evaluation results will be saved\n- `--model-id`: model id to run the benchmark eval on\n\nOptional arguments:\n\n- `--num-examples`: Number of examples to evaluate (useful for debugging)\n- `--visualize`: If set, visualizes evaluation results after completion\n- `--repeat-penalty`: repeat-penalty in the sampling params to run generation\n- `--top-p`: top-p in the sampling params to run generation\n- `--max-tokens`: max-tokens in the sampling params to run generation\n- `--temperature`: temperature in the sampling params to run generation\n\nExample benchmark_config.json:\n\n```json\n{\n    \"type\": \"benchmark\",\n    \"eval_candidate\": {\n        \"type\": \"model\",\n        \"model\": \"Llama3.1-405B-Instruct\",\n        \"sampling_params\": {\n            \"strategy\": \"greedy\",\n        }\n    }\n}\n```\n\n### `ogx-client eval run-scoring`\n\nRun scoring from application datasets\n\n```bash\nogx-client eval run-scoring <eval-task-id> --output-dir <output-dir> [--num-examples <num>] [--visualize]\n```\n\nRequired arguments:\n\n- `--output-dir`: Path to the directory where scoring results will be saved\n\nOptional arguments:\n\n- `--num-examples`: Number of examples to evaluate (useful for debugging)\n- `--visualize`: If set, visualizes scoring results after completion\n- `--scoring-params-config`: Path to the scoring params config file in JSON format\n- `--dataset-id`: Pre-registered dataset_id to score (from ogx-client datasets list)\n- `--dataset-path`: Path to the dataset file to score\n\n## Eval Tasks\n\nManage evaluation tasks.\n\n### `ogx-client eval_tasks list`\n\nShow available eval tasks on distribution endpoint\n\n```bash\nogx-client eval_tasks list\n```\n\n### `ogx-client eval_tasks register`\n\nRegister a new eval task\n\n```bash\nogx-client eval_tasks register --eval-task-id <eval-task-id> --dataset-id <dataset-id> --scoring-functions <scoring-functions> [--provider-id <provider-id>] [--provider-eval-task-id <provider-eval-task-id>] [--metadata <metadata>]\n```\n\nRequired arguments:\n\n- `--eval-task-id`: ID of the eval task\n- `--dataset-id`: ID of the dataset to evaluate\n- `--scoring-functions`: Scoring functions to use for evaluation\n\nOptional arguments:\n\n- `--provider-id`: Provider ID for the eval task\n- `--provider-eval-task-id`: Provider's eval task ID\n\n## Datasets Management\n\nManage datasets.\n\n### `ogx-client datasets list`\n\nShow available datasets on distribution endpoint\n\n```bash\nogx-client datasets list\n```\n\n### `ogx-client datasets register`\n\n```bash\nogx-client datasets register --dataset_id <dataset_id> --purpose <purpose> [--url <url] [--dataset-path <dataset-path>] [--dataset-id <dataset-id>] [--metadata <metadata>]\n```\n\nRequired arguments:\n\n- `--dataset_id`: Id of the dataset\n- `--purpose`: Purpose of the dataset\n\nOptional arguments:\n\n- `--metadata`: Metadata of the dataset\n- `--url`: URL of the dataset\n- `--dataset-path`: Local file path to the dataset. If specified, upload dataset via URL\n\n### `ogx-client datasets unregister`\n\nRemove a dataset\n\n```bash\nogx-client datasets unregister <dataset-id>\n```\n\nRequired arguments:\n\n- `DATASET_ID`: Id of the dataset\n\n## Scoring Functions Management\n\nManage scoring functions.\n\n### `ogx-client scoring_functions list`\n\nShow available scoring functions on distribution endpoint\n\n```bash\nogx-client scoring_functions list\n```\n\n```text\n┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓\n┃ identifier                                 ┃ provider_id  ┃ description                                                   ┃ type             ┃\n┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩\n│ basic::docvqa                              │ basic        │ DocVQA Visual Question & Answer scoring function              │ scoring_function │\n│ basic::equality                            │ basic        │ Returns 1.0 if the input is equal to the target, 0.0          │ scoring_function │\n│                                            │              │ otherwise.                                                    │                  │\n└────────────────────────────────────────────┴──────────────┴───────────────────────────────────────────────────────────────┴──────────────────┘\n```\n\n### `ogx-client scoring_functions register`\n\nRegister a new scoring function\n\n```bash\nogx-client scoring_functions register --scoring-fn-id <scoring-fn-id> --description <description> --return-type <return-type> [--provider-id <provider-id>] [--provider-scoring-fn-id <provider-scoring-fn-id>] [--params <params>]\n```\n\nRequired arguments:\n\n- `--scoring-fn-id`: Id of the scoring function\n- `--description`: Description of the scoring function\n- `--return-type`: Return type of the scoring function\n\nOptional arguments:\n\n- `--provider-id`: Provider ID for the scoring function\n- `--provider-scoring-fn-id`: Provider's scoring function ID\n- `--params`: Parameters for the scoring function in JSON format\n\n## Post Training Management\n\nPost-training.\n\n### `ogx-client post_training list`\n\nShow the list of available post training jobs\n\n```bash\nogx-client post_training list\n```\n\n```bash\n[\"job-1\", \"job-2\", \"job-3\"]\n```\n\n### `ogx-client post_training artifacts`\n\nGet the training artifacts of a specific post training job\n\n```bash\nogx-client post_training artifacts --job-uuid <job-uuid>\n```\n\n```bash\nJobArtifactsResponse(checkpoints=[], job_uuid='job-1')\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n\n### `ogx-client post_training supervised_fine_tune`\n\nKick off a supervised fine tune job\n\n```bash\nogx-client post_training supervised_fine_tune --job-uuid <job-uuid> --model <model> --algorithm-config <algorithm-config> --training-config <training-config> [--checkpoint-dir <checkpoint-dir>]\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n- `--model`: Model ID\n- `--algorithm-config`: Algorithm Config\n- `--training-config`: Training Config\n\nOptional arguments:\n\n- `--checkpoint-dir`: Checkpoint Config\n\n### `ogx-client post_training status`\n\nShow the status of a specific post training job\n\n```bash\nogx-client post_training status --job-uuid <job-uuid>\n```\n\n```bash\nJobStatusResponse(\n    checkpoints=[],\n    job_uuid='job-1',\n    status='completed',\n    completed_at=\"\",\n    resources_allocated=\"\",\n    scheduled_at=\"\",\n    started_at=\"\"\n)\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n\n### `ogx-client post_training cancel`\n\nCancel the training job\n\n```bash\nogx-client post_training cancel --job-uuid <job-uuid>\n```\n\n```bash\n# This functionality is not yet implemented for ogx-client\n╭────────────────────────────────────────────────────────────╮\n│ Failed to post_training cancel_training_job                │\n│                                                            │\n│ Error Type: InternalServerError                            │\n│ Details: Error code: 501 - {'detail': 'Not implemented: '} │\n╰────────────────────────────────────────────────────────────╯\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n","docs/docs/references/ogx_cli_reference/index.md":"# llama (server-side) CLI Reference\n\nThe `ogx` CLI tool helps you set up and use the OGX. The CLI is available on your path after installing the `ogx` package.\n\n## Installation\n\nYou have two ways to install OGX:\n\n1. **Install as a package**:\n   You can install the repository directly from [PyPI](https://pypi.org/project/ogx/) by running the following command:\n\n   ```bash\n   pip install ogx\n   ```\n\n2. **Install from source**:\n   If you prefer to install from the source code, follow these steps:\n\n   ```bash\n    mkdir -p ~/local\n    cd ~/local\n    git clone git@github.com:ogx-ai/ogx.git\n\n    uv venv myenv --python 3.13\n    source myenv/bin/activate  # On Windows: myenv\\Scripts\\activate\n\n    cd ogx\n    pip install -e .\n   ```\n\n## `ogx` subcommands\n\n1. `stack`: Allows you to build a stack using the `ogx` distribution and run a OGX server. You can read more about how to build a OGX distribution in the [Build your own Distribution](/docs/distributions/building_distro) documentation.\n2. `connect`: Connect third-party tools to the running OGX server. Supports [`claude`](/docs/building_applications/claude_code_integration), [`opencode`](/docs/building_applications/opencode_integration), and [`codex`](/docs/building_applications/codex_cli_integration).\n\nFor downloading models, we recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli). See [Downloading models](#downloading-models) for more information.\n\n### Sample Usage\n\n```bash\nllama --help\n```\n\n```text\nusage: ogx [-h] {stack,connect} ...\n\nWelcome to the OGX CLI\n\noptions:\n  -h, --help      show this help message and exit\n\nsubcommands:\n  {stack,connect}\n\n  stack                 Operations for the OGX / Distributions\n  connect               Connect third-party tools to the running OGX server\n```\n\n## Downloading models\n\nYou first need to have models downloaded locally. We recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) to download models.\n\nFirst, install the Hugging Face CLI:\n\n```bash\npip install huggingface_hub[cli]\n```\n\nThen authenticate and download models:\n\n```bash\n# Authenticate with Hugging Face\nhuggingface-cli login\n\n# Download a model\nhuggingface-cli download meta-llama/Llama-3.2-3B-Instruct --local-dir ~/.ogx/Llama-3.2-3B-Instruct\n```\n\n## List the downloaded models\n\nTo list the downloaded models, you can use the Hugging Face CLI:\n\n```bash\n# List all downloaded models in your local cache\nhuggingface-cli scan-cache\n```\n","AGENTS.md":"# Agent Guidelines for OGX\n\nThis file provides guidance for AI coding agents working on this codebase.\nIt complements [CONTRIBUTING.md](CONTRIBUTING.md) with agent-specific instructions.\nHuman contributors should follow the conventions in CONTRIBUTING.md.\n\n## Project Overview\n\nOGX is an API server implementing the OpenAI Responses API, Chat Completions,\nEmbeddings, and supporting APIs (files, vector stores, batches, eval, and responses guardrails). It supports\nmultiple inference backends (OpenAI, Azure, Bedrock, vLLM, Ollama, WatsonX, etc.) through\na provider architecture.\n\n## Repository Layout\n\n```text\nsrc/ogx/              # Server implementation\n  core/                       # Request routing, server, storage\n  providers/\n    inline/                   # Built-in providers (responses, eval, vector_io, etc.)\n    remote/                   # Remote provider adapters (OpenAI, Azure, vLLM, etc.)\n    registry/                 # Provider registration specs\n    utils/                    # Shared provider utilities (OpenAI mixin, MCP, etc.)\n  distributions/              # Distribution configs (starter, ci-tests, etc.)\nsrc/ogx_api/          # API definitions, Pydantic models, FastAPI routes\ntests/\n  unit/                       # Unit tests\n  integration/                # Integration tests with recording/replay system\n```\n\n## Python & Tooling\n\n- **Python 3.13 or 3.14** is required. Pre-commit hooks run on 3.14 (see `.pre-commit-config.yaml`).\n- Use `uv` for all dependency management and script execution.\n- Run scripts with `uv run`, never bare `python3` or `python`.\n- Use standard library modules when possible.\n- All function signatures must have type hints. Prefer Pydantic models for validation.\n- Code must pass `mypy`. Check the exclude list in `pyproject.toml` for known exceptions.\n- Use `def _function_name` for private functions.\n- Prefer explicit top-level imports over inline imports.\n- Do not use exceptions as control flow.\n\n## Code Style\n\n- Comments must add value. Do not write filler comments that describe the next line.\n- Add comments only to clarify surprising behavior that is not obvious from the code.\n- Good variable naming and clear code organization matters more than comments.\n- Do NOT remove existing comments unless they are factually wrong.\n- Error messages must be prefixed with \"Failed to ...\".\n- Use structured logging via `from ogx.log import get_logger`. Always use\n  key-value style: `logger.info(\"Processing request\", model=model_id, provider=provider)`\n  instead of f-strings or %-style formatting. The pre-commit hook\n  `Block f-string logging` enforces this.\n- The pre-commit hook `Ensure 'ogx.log' usage for logging` enforces that all\n  logging uses the project's logger, not the standard library directly.\n- Use `httpx2` for all HTTP client code. The pre-commit hook\n  `Block direct httpx imports (use httpx2)` rejects `import httpx` /\n  `from httpx import` unless the line is marked `# allow-direct-httpx`.\n  The marked exceptions are deliberate boundaries: the google-genai\n  client option (vertexai/utils.py), the mcp 1.x SDK (utils/tools/mcp.py),\n  the generated client-SDK boundary (library_client.py, api_recorder.py),\n  and the dual exception mapping (core/exceptions/mapping.py).\n\n## Git Conventions\n\n- Always use `--signoff` (`-s`) when creating commits.\n- Do not amend commits and force push during PR review. Use new commits instead.\n- Use `git merge main` to update branches, not `git rebase`.\n- Commit messages must use [conventional commits](https://www.conventionalcommits.org/)\n  format and full sentences, not bullet points.\n- Merge `upstream/main` before pushing a branch to avoid CI failures from stale code.\n\n## Testing\n\n- Unit tests: `./scripts/unit-tests.sh` or `uv run pytest tests/unit/ -x --tb=short`\n- Run pre-commit checks: `uv run pre-commit run --all-files`\n\n### Integration Tests\n\nIntegration tests use a recording/replay system. Recordings are JSON files in\n`tests/integration/*/recordings/` keyed by SHA256 hashes of HTTP request bodies.\nWhen modifying code that changes request bodies sent to providers, recordings may\nneed to be re-recorded.\n\nRun integration tests via the CI script (same command used in GitHub Actions):\n\n```bash\n# Replay mode (default) — uses pre-recorded responses, no API keys needed\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt \\\n  --file tests/integration/responses/test_compact_responses.py\n\n# Re-record missing recordings (requires API keys, e.g. OPENAI_API_KEY)\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt \\\n  --inference-mode record-if-missing \\\n  --file tests/integration/responses/test_compact_responses.py\n\n# Run a full suite\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt --suite responses\n```\n\nKey flags: `--stack-config` (required), `--setup` (`gpt`, `ollama`, `vllm`),\n`--inference-mode` (`replay`, `record`, `record-if-missing`), `--file` (single file),\n`--pattern` (pytest `-k` filter), `--suite` (`base`, `responses`, `vision`),\n`--install-deps` (install missing provider dependencies before running tests),\n`--client-version` (`latest` generates and installs the in-repo ogx-client from\n`client-sdks/openapi`, `published` verifies the uv.lock-resolved PyPI version).\n\nThe runner preflights the provider dependencies for the stack config — the\nsame `ogx stack list-deps <config> | xargs -L1 uv pip install` step CI runs —\nand fails early with the exact install command when any are missing. Pass\n`--install-deps` to install them automatically (this is what CI does).\n\nIf a test fails in replay mode with \"Recording not found\", re-run with\n`--inference-mode record-if-missing` and commit the new recording files.\nRecording locally requires an API key for the provider under test (e.g.\n`OPENAI_API_KEY` for `--setup gpt`). If you do not have a key, repository\nmaintainers can trigger the record workflow on GitHub via\n`.github/workflows/record-integration-tests.yml`.\n\n## Provider Architecture\n\nEach provider implements a protocol (e.g., `Inference`, `Responses`, `VectorIO`) and is\nregistered in `src/ogx/providers/registry/`. Provider specs include:\n\n- `provider_type`: e.g., `remote::openai`, `inline::builtin`\n- `module`: Python module path\n- `config_class`: Pydantic config class path\n- `api_dependencies`: APIs this provider depends on\n- `deprecation_warning`: For deprecated providers (triggers runtime warning)\n\nConfiguration classes must use Pydantic `Field` with `description` parameters —\nthese generate the provider documentation automatically.\n\n## Distribution Configs\n\nDistribution YAML files in `src/ogx/distributions/` are partially auto-generated.\nAfter changing provider configs, run:\n\n```bash\nuv run ./scripts/distro_codegen.py\nuv run ./scripts/provider_codegen.py\n```\n\nDo not edit generated files in `docs/docs/providers/` manually.\n\n## API Changes\n\nWhen modifying or extending APIs:\n\n1. Update models in `src/ogx_api/`\n2. Regenerate OpenAPI specs: `uv run ./scripts/run_openapi_generator.sh`\n3. Check for breaking changes — the pre-commit hook `Check API spec for breaking changes`\n   enforces backward compatibility.\n4. Include a test plan with a testing script and execution output in your PR description.\n\nThe full stability contract — HTTP API levels (`/v1alpha`, `/v1beta`, `/v1`),\nthe two `ogx-api` package surfaces (`ogx_api.types`, `ogx_api.provider`),\nconfig schema rules, and the data storage compatibility guarantees across\nZ/Y/X-stream upgrades — is documented in\n[`docs/docs/concepts/apis/api_leveling.mdx`](docs/docs/concepts/apis/api_leveling.mdx).\nRead it before adding a new API, graduating an API between levels, removing\nor renaming a field on a `v1` datatype, or changing on-disk storage schemas.\n\n## Common Patterns\n\n### Adding a new parameter to an existing API\n\n1. Add the field to the Pydantic model in `src/ogx_api/`\n2. Thread it through the provider protocol and implementation\n3. Update affected distribution configs if needed\n4. Regenerate specs and docs\n5. Add unit test cases covering the new parameter\n\n### Adding a deprecated alias for a renamed provider\n\nUse the existing `deprecation_warning` field on `InlineProviderSpec` or `RemoteProviderSpec`.\nSearch for existing examples: `grep -r \"deprecation_warning\" src/ogx/providers/registry/`\n\n### Before adding any new pattern\n\nSearch the codebase for existing examples of the same pattern first.\nUse `grep` to find how deprecation, validation, configuration, or aliasing is already\nhandled elsewhere.\n\n## Keeping Documentation Up to Date\n\nWhen making code changes, check whether the following documentation needs updating:\n\n- `README.md` — the root README contains an ASCII architecture diagram showing API\n  endpoints, inference providers, vector stores, tools/connectors, and file storage.\n  Update it when adding or removing providers, APIs, or backend integrations.\n- `ARCHITECTURE.md` — system overview, request flow, provider architecture, API layer,\n  storage, configuration, and test recording system\n- Module-level `README.md` files in key directories:\n  - `src/ogx/README.md`, `src/ogx/core/README.md`\n  - `src/ogx/core/server/README.md`, `src/ogx/core/storage/README.md`\n  - `src/ogx/core/routing_tables/README.md`\n  - `src/ogx/providers/README.md`, `src/ogx/providers/inline/README.md`\n  - `src/ogx/providers/remote/README.md`, `src/ogx/providers/registry/README.md`\n  - `src/ogx/providers/utils/README.md`, `src/ogx/providers/utils/inference/README.md`\n  - `src/ogx/providers/inline/agents/README.md`\n  - `src/ogx/providers/remote/inference/README.md`\n  - `src/ogx/distributions/README.md`\n  - `scripts/README.md`\n- `tests/README.md`, `tests/unit/README.md`, `tests/integration/README.md`\n\nThese files help LLMs and new contributors navigate the codebase. If your change\nadds, removes, or renames modules, providers, APIs, or storage backends, update\nthe relevant documentation to stay in sync.\n","ARCHITECTURE.md":"# OGX Architecture\n\nThis document describes the internal architecture of OGX for contributors and AI agents working with the codebase. For user-facing documentation, see [ogx-ai.github.io](https://ogx-ai.github.io/). For contribution guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## System Overview\n\nOGX is a server that exposes a unified API for AI capabilities: inference, responses orchestration, vector storage, tool execution, evaluation, and more. It is provider-agnostic: the same API works whether the backend is Ollama, OpenAI, vLLM, Fireworks, or dozens of other services.\n\nThe codebase is split into two packages:\n\n- **`ogx-api`** (`src/ogx_api/`) -- Lightweight package containing API protocol definitions (Python `Protocol` classes), Pydantic data types, and provider spec definitions. No server code, no provider implementations. Third-party providers depend only on this.\n- **`ogx`** (`src/ogx/`) -- The server implementation: provider resolution, routing, storage, CLI, and all built-in providers.\n- **`ogx-ui`** (`src/ogx_ui/`) -- Optional web UI for the chat playground and admin. Built with Next.js.\n\n## Request Flow\n\n```text\nClient (ogx-client SDK or raw HTTP)\n  |\n  v\nFastAPI Server  (src/ogx/core/server/server.py)\n  |\n  |-- AuthenticationMiddleware  (token validation, user + tenant_id extraction)\n  |-- TenancyMiddleware         (enforces tenancy mode: disabled/single/multi)\n  |-- RouteAuthorizationMiddleware  (route-level access policies)\n  |\n  v\nRoute Dispatch\n  |\n  |-- FastAPI Router routes     (auto-discovered via fastapi_router_registry.py)\n  |\n  v\nRouter  (src/ogx/core/routers/)\n  |\n  |-- Looks up the resource (model, vector store, tool group, etc.) in the RoutingTable\n  |-- Resolves which provider handles this resource\n  |-- Enforces access control policies\n  |\n  v\nProvider Implementation\n  |\n  |-- Inline provider (runs in-process, e.g. meta-reference, sqlite-vec)\n  |-- Remote provider (calls external service, e.g. ollama, openai, fireworks)\n  |\n  v\nExternal Service or Local Computation\n```\n\n### Detailed Flow Example: Chat Completion\n\n1. Client sends `POST /v1/chat/completions` with `model: \"ollama/qwen3.5:0.8b\"`.\n2. `server.py` dispatches to the inference FastAPI router.\n3. The `InferenceRouter` (`core/routers/inference.py`) calls `routing_table.get_provider_impl(model_id)`.\n4. `CommonRoutingTableImpl` looks up the model in `DistributionRegistry`, finds it belongs to provider `ollama`.\n5. The router delegates to the `ollama` provider's `openai_chat_completion()` method.\n6. The Ollama provider (which extends `OpenAIMixin`) creates an `AsyncOpenAI` client pointing at the Ollama server and forwards the request.\n7. The response streams back through the router to the client as SSE events.\n\n## Provider Architecture\n\n### Provider Types\n\n```text\nProvider\n  |\n  |-- InlineProviderSpec    (runs in-process)\n  |     provider_type: \"inline::builtin\"\n  |     module: \"ogx.providers.inline.inference.builtin\"\n  |\n  |-- RemoteProviderSpec    (adapts an external service)\n        provider_type: \"remote::ollama\"\n        module: \"ogx.providers.remote.inference.ollama\"\n```\n\nEach provider spec declares:\n\n- `api` -- which API it implements (e.g., `Api.inference`)\n- `provider_type` -- unique identifier like `\"remote::openai\"`\n- `module` -- Python module with a `get_adapter_impl()` or `get_provider_impl()` function\n- `config_class` -- Pydantic config model for the provider\n- `pip_packages` -- additional dependencies needed at runtime\n\n### Provider Registry\n\n`src/ogx/providers/registry/` contains one file per API (e.g., `inference.py`, `responses.py`). Each file defines an `available_providers()` function that returns all `ProviderSpec` objects for that API. The registry is loaded at startup by `get_provider_registry()` in `core/distribution.py`.\n\n### Provider Resolution\n\nAt startup, `resolve_impls()` in `core/resolver.py`:\n\n1. **Validates** providers declared in the run config against the registry.\n2. **Sorts** providers by dependency order (e.g., agents depends on inference).\n3. **Instantiates** each provider by importing its module and calling its factory function.\n4. **Sets up auto-routing**: for APIs like inference, creates a `RoutingTable` + `Router` pair so multiple providers can serve different models through the same API.\n\n### Auto-Routing\n\nMany APIs use automatic routing. For example, `Api.inference` is paired with `Api.models`:\n\n```text\nApi.models (RoutingTable)  <-->  Api.inference (Router)\n  |                                |\n  |-- ModelsRoutingTable           |-- InferenceRouter\n  |   tracks which provider        |   delegates to correct\n  |   owns which model             |   provider per request\n```\n\nThe full list of auto-routed pairs is defined in `builtin_automatically_routed_apis()` in `core/distribution.py`:\n\n| Routing Table API      | Router API         |\n|------------------------|--------------------|\n| `Api.models`           | `Api.inference`    |\n| `Api.vector_stores`    | `Api.vector_io`    |\n| `Api.web_search_providers` | `Api.web_search` |\n\n## The API Layer (`ogx_api`)\n\nThe `ogx_api` package defines all public-facing types and protocols:\n\n- **Protocols** -- Python `Protocol` classes like `Inference`, `Responses`, `Skills` that define the API contract. HTTP routes are defined via FastAPI routers in `fastapi_routes.py` modules.\n- **Data Types** -- Pydantic models for requests, responses, and resources (e.g., `Model`, `VectorStore`, `ChatCompletionRequest`).\n- **Provider Specs** -- `InlineProviderSpec`, `RemoteProviderSpec`, and related types that define how providers are declared.\n- **Internal utilities** -- KVStore and SqlStore abstract interfaces live here so third-party providers can use them without depending on the full server.\n\nProvider implementations import from `ogx_api` for type definitions and from `ogx.providers.utils` for shared functionality.\n\n## Storage\n\n### Storage Configuration\n\nStorage is configured in the `storage` section of the run config (`StackConfig.storage`). It defines backend references that providers and core services use:\n\n```yaml\nstorage:\n  type: sqlite\n  db_path: ${env.SQLITE_STORE_DIR}/registry.db\n  stores:\n    kvstore:\n      type: kv_sqlite\n      db_path: ${env.SQLITE_STORE_DIR}/kvstore.db\n    inference:\n      type: sql_sqlite\n      db_path: ${env.SQLITE_STORE_DIR}/inference_store.db\n```\n\n### KVStore\n\n`src/ogx/core/storage/kvstore/` provides a key-value store abstraction (`KVStore`) with backends:\n\n| Backend   | Config Class             | Use Case               |\n|-----------|--------------------------|------------------------|\n| SQLite    | `SqliteKVStoreConfig`    | Default, single-node   |\n| Redis     | `RedisKVStoreConfig`     | Multi-node, caching    |\n| PostgreSQL| `PostgresKVStoreConfig`  | Production deployments |\n| MongoDB   | `MongoDBKVStoreConfig`   | Document-oriented      |\n\nUsed by: distribution registry, quota tracking, provider state, skills metadata.\n\n### SqlStore\n\n`src/ogx/core/storage/sqlstore/` provides a SQL store abstraction (`SqlStore`) with SQLAlchemy backends:\n\n| Backend    | Config Class             | Use Case               |\n|------------|--------------------------|------------------------|\n| SQLite     | `SqliteSqlStoreConfig`   | Default, single-node   |\n| PostgreSQL | `PostgresSqlStoreConfig` | Production deployments |\n\nUsed by: inference store (chat completion logs), conversations, prompts.\n\n### AuthorizedSqlStore and Tenant Isolation\n\n`AuthorizedSqlStore` wraps a `SqlStore` and adds two independent enforcement layers:\n\n1. **Tenant isolation** -- a non-bypassable `WHERE tenant_id = ?` filter applied before any access control check. When tenancy is enabled (`single` or `multi` mode), every table gets a `tenant_id` column. Writes stamp the authenticated user's tenant_id; reads and mutations are scoped to it. Missing tenant context in `multi` mode produces a `1=0` clause (default deny -- see nothing).\n\n2. **ABAC (Attribute-Based Access Control)** -- `owner_principal` and `access_attributes` columns enable policy-based rules like `user is owner`. This operates within a tenant, not across tenants.\n\nTenancy mode is set process-wide during `Stack.initialize()` via `set_default_tenancy_mode()`, so existing call sites using the `authorized_sqlstore()` factory work without changes.\n\n### Distribution Registry\n\n`src/ogx/core/store/` implements `DistributionRegistry`, which tracks all registered resources (models, vector stores, tool groups, prompts, etc.) across providers. It persists to the configured KVStore so resources survive server restarts.\n\n## Configuration\n\n### Run Config (`StackConfig`)\n\nA YAML file that defines everything about a running OGX instance:\n\n```yaml\nversion: 2\ndistro_name: starter\napis:\n  - inference\n  - responses\n  - vector_io\n  # ...\nproviders:\n  inference:\n    - provider_id: ollama\n      provider_type: remote::ollama\n      config:\n        base_url: ${env.OLLAMA_URL:=http://localhost:11434/v1}\nstorage:\n  type: sqlite\n  db_path: ...\n```\n\nKey features:\n\n- **Environment variable substitution**: `${env.VAR_NAME:=default}` syntax for config values.\n- **Conditional providers**: `${env.API_KEY:+provider_id}` syntax enables a provider only when a variable is set.\n- **Multiple providers per API**: e.g., both `ollama` and `openai` can serve inference, each handling different models.\n- **Explicit HTTP surface**: `apis:` lists the APIs served over HTTP. An explicit list is\n  authoritative, including when it is empty; omitting the key serves everything the\n  providers supply. It gates route registration only — omitted APIs are still resolved\n  in-process for providers that depend on them. The stack administration APIs (`admin`,\n  `inspect`, `providers`) are always served, and serving `responses` also serves\n  `conversations` and `prompts`.\n\n### Distributions\n\nA distribution is a pre-built configuration that bundles specific providers for a target environment. Think of it like Kubernetes distributions (AKS, EKS, GKE): the core API stays the same, but each distribution wires different backends. `src/ogx/distributions/` contains these configurations (e.g., `starter`, `nvidia`). Each distribution directory has:\n\n- `config.yaml` -- the run config\n- Templates and codegen support via `template.py`\n\n### Build Config\n\nUsed by `ogx build` to create container images. Declares which providers to include and what packages to install. Versioned separately from the run config.\n\n## Recording and Replay Test System\n\nIntegration tests use a record/replay system (`src/ogx/testing/api_recorder.py`) that intercepts OpenAI client calls to record real API responses, then replays them for fast, deterministic CI runs.\n\n### How It Works\n\n1. **Recording**: Tests run against a real server. The `APIRecorder` monkey-patches `OpenAI` client methods to capture every request/response pair. Responses are stored as JSON files under `tests/integration/recordings/`.\n\n2. **Replay**: In CI, tests run in replay mode. The recorder matches incoming requests to stored responses by hashing the request parameters, returning cached responses instead of making real API calls.\n\n3. **Modes** (controlled by `--inference-mode` or `OGX_TEST_INFERENCE_MODE`):\n   - `replay` (default) -- use cached responses\n   - `record` -- force-record all interactions\n   - `record-if-missing` -- record only when no cached response exists\n   - `live` -- bypass recording entirely, make real calls\n\n4. **Deterministic IDs**: The recorder overrides ID generation (`set_id_override()`) during replay so that resource IDs (files, vector stores, etc.) are reproducible across runs.\n\n### Recording Storage\n\nRecordings live in `tests/integration/recordings/` organized by provider and test. Each recording is a JSON file containing the serialized request parameters and response. An SQLite index maps requests to response files.\n\nFor more details, see `tests/README.md` and `tests/integration/README.md`.\n\n## Key Classes and Entry Points\n\n| Component | Location | Purpose |\n|-----------|----------|---------|\n| `OGX` | `core/stack.py` | Composite class implementing all API protocols |\n| `Stack` | `core/stack.py` | Initialization, resource registration, lifecycle |\n| `StackApp` | `core/server/server.py` | FastAPI app wrapper |\n| `resolve_impls()` | `core/resolver.py` | Provider instantiation and dependency resolution |\n| `CommonRoutingTableImpl` | `core/routing_tables/common.py` | Base routing table for all auto-routed APIs |\n| `InferenceRouter` | `core/routers/inference.py` | Routes inference calls to correct provider |\n| `OpenAIMixin` | `providers/utils/inference/openai_mixin.py` | Shared OpenAI-compatible client logic |\n| `get_provider_registry()` | `core/distribution.py` | Loads all available provider specs |\n| `APIRecorder` | `testing/api_recorder.py` | Record/replay test infrastructure |\n\n## Directory Map\n\n```text\nsrc/\n  ogx_api/          # API definitions package (separate pip package)\n    inference/              # Inference protocol, models, FastAPI routes\n    responses/              # Responses API protocol and routes\n    datatypes.py            # Shared data types\n    providers/              # Provider spec types\n    internal/               # KVStore/SqlStore interfaces\n  ogx/              # Server implementation\n    core/\n      server/               # FastAPI server, auth, routing\n      routers/              # API-specific routers (inference, responses, etc.)\n      routing_tables/       # Resource-to-provider mapping\n      storage/              # KVStore and SqlStore backends\n      store/                # Distribution registry\n      resolver.py           # Provider resolution engine\n      distribution.py       # Provider registry loading\n      stack.py              # Stack initialization and lifecycle\n    providers/\n      inline/               # In-process provider implementations\n      remote/               # Remote service adapters\n      registry/             # Provider spec declarations\n      utils/                # Shared provider utilities\n    distributions/          # Pre-built distribution configs\n    cli/                    # CLI commands (ogx stack run, build, etc.)\n    testing/                # Test infrastructure (api_recorder)\ntests/\n  unit/                     # Fast, isolated tests\n  integration/              # End-to-end tests with record/replay\n    recordings/             # Cached API responses\n```\n","tests/integration/agents/recordings/0b2b172f0f123d1af9ecf059e37e566f53dade988415f9f8578326f41e423cd5.json":"{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_function_call_output_response_with_none_arguments[txt=ollama/qwen3.5:0.8b]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"what's the current time? You MUST call the `get_current_time` function to find out.\"\n        }\n      ],\n      \"parallel_tool_calls\": true,\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      },\n      \"tools\": [\n        {\n          \"type\": \"function\",\n          \"function\": {\n            \"type\": \"function\",\n            \"name\": \"get_current_time\",\n            \"description\": \"Get the current time\",\n            \"parameters\": {}\n          }\n        }\n      ]\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.31.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" current\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" time\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" need\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" use\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_current\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_time\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" as\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" instructed\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" This\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" direct\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" request\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" that\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" doesn\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"'t\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" require\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" any\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" additional\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" parameters\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" or\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" tools\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": [\n                  {\n                    \"index\": 0,\n                    \"id\": \"call_abpvebbz\",\n                    \"function\": {\n                      \"arguments\": \"{}\",\n                      \"name\": \"get_current_time\"\n                    },\n                    \"type\": \"function\"\n                  }\n                ]\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": null,\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null\n              },\n              \"index\": 0,\n              \"finish_reason\": \"tool_calls\",\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": {\n            \"completion_tokens\": 54,\n            \"prompt_tokens\": 270,\n            \"total_tokens\": 324,\n            \"completion_tokens_details\": null,\n            \"prompt_tokens_details\": {\n              \"audio_tokens\": null,\n              \"cache_write_tokens\": null,\n              \"cached_tokens\": 0,\n              \"image_tokens\": null,\n              \"text_tokens\": null\n            }\n          },\n          \"timings\": {\n            \"prompt_n\": 270,\n            \"prompt_ms\": 2595,\n            \"prompt_per_token_ms\": 9.61111111111111,\n            \"prompt_per_second\": 104.04624277456648,\n            \"predicted_n\": 54,\n            \"predicted_ms\": 2863,\n            \"predicted_per_token_ms\": 53.01851851851852,\n            \"predicted_per_second\": 18.861334264757247\n          }\n        }\n      }\n    ],\n    \"is_streaming\": true\n  },\n  \"id_normalization_mapping\": {}\n}\n","tests/integration/agents/recordings/156e7e73dc52adad8ba6a8481adbce15a383633ac951d883cd4f18cd7d66cba9.json":"{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_responses_store[openai_client-txt=ollama/qwen3.5:0.8b-tools1-False]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"What's the weather in Tokyo? YOU MUST USE THE get_weather function to get the weather.\"\n        }\n      ],\n      \"parallel_tool_calls\": true,\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      },\n      \"tools\": [\n        {\n          \"type\": \"function\",\n          \"function\": {\n            \"type\": \"function\",\n            \"name\": \"get_weather\",\n            \"description\": \"Get the weather in a given city\",\n            \"parameters\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"city\": {\n                  \"type\": \"string\",\n                  \"description\": \"The city to get the weather for\"\n                }\n              }\n            }\n          }\n        }\n      ]\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.31.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" information\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" in\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Tokyo\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" but\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" wants\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" me\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" use\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" retrieve\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" it\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" need\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" check\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" if\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" there\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"'s\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" way\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" do\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" this\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" since\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" only\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" have\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" access\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" single\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" API\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" call\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" tool\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" (\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"),\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" can\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" call\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" that\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_o","docs/docs/references/python_sdk_reference/migration.md":"---\ntitle: \"Migrating to ogx_client 1.1.4: The Complete Reference\"\nsidebar_label: \"Migration Guide (1.1.4)\"\n---\n\nThis is the complete migration reference for moving from `ogx_client` <= 1.1.3 (Stainless-generated) to `ogx_client` >= 1.1.4 (OpenAPI-generator-generated). For background on why we made this change, see [The OGX Python SDK Has a New Foundation](https://ogx-ai.github.io/blog/python-sdk-new-foundation).\n\n## TL;DR\n\nFor most codebases, this migration is **a search-and-replace**. The package name\nstays the same (`ogx_client`), the API methods accept the same keyword\narguments, list responses are still iterable, streaming works the same way, and\nexceptions have the same names.\n\nThe one thing you will definitely do:\n\n1. **Replace the type import path and names**:\n   `from ogx_client.types import ResponseObject` -> `from ogx_client.models import OpenAIResponseObject`\n\nEverything else in this document covers edge cases and advanced usage that most\ncode does not touch. The sections below are ordered by how likely they are to\naffect you.\n\n---\n\n## 1. Import Path Changes\n\nThe package name stays `ogx_client` -- you do not need to change your top-level\nimports of `OgxClient` or `AsyncOgxClient`. However, the `types` sub-package\nhas been renamed to `models`:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client import OgxClient\nfrom ogx_client.types import ResponseObject\n\n# After (>= 1.1.4)\nfrom ogx_client import OgxClient  # unchanged\nfrom ogx_client.models import OpenAIResponseObject\n```\n\nAll models now live in a single flat namespace -- there are no sub-packages like\n`types.shared`, `types.alpha`, `types.chat`, etc.\n\n```python\n# Before (<= 1.1.3) -- types scattered across sub-packages\nfrom ogx_client.types import ResponseObject\nfrom ogx_client.types.shared import HealthInfo\nfrom ogx_client.types.alpha import InferenceRerankResponse\nfrom ogx_client.types.chat import CompletionCreateResponse\nfrom ogx_client.types.vector_stores import VectorStoreFile\n\n# After (>= 1.1.4) -- everything from one place\nfrom ogx_client.models import (\n    OpenAIResponseObject,\n    HealthInfo,\n    RerankResponse,\n    OpenAIChatCompletion,\n    VectorStoreFileObject,\n)\n```\n\nThe `Client` and `AsyncClient` short aliases no longer exist. Use `OgxClient`\nand `AsyncOgxClient`.\n\n---\n\n## 2. Type and Model Name Changes\n\nMany types have been renamed in >= 1.1.4. The actual data and fields on these\ntypes are the same -- only the class names changed. Here are the patterns:\n\n- **`OpenAI` prefix added** to types that wrap OpenAI-compatible API objects\n- **`Object` suffix added** to resource types (e.g., `VectorStore` -> `VectorStoreObject`)\n- **Per-operation wrappers collapsed** (e.g., `BatchCreateResponse` / `BatchRetrieveResponse` / `BatchCancelResponse` all become `Batch`)\n\n### Core Resource Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `File` | `OpenAIFileObject` |\n| `Model` | `OpenAIModel` |\n| `Prompt` | `Prompt` |\n| `VectorStore` | `VectorStoreObject` |\n| `ResponseObject` | `OpenAIResponseObject` |\n| `ResponseMessage` | `OpenAIResponseMessage` |\n| `CompactedResponse` | `OpenAICompactedResponse` |\n| `ResponseObjectStream` | `OpenAIResponseObjectStream` |\n| `ConversationObject` | `Conversation` |\n| `ChatCompletionChunk` | `OpenAIChatCompletionChunk` |\n| `CompletionCreateResponse` | `OpenAICompletion` |\n| `CreateEmbeddingsResponse` | `OpenAIEmbeddingsResponse` |\n| `QueryChunksResponse` | `QueryChunksResponse` |\n\n### Delete Response Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `DeleteFileResponse` | `OpenAIFileDeleteResponse` |\n| `ResponseDeleteResponse` | `OpenAIDeleteResponseObject` |\n| `ConversationDeleteResponse` | `ConversationDeletedResource` |\n| `VectorStoreDeleteResponse` | `VectorStoreDeleteResponse` |\n| `VectorStoreSearchResponse` | `VectorStoreSearchResponse` |\n\n### Batch Types (collapsed)\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `BatchCreateResponse` | `Batch` |\n| `BatchRetrieveResponse` | `Batch` |\n| `BatchListResponse` | `Batch` |\n| `BatchCancelResponse` | `Batch` |\n\n### List Response Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `ModelListResponse` | `ListModelsV1ModelsGet200Response` |\n| `ModelRetrieveResponse` | `GetModelV1ModelsModelIdGet200Response` |\n| `ListModelsResponse` | `ListModelsResponse` |\n| `ListFilesResponse` | `ListOpenAIFileResponse` |\n| `ListPromptsResponse` | `ListPromptsResponse` |\n| `ListVectorStoresResponse` | `VectorStoreListResponse` |\n| `ResponseListResponse` | `OpenAIResponseObject` (items of `ListOpenAIResponseObject`) |\n| `PromptListResponse` | `ListPromptsResponse` |\n| `ProviderListResponse` | `ListProvidersResponse` |\n| `RouteListResponse` | `ListRoutesResponse` |\n\n### Shared Types (moved from `types.shared` to flat `models`)\n\n| `ogx_client.types.shared.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-----------------------------------------|-----------------------------------|\n| `ParamType` | `ParamType` |\n| `RouteInfo` | `RouteInfo` |\n| `HealthInfo` | `HealthInfo` |\n| `VersionInfo` | `VersionInfo` |\n| `ProviderInfo` | `ProviderInfo` |\n| `SystemMessage` | `SystemMessage` |\n| `SamplingParams` | `SamplingParams` |\n| `InterleavedContent` | `InterleavedContent` |\n| `InterleavedContentItem` | `InterleavedContentItem` |\n| `ListRoutesResponse` | `ListRoutesResponse` |\n| `ListProvidersResponse` | `ListProvidersResponse` |\n\n### Alpha Types\n\n| `ogx_client.types.alpha.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------------|-----------------------------------|\n| `InferenceRerankResponse` | `RerankResponse` |\n| `InferenceRerankParams` | `RerankRequest` |\n| `AdminListRoutesParams` | `ListRoutesRequest` |\n\n### Chat Types\n\n| `ogx_client.types.chat.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|---------------------------------------|-----------------------------------|\n| `CompletionCreateResponse` | `OpenAIChatCompletion` |\n| `CompletionRetrieveResponse` | `OpenAIChatCompletion` |\n| `CompletionListResponse` | `ListOpenAIChatCompletionResponse` |\n| `CompletionCreateParams` | `OpenAIChatCompletionRequestWithExtraBody` |\n| `CompletionListParams` | `ListChatCompletionsRequest` |\n\n### Chat Completions Sub-types\n\n| `ogx_client.types.chat.completions.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|---------------------------------------------------|-----------------------------------|\n| `MessageListResponse` | `ChatCompletionMessage` |\n| `MessageListParams` | `ListChatCompletionMessagesRequest` |\n\n### Conversations Types\n\n| `ogx_client.types.conversations.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|------------------------------------------------|-----------------------------------|\n| `ItemGetResponse` | `ConversationItem` |\n| `ItemCreateResponse` | `ConversationItem` |\n| `ItemListResponse` | `ConversationItemList` |\n| `ItemCreateParams` | `ConversationItemCreateRequest` |\n| `ItemListParams` | `ListItemsRequest` |\n| `ItemGetParams` | `RetrieveItemRequest` |\n\n### Models Sub-types\n\n| `ogx_client.types.models.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-----------------------------------------|-----------------------------------|\n| `OpenAIListResponse` | `OpenAIListModelsResponse` |\n\n### Responses Sub-types\n\n| `ogx_client.types.responses.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|--------------------------------------------|-----------------------------------|\n| `InputItemListResponse` | `ListOpenAIResponseInputItem` |\n\n### Vector Stores Sub-types\n\n| `ogx_client.types.vector_stores.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-------------------------------------------------|-----------------------------------|\n| `VectorStoreFile` | `VectorStoreFileObject` |\n| `VectorStoreFileBatches` | `VectorStoreFileBatchObject` |\n| `FileDeleteResponse` | `VectorStoreFileDeleteResponse` |\n| `FileContentResponse` | `VectorStoreFileContentResponse` |\n| `ListVectorStoreFilesInBatchResponse` | `VectorStoreFilesListInBatchResponse` |\n| `FileCreateParams` | `OpenAIAttachFileRequest` |\n| `FileUpdateParams` | `OpenAIUpdateVectorStoreFileRequest` |\n| `FileBatchCreateParams` | `OpenAICreateVectorStoreFileBatchRequestWithExtraBody` |\n\n---\n\n## 3. Environment Variables and `api_key`\n\n**No migration needed.** >= 1.1.4 reads the same environment variables as\n<= 1.1.3:\n\n| Environment Variable | Behavior |\n|---------------------|----------|\n| `OGX_CLIENT_BASE_URL` | Auto-inferred for `base_url` |\n| `OGX_CLIENT_CUSTOM_HEADERS` | Parsed and merged into default headers |\n| `OGX_CLIENT_API_KEY` | Sets `Authorization: Bearer <key>` header |\n\nThe `api_key` constructor parameter also works the same way. When provided\n(via constructor arg or `OGX_CLIENT_API_KEY` env var), it sets an\n`Authorization: Bearer` header. Constructor args take precedence over env\nvars.\n\n```python\n# All of these work in >= 1.1.4 just as they did in <= 1.1.3\nclient = OgxClient(base_url=\"http://localhost:8321\")\nclient = OgxClient(api_key=\"my-key\")\nclient = OgxClient(base_url=\"http://localhost:8321\", api_key=\"my-key\")\n```\n\n---\n\n## 4. List and Pagination Responses\n\n**Only affects you if** you were relying on `SyncOpenAICursorPage`'s\nauto-pagination to transparently fetch all pages across multiple API calls.\n\n### What still works\n\nBasic iteration over list results works identically:\n\n```python\n# This works in both versions\nfor file in client.files.list():\n    print(file.id)\n```\n\nThe new list response objects implement `__iter__`, `__getitem__`, and `__len__`,\nall delegating to their internal `.data` list. So `for item in result`,\n`result[0]`, and `len(result)` all work.\n\n### What changed\n\n<= 1.1.3 used `SyncOpenAICursorPage[T]` for some endpoints -- an\nauto-paginating iterator that transparently made additional API calls when you\niterated past the current page. >= 1.1.4 returns one page at a time.\nIf you have more data than fits in one page, you need to paginate manually:\n\n```python\nresult = client.files.list()\n# process result...\nwhile result.has_more:\n    result = client.files.list(after=result.last_id)\n    # process next page...\n```\n\nIn practice, most code fetches a single page and does not rely on\nauto-pagination. If your lists are small enough to fit in one response (the\ncommon case), the behavior is identical.\n\n### Return type changes per endpoint\n\n| Method | <= 1.1.3 return | >= 1.1.4 return |\n|--------|----------------|----------------|\n| `responses.list()` | `SyncOpenAICursorPage[ResponseListResponse]` | `ListOpenAIResponseObject` |\n| `responses.create()` | `ResponseObject` | `OpenAIResponseObject` |\n| `files.list()` | `SyncOpenAICursorPage[File]` | `ListOpenAIFileResponse` |\n| `batches.list()` | `SyncOpenAICursorPage[BatchListResponse]` | `ListBatchesResponse` |\n| `vector_stores.list()` | `SyncOpenAICursorPage[VectorStore]` | `VectorStoreListResponse` |\n| `vector_stores.files.list()` | `SyncOpenAICursorPage[VectorStoreFile]` | `VectorStoreListFilesResponse` |\n| `conversations.items.list()` | `SyncOpenAICursorPage[ItemListResponse]` | `ConversationItemList` |\n| `chat.completions.messages.list()` | `SyncOpenAICursorPage[MessageListResponse]` | `ChatCompletionMessageList` |\n| `models.list()` | `ModelListResponse` (TypeAlias Union) | `ListModelsV1ModelsGet200Response` (OneOf wrapper) |\n| `chat.completions.list()` | `CompletionListResponse` | `ListOpenAIChatCompletionResponse` |\n| `providers.list()` | `ProviderListResponse` (`TypeAlias = List[ProviderInfo]`) | `ListProvidersResponse` |\n| `routes.list()` | `RouteListResponse` (`TypeAlias = List[RouteInfo]`) | `ListRoutesResponse` |\n| `prompts.list()` | `PromptListResponse` (`TypeAlias = List[Prompt]`) | `ListPromptsResponse` |\n\n### TypeAlias lists replaced by wrapper objects\n\nA few endpoints in <= 1.1.3 returned plain Python lists via TypeAliases\n(e.g., `ProviderListResponse = List[ProviderInfo]`). These are now Pydantic\nmodels with a `.data` field. If you were treating the result as a bare list,\naccess `.data` or iterate (which delegates to `.data`):\n\n```python\n# Before -- was a plain list\nproviders = client.providers.list()  # List[ProviderInfo]\nfirst = providers[0]\n\n# After -- wrapper object, but iteration/indexing still works\nproviders = client.providers.list()  # ListProvidersResponse\nfirst = providers[0]  # works via __getitem__\nfirst = providers.data[0]  # also works\n```\n\n---\n\n## 5. Removed Client Features\n\n**Only affects you if** you used these specific patterns.\n\n### `client.copy()` / `client.with_options()`\n\nNo longer available. Create a new client instead.\n\n```python\n# Before\nnew_client = client.copy(base_url=\"http://other-server:8321\")\n\n# After\nnew_client = OgxClient(base_url=\"http://other-server:8321\")\n```\n\n### `client.with_raw_response`\n\nNo longer available. Use `*_with_http_info()` method variants:\n\n```python\n# Before\nraw = client.with_raw_response.responses.retrieve(\"resp-123\")\nraw.status_code\nraw.headers\nparsed = raw.parse()\n\n# After\nresp = client.responses.retrieve_with_http_info(\"resp-123\")\nresp.status_code\nresp.headers\nresp.data  # already parsed\n```\n\n### `client.with_streaming_response`\n\nNo longer available. Use `*_without_preload_content()` method variants:\n\n```python\n# Before\nwith client.with_streaming_response.files.content(\"file-abc\") as response:\n    for chunk in response.iter_bytes():\n        ...\n\n# After\nresponse = client.files.content_without_preload_content(\"file-abc\")\n```\n\n### `file_from_path` utility\n\nNo longer available in >= 1.1.4. Use standard Python file I/O:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client import file_from_path\n\n# After (>= 1.1.4)\nwith open(\"path/to/file\", \"rb\") as f:\n    client.files.create(file=f, purpose=\"assistants\")\n```\n\n### `aiohttp` backend\n\nThe optional `[aiohttp]` backend for `AsyncOgxClient` is no longer available\nin >= 1.1.4. `httpx.AsyncClient` is used exclusively.\n\n---\n\n## 6. Exception Attribute Changes\n\n**Only affects you if** you catch SDK exceptions and inspect their attributes\n(status code, response body, etc.). If you only catch them by type (e.g.,\n`except NotFoundError:`), nothing changes -- the class names are the same.\n\n### Catching by type still works\n\n```python\n# Works identically in both versions\nfrom ogx_client import NotFoundError, BadRequestError, RateLimitError\n\ntry:\n    client.models.retrieve(\"nonexistent\")\nexcept NotFoundError:\n    print(\"not found\")\n```\n\n### Attribute names changed\n\n| What you want | <= 1.1.3 | >= 1.1.4 |\n|---------------|----------|----------|\n| HTTP status code | `e.status_code` | `e.status` (also available as `e.status_code`) |\n| Full HTTP response | `e.response` (`httpx.Response`) | Not available (individual fields below) |\n| Response headers | `e.response.headers` | `e.headers` |\n| Response body | `e.body` (parsed JSON or None) | `e.body` (raw string) |\n| Error message | `e.message` | `e.message` (also available as `e.reason`) |\n| HTTP request | `e.request` | Not available |\n\n```python\ntry:\n    client.models.retrieve(\"nonexistent\")\n# Before\nexcept NotFoundError as e:\n    print(e.status_code)  # 404\n    print(e.response)  # httpx.Response\n\n# After\nexcept NotFoundError as e:\n    print(e.status)  # 404\n    print(e.body)  # raw body string\n    print(e.headers)  # response headers dict\n```\n\n### Exception hierarchy\n\n<= 1.1.3 had one hierarchy rooted at `OgxClientError -> APIError`.\n>= 1.1.4 has two coexisting hierarchies:\n\n**Primary (used by default):**\n\n```text\nOpenApiException\n  -> ApiException -> BadRequestException, NotFoundException, ...\n```\n\nThe familiar names (`BadRequestError`, `NotFoundError`, etc.) are **aliases**\nfor the `*Exception` classes. `from ogx_client import BadRequestError`\ngives you `BadRequestException` under the hood.\n\n**Secondary (Stainless-compatible, also importable):**\n\n```text\nOgxClientError -> APIError -> APIStatusError -> BadRequestError, ...\n```\n\nIf you were catching `APIStatusError` or `OgxClientError` as a base class,\nnote that the primary hierarchy uses `ApiException` / `OpenApiException` instead.\n\n---\n\n## 7. Client Initialization\n\n**This is mostly backward-compatible.** `base_url=` still works.\n\n>= 1.1.4 adds a `configuration` parameter as an alternative way to pass a URL\nstring or a full `Configuration` object:\n\n```python\nfrom ogx_client import OgxClient, Configuration\n\n# All three are equivalent:\nclient = OgxClient(base_url=\"http://localhost:8321\")\nclient = OgxClient(configuration=\"http://localhost:8321\")\nclient = OgxClient(configuration=Configuration(host=\"http://localhost:8321\"))\n\n# Configuration gives access to more options:\nconfig = Configuration(host=\"http://localhost:8321\", timeout=30, retries=3, http2=True)\nclient = OgxClient(configuration=config)\n```\n\n### Constructor parameter comparison\n\n| Parameter | <= 1.1.3 | >= 1.1.4 |\n|-----------|----------|----------|\n| `base_url` | Direct param | Direct param (forwarded to `Configuration`) |\n| `api_key` | Direct param (sets `Authorization: Bearer` header) | Direct param (same behavior) |\n| `default_headers` | Direct param | Direct param |\n| `timeout` | Direct param (`float \\| Timeout`) | Via `**kwargs` or `Configuration(timeout=...)` |\n| `max_retries` | Direct param (default: 2) | Via `**kwargs` or `Configuration(retries=...)` |\n| `http_client` | Direct param (`httpx.Client`) | Not supported |\n| `default_query` | Direct param | Not supported |\n| `configuration` | Not supported | **New** -- accepts `Configuration` object or string URL |\n| `header_name`/`header_value` | Not supported | Supported (single-header auth) |\n| `cookie` | Not supported | Supported |\n\n---\n\n## 8. API Method Calling Convention\n\n**This is backward-compatible for the common case.** If you call methods with\nkeyword arguments (the normal way), nothing changes:\n\n```python\n# Works identically in both versions\nresponse = client.responses.create(model=\"gpt-4o\", input=\"Hello, world!\")\n```\n\n>= 1.1.4 additionally accepts a request body object as the first positional\nargument:\n\n```python\n# New option (not available in <= 1.1.3)\nfrom ogx_client.models import CreateResponseRequest\n\nrequest = CreateResponseRequest(model=\"gpt-4o\", input=\"Hello, world!\")\nresponse = client.responses.create(request)\n```\n\n### Minor differences (unlikely to matter)\n\n- <= 1.1.3 enforced keyword-only arguments via `*`. >= 1.1.4 does not --\n  but since nobody passes positional args to these methods, this is invisible.\n- <= 1.1.3 used an `omit` sentinel to distinguish \"not provided\" from\n  `None`. >= 1.1.4 uses `None` as the default. In practice the server\n  treats both the same way.\n- Both versions support `extra_body` for sending additional fields.\n\n---\n\n## 9. Streaming Internals\n\n**The usage pattern is identical.** Only internal details changed.\n\n```python\n# Works identically in both versions\nstream = client.responses.create(model=\"gpt-4o\", input=\"Hello\", stream=True)\nfor event in stream:\n    print(event)\n```\n\nThe stream event type names changed (same rename pattern as other types):\n\n| <= 1.1.3 | >= 1.1.4 |\n|----------|----------|\n| `ResponseObjectStream` | `OpenAIResponseObjectStream` |\n| `ChatCompletionChunk` | `OpenAIChatCompletionChunk` |\n\nOther differences that only matter if you inspect stream internals:\n\n| Aspect | <= 1.1.3 | >= 1.1.4 |\n|--------|----------|----------|\n| Error in stream | Raises `APIError` | Silently caught |\n| `response` attribute | `stream.response` (public) | `stream._response` (private) |\n| `status_code` | `stream.response.status_code` | `stream.status_code` |\n| `headers` | `stream.response.headers` | `stream.headers` |\n| `until_done()` | Not available | Available |\n\n---\n\n## 10. APIResponse Changes\n\n**Only affects you if** you used `client.with_raw_response` (see\n[Section 5](#5-removed-client-features)).\n\n<= 1.1.3's `APIResponse` was a wrapper around a live `httpx.Response` with\nlazy parsing via `.parse()`.\n\n>= 1.1.4's `ApiResponse` is a **Pydantic BaseModel** with the data\nalready parsed:\n\n```python\n# After (via *_with_http_info methods)\nresp = client.responses.create_with_http_info(...)\nresp.status_code  # int\nresp.headers  # Mapping[str, str]\nresp.data  # already-parsed model\nresp.raw_data  # raw bytes\n```\n\n---\n\n## 11. Params Types Replaced by Request Models\n\n**Only affects you if** you explicitly imported `*Params` TypedDict types for\ntype annotations or static analysis.\n\n<= 1.1.3 provided TypedDict classes (named `*Params`) for type-checking\nmethod arguments. Most users never imported these -- they just passed keyword\narguments directly.\n\n>= 1.1.4 replaces them with Pydantic `BaseModel` classes (named\n`*Request`). If you referenced Params types in your code:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client.types import ResponseCreateParams\n\n\ndef my_func(params: ResponseCreateParams) -> None: ...\n\n\n# After (>= 1.1.4)\nfrom ogx_client.models import CreateResponseRequest\n\n\ndef my_func(params: CreateResponseRequest) -> None: ...\n```\n\nFull mapping:\n\n| <= 1.1.3 (TypedDict) | >= 1.1.4 (BaseModel) |\n|----------------------|----------------------|\n| `ResponseCreateParams` | `CreateResponseRequest` |\n| `ResponseCompactParams` | `CompactResponseRequest` |\n| `EmbeddingCreateParams` | `OpenAIEmbeddingsRequestWithExtraBody` |\n| `CompletionCreateParams` (top-level) | `OpenAICompletionRequestWithExtraBody` |\n| `chat.CompletionCreateParams` | `OpenAIChatCompletionRequestWithExtraBody` |\n| `BatchCreateParams` | `CreateBatchRequest` |\n| `BatchListParams` | `ListBatchesRequest` |\n| `FileCreateParams` | `UploadFileRequest` |\n| `FileListParams` | `ListFilesRequest` |\n| `VectorStoreCreateParams` | `OpenAICreateVectorStoreRequestWithExtraBody` |\n| `VectorStoreUpdateParams` | `OpenAIUpdateVectorStoreRequest` |\n| `VectorStoreSearchParams` | `OpenAISearchVectorStoreRequest` |\n| `VectorIoInsertParams` | `InsertChunksRequest` |\n| `VectorIoQueryParams` | `QueryChunksRequest` |\n| `ConversationCreateParams` | `CreateConversationRequest` |\n| `ConversationUpdateParams` | `UpdateConversationRequest` |\n| `PromptCreateParams` | `CreatePromptRequest` |\n| `PromptUpdateParams` | `UpdatePromptRequest` |\n| `PromptRetrieveParams` | `GetPromptRequest` |\n| `PromptSetDefaultVersionParams` | `SetDefaultVersionRequest` |\n| `alpha.InferenceRerankParams` | `RerankRequest` |\n| `alpha.AdminListRoutesParams` | `ListRoutesRequest` |\n| `vector_stores.FileCreateParams` | `OpenAIAttachFileRequest` |\n| `vector_stores.FileUpdateParams` | `OpenAIUpdateVectorStoreFileRequest` |\n| `vector_stores.FileBatchCreateParams` | `OpenAICreateVectorStoreFileBatchRequestWithExtraBody` |\n| `conversations.ItemCreateParams` | `ConversationItemCreateRequest` |\n| `conversations.ItemListParams` | `ListItemsRequest` |\n| `conversations.ItemGetParams` | `RetrieveItemRequest` |\n| `chat.CompletionListParams` | `ListChatCompletionsRequest` |\n| `chat.completions.MessageListParams` | `ListChatCompletionMessagesRequest` |\n\n---\n\n## 12. Async Client Changes\n\n**Backward-compatible.** Usage is the same:\n\n```python\nfrom ogx_client import AsyncOgxClient\n\nasync_client = AsyncOgxClient(base_url=\"http://localhost:8321\")\nresponse = await async_client.responses.create(model=\"gpt-4o\", input=\"Hello\")\n```\n\nThe `Client` and `AsyncClient` short aliases are gone -- use `OgxClient` and\n`AsyncOgxClient`.\n\nThe optional `aiohttp` backend is no longer available in >= 1.1.4.\n`httpx.AsyncClient` is used exclusively.\n\n---\n\n## 13. Dependencies and Python Version\n\n| Dependency | <= 1.1.3 | >= 1.1.4 |\n|-----------|----------|----------|\n| Python | >= 3.9 | **>= 3.13** |\n| `httpx` | >= 0.23.0, < 1 | >= 0.28.1 |\n| `pydantic` | >= 1.9.0, < 3 | **>= 2** |\n| `anyio` | >= 3.5.0, < 5 | Not required |\n| `distro` | >= 1.7.0, < 2 | Not required |\n| `sniffio` | Required | Not required |\n| `tqdm` | Required | Not required |\n| `typing-extensions` | >= 4.14, < 5 | >= 4.7.1 |\n| `python-dateutil` | Not required | >= 2.8.2 |\n\nIf you are on Python 3.9--3.12, you must upgrade to 3.13+. If you are on\nPydantic v1, you must upgrade to v2. Both versions use **httpx** as the HTTP\nclient.\n\n---\n\n## Quick Migration Checklist\n\n**Everyone:**\n\n- [ ] Upgrade Python to 3.13+ and Pydantic to 2.x (if not already)\n- [ ] Upgrade `ogx_client` to >= 1.1.4 in `pip install` / `pyproject.toml`\n- [ ] Replace `from ogx_client.types` -> `from ogx_client.models` in all imports\n- [ ] Update type names per the [mapping tables](#2-type-and-model-name-changes)\n\n**If applicable:**\n\n- [ ] Replace `client.with_raw_response` with `*_with_http_info()` methods\n- [ ] Replace `client.copy()` / `client.with_options()` with new client creation\n- [ ] Add manual pagination if you relied on `SyncOpenAICursorPage` auto-pagination\n- [ ] Update `e.status_code` -> `e.status` if you inspect exception attributes\n","docs/docs/references/ogx_cli_reference/download_models.md":"# Downloading Models\n\nThe `ogx` CLI tool helps you setup and use the OGX. It should be available on your path after installing the `ogx` package.\n\n## Installation\n\nYou have two ways to install OGX:\n\n1. **Install as a package**:\n   You can install the repository directly from [PyPI](https://pypi.org/project/ogx/) by running the following command:\n\n   ```bash\n   pip install ogx\n   ```\n\n2. **Install from source**:\n   If you prefer to install from the source code, follow these steps:\n\n   ```bash\n    mkdir -p ~/local\n    cd ~/local\n    git clone git@github.com:ogx-ai/ogx.git\n\n    uv venv myenv --python 3.13\n    source myenv/bin/activate  # On Windows: myenv\\Scripts\\activate\n\n    cd ogx\n    pip install -e .\n\n## Downloading models via Hugging Face CLI\n\nYou first need to have models downloaded locally. We recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) to download models.\n\n### Install Hugging Face CLI\n\nFirst, install the Hugging Face CLI:\n\n```bash\npip install huggingface_hub[cli]\n```\n\n### Download models from Hugging Face\n\nYou can download models using the `huggingface-cli download` command. Here are some examples:\n\n```bash\n# Download Llama 3.2 3B Instruct model\nhuggingface-cli download meta-llama/Llama-3.2-3B-Instruct --local-dir ~/.ogx/Llama-3.2-3B-Instruct\n\n# Download Llama 3.2 1B Instruct model\nhuggingface-cli download meta-llama/Llama-3.2-1B-Instruct --local-dir ~/.ogx/Llama-3.2-1B-Instruct\n\n# Download Llama Guard 3 1B model\nhuggingface-cli download meta-llama/Llama-Guard-3-1B --local-dir ~/.ogx/Llama-Guard-3-1B\n\n# Download Prompt Guard model\nhuggingface-cli download meta-llama/Prompt-Guard-86M --local-dir ~/.ogx/Prompt-Guard-86M\n```\n\n**Important:** You need to authenticate with Hugging Face to download models. You can do this by:\n\n1. Getting your token from [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens)\n2. Running `huggingface-cli login` and entering your token\n\n## List the downloaded models\n\nTo list the downloaded models, you can use the Hugging Face CLI:\n\n```bash\n# List all downloaded models in your local cache\nhuggingface-cli scan-cache\n```\n","tests/integration/agents/recordings/339d510b1f11fab08ae8684df5bd52509407c02034a81463c8ac2208b4ce9da2.json":"{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_stored_input_items_work_as_pagination_cursors[txt=ollama/qwen3.5:0.8b]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"Message A: What is the capital of France?\"\n        },\n        {\n          \"role\": \"assistant\",\n          \"content\": \"The capital of France is Paris.\"\n        },\n        {\n          \"role\": \"user\",\n          \"content\": \"Message B: What about Spain?\"\n        },\n        {\n          \"role\": \"assistant\",\n          \"content\": \"The capital of Spain is Madrid.\"\n        },\n        {\n          \"role\": \"user\",\n          \"content\": \"Message C: And Italy?\"\n        }\n      ],\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      }\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.57.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"Thinking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Process\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\n\\n1\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"  **\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"An\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"alyze\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Request\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":**\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" has\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" provided\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" dialogue\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" history\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" where\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" (\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" AI\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \")\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" have\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" previously\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" answered\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" \\\"\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"capital\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" of\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" France\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" =\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Paris\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\\",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" \\\"\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"capital\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" of\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Spain\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" =\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Madrid\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\\",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" now\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asks\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Italy\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\n\\n2\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"  **\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"Evaluate\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Intent\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":**\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" This\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          ","docs/docs/references/python_sdk_reference/index.md":"# Python SDK Reference\n\n## Shared Types\n\n```python\nfrom ogx_client.models import (\n    InterleavedContent,\n    InterleavedContentItem,\n    ParamType,\n    SamplingParams,\n    SystemMessage,\n    ToolResponseMessage,\n    URL,\n    UserMessage,\n)\n```\n\n## Tools\n\nTypes:\n\n```python\nfrom ogx_client.models import ListToolDefsResponse, ToolDef\n```\n\n## Inspect\n\nTypes:\n\n```python\nfrom ogx_client.models import HealthInfo, VersionInfo\n```\n\nMethods:\n\n- <code title=\"get /v1/health\">client.inspect.health() -> HealthInfo</code>\n- <code title=\"get /v1/version\">client.inspect.version() -> VersionInfo</code>\n\n## Inference\n\nTypes:\n\n```python\nfrom ogx_client.models import RerankRequest, RerankResponse\n```\n\nMethods:\n\n- <code title=\"post /v1alpha/inference/rerank\">client.inference.rerank(rerank_request) -> RerankResponse</code>\n\n## Embeddings\n\nTypes:\n\n```python\nfrom ogx_client.models import (\n    OpenAIEmbeddingsRequestWithExtraBody,\n    OpenAIEmbeddingsResponse,\n)\n```\n\nMethods:\n\n- <code title=\"post /v1/embeddings\">client.embeddings.create(open_ai_embeddings_request_with_extra_body) -> OpenAIEmbeddingsResponse</code>\n\n## VectorIo\n\n:::warning DEPRECATED API\n\n**This API is deprecated and will be removed in a future version.**\n\nUse the OpenAI-compatible Vector Stores API instead:\n\n- Instead of `client.vector_io.insert()`, use `client.vector_stores.files.create()`\n- Instead of `client.vector_io.query()`, use `client.vector_stores.search()`\n\nSee the [RAG documentation](/docs/building_applications/rag) for migration examples.\n\nRelated: [Issue #2981](https://github.com/ogx-ai/ogx/issues/2981)\n\n:::\n\nTypes:\n\n```python\nfrom ogx_client.models import QueryChunksResponse\n```\n\nMethods:\n\n- <code title=\"post /v1/vector-io/insert\">client.vector_io.insert(insert_chunks_request) -> None</code>\n- <code title=\"post /v1/vector-io/query\">client.vector_io.query(query_chunks_request) -> QueryChunksResponse</code>\n\n## Models\n\nTypes:\n\n```python\nfrom ogx_client.models import (\n    GetModelV1ModelsModelIdGet200Response,\n    ListModelsV1ModelsGet200Response,\n    OpenAIModel,\n)\n```\n\nMethods:\n\n- <code title=\"get /v1/models/{model_id}\">client.models.retrieve(model_id) -> GetModelV1ModelsModelIdGet200Response</code>\n- <code title=\"get /v1/models\">client.models.list() -> ListModelsV1ModelsGet200Response</code>\n\n## Providers\n\nTypes:\n\n```python\nfrom ogx_client.models import ListProvidersResponse\n```\n\nMethods:\n\n- <code title=\"get /v1/providers\">client.providers.list() -> ListProvidersResponse</code>\n\n## Routes\n\nTypes:\n\n```python\nfrom ogx_client.models import ListRoutesResponse\n```\n\nMethods:\n\n- <code title=\"get /v1/inspect/routes\">client.routes.list(api_filter=None) -> ListRoutesResponse</code>\n","CLAUDE.md":"See @AGENTS.md for guidelines on working with this codebase.\n\n## Design Context\n\n### Users\n\nBackend engineers, application developers, and platform teams evaluating or adopting OGX for production AI workloads. They arrive from GitHub, blog posts, or search. They already use OpenAI/Anthropic SDKs and want to know: can I point my existing code at this server and have it just work? They are practical, time-constrained, and skeptical of marketing fluff. They read docs in dark terminals, IDEs, and browser tabs at all hours.\n\n### Brand Personality\n\n**Powerful, flexible, production-grade.** Not flashy. Not cute. Not corporate. The kind of project where the README is better than most companies' entire docs site. Speaks in code examples, not marketing copy. Respects the developer's time above all else.\n\nThree words: **capable, direct, trustworthy.**\n\n### Aesthetic Direction\n\n- **Tone**: Technical confidence without pretension. Think: well-organized CLI output, a clean terminal, a tool that does exactly what it says.\n- **Theme**: Dark mode default, both supported. Dark should feel like a refined terminal environment, not \"glowing neon AI dashboard.\" Light should feel like clean paper, not washed-out gray.\n- **Anti-references**: Purple-to-blue gradients, animated gradient text, icon-in-colored-circle card grids, \"Works with 20+ providers!\" vanity stats, marquee scrolling logos, decorative mesh backgrounds. All of these are present on the current site and should be replaced.\n- **Color**: Move away from purple as primary. The logo uses a deep navy-to-teal gradient. The palette should feel grounded, not synthetic. Consider warm neutrals or muted earth tones as an alternative to the current purple/teal AI palette.\n- **Typography**: Current fonts (Space Grotesk, Inter) are on the overused list. Find something with more character that still reads as technical and trustworthy.\n\n### Design Principles\n\n1. **Show, don't decorate.** Every visual element must communicate information. No decorative gradients, glows, or animations that exist for \"wow factor.\"\n2. **Code is the hero.** The most important thing on the landing page is a working code example. Make it prominent, readable, and real.\n3. **Earn trust through clarity.** Clean structure, consistent spacing, and direct language signal competence better than any visual flourish.\n4. **Respect the scroll.** Every section must justify its existence. If it doesn't answer a question the developer has, cut it.\n5. **No AI slop.** If a pattern appears on 50 AI-generated landing pages, it doesn't belong here. When in doubt, do less.\n","tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json)","tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json)","tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json)","tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json)","tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json)","tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json)","tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json)","tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json)","tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json)","tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json)","tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json)","tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json)","tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json)","tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json)","tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json)","tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json)"},"items":[{"name":"AGENTS.md","path":"AGENTS.md","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/AGENTS.md","title":"AI Agent Protocol & Instructions","category":"root-instruction","format":"markdown","content":"# Agent Guidelines for OGX\n\nThis file provides guidance for AI coding agents working on this codebase.\nIt complements [CONTRIBUTING.md](CONTRIBUTING.md) with agent-specific instructions.\nHuman contributors should follow the conventions in CONTRIBUTING.md.\n\n## Project Overview\n\nOGX is an API server implementing the OpenAI Responses API, Chat Completions,\nEmbeddings, and supporting APIs (files, vector stores, batches, eval, and responses guardrails). It supports\nmultiple inference backends (OpenAI, Azure, Bedrock, vLLM, Ollama, WatsonX, etc.) through\na provider architecture.\n\n## Repository Layout\n\n```text\nsrc/ogx/              # Server implementation\n  core/                       # Request routing, server, storage\n  providers/\n    inline/                   # Built-in providers (responses, eval, vector_io, etc.)\n    remote/                   # Remote provider adapters (OpenAI, Azure, vLLM, etc.)\n    registry/                 # Provider registration specs\n    utils/                    # Shared provider utilities (OpenAI mixin, MCP, etc.)\n  distributions/              # Distribution configs (starter, ci-tests, etc.)\nsrc/ogx_api/          # API definitions, Pydantic models, FastAPI routes\ntests/\n  unit/                       # Unit tests\n  integration/                # Integration tests with recording/replay system\n```\n\n## Python & Tooling\n\n- **Python 3.13 or 3.14** is required. Pre-commit hooks run on 3.14 (see `.pre-commit-config.yaml`).\n- Use `uv` for all dependency management and script execution.\n- Run scripts with `uv run`, never bare `python3` or `python`.\n- Use standard library modules when possible.\n- All function signatures must have type hints. Prefer Pydantic models for validation.\n- Code must pass `mypy`. Check the exclude list in `pyproject.toml` for known exceptions.\n- Use `def _function_name` for private functions.\n- Prefer explicit top-level imports over inline imports.\n- Do not use exceptions as control flow.\n\n## Code Style\n\n- Comments must add value. Do not write filler comments that describe the next line.\n- Add comments only to clarify surprising behavior that is not obvious from the code.\n- Good variable naming and clear code organization matters more than comments.\n- Do NOT remove existing comments unless they are factually wrong.\n- Error messages must be prefixed with \"Failed to ...\".\n- Use structured logging via `from ogx.log import get_logger`. Always use\n  key-value style: `logger.info(\"Processing request\", model=model_id, provider=provider)`\n  instead of f-strings or %-style formatting. The pre-commit hook\n  `Block f-string logging` enforces this.\n- The pre-commit hook `Ensure 'ogx.log' usage for logging` enforces that all\n  logging uses the project's logger, not the standard library directly.\n- Use `httpx2` for all HTTP client code. The pre-commit hook\n  `Block direct httpx imports (use httpx2)` rejects `import httpx` /\n  `from httpx import` unless the line is marked `# allow-direct-httpx`.\n  The marked exceptions are deliberate boundaries: the google-genai\n  client option (vertexai/utils.py), the mcp 1.x SDK (utils/tools/mcp.py),\n  the generated client-SDK boundary (library_client.py, api_recorder.py),\n  and the dual exception mapping (core/exceptions/mapping.py).\n\n## Git Conventions\n\n- Always use `--signoff` (`-s`) when creating commits.\n- Do not amend commits and force push during PR review. Use new commits instead.\n- Use `git merge main` to update branches, not `git rebase`.\n- Commit messages must use [conventional commits](https://www.conventionalcommits.org/)\n  format and full sentences, not bullet points.\n- Merge `upstream/main` before pushing a branch to avoid CI failures from stale code.\n\n## Testing\n\n- Unit tests: `./scripts/unit-tests.sh` or `uv run pytest tests/unit/ -x --tb=short`\n- Run pre-commit checks: `uv run pre-commit run --all-files`\n\n### Integration Tests\n\nIntegration tests use a recording/replay system. Recordings are JSON files in\n`tests/integration/*/recordings/` keyed by SHA256 hashes of HTTP request bodies.\nWhen modifying code that changes request bodies sent to providers, recordings may\nneed to be re-recorded.\n\nRun integration tests via the CI script (same command used in GitHub Actions):\n\n```bash\n# Replay mode (default) — uses pre-recorded responses, no API keys needed\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt \\\n  --file tests/integration/responses/test_compact_responses.py\n\n# Re-record missing recordings (requires API keys, e.g. OPENAI_API_KEY)\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt \\\n  --inference-mode record-if-missing \\\n  --file tests/integration/responses/test_compact_responses.py\n\n# Run a full suite\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt --suite responses\n```\n\nKey flags: `--stack-config` (required), `--setup` (`gpt`, `ollama`, `vllm`),\n`--inference-mode` (`replay`, `record`, `record-if-missing`), `--file` (single file),\n`--pattern` (pytest `-k` filter), `--suite` (`base`, `responses`, `vision`),\n`--install-deps` (install missing provider dependencies before running tests),\n`--client-version` (`latest` generates and installs the in-repo ogx-client from\n`client-sdks/openapi`, `published` verifies the uv.lock-resolved PyPI version).\n\nThe runner preflights the provider dependencies for the stack config — the\nsame `ogx stack list-deps <config> | xargs -L1 uv pip install` step CI runs —\nand fails early with the exact install command when any are missing. Pass\n`--install-deps` to install them automatically (this is what CI does).\n\nIf a test fails in replay mode with \"Recording not found\", re-run with\n`--inference-mode record-if-missing` and commit the new recording files.\nRecording locally requires an API key for the provider under test (e.g.\n`OPENAI_API_KEY` for `--setup gpt`). If you do not have a key, repository\nmaintainers can trigger the record workflow on GitHub via\n`.github/workflows/record-integration-tests.yml`.\n\n## Provider Architecture\n\nEach provider implements a protocol (e.g., `Inference`, `Responses`, `VectorIO`) and is\nregistered in `src/ogx/providers/registry/`. Provider specs include:\n\n- `provider_type`: e.g., `remote::openai`, `inline::builtin`\n- `module`: Python module path\n- `config_class`: Pydantic config class path\n- `api_dependencies`: APIs this provider depends on\n- `deprecation_warning`: For deprecated providers (triggers runtime warning)\n\nConfiguration classes must use Pydantic `Field` with `description` parameters —\nthese generate the provider documentation automatically.\n\n## Distribution Configs\n\nDistribution YAML files in `src/ogx/distributions/` are partially auto-generated.\nAfter changing provider configs, run:\n\n```bash\nuv run ./scripts/distro_codegen.py\nuv run ./scripts/provider_codegen.py\n```\n\nDo not edit generated files in `docs/docs/providers/` manually.\n\n## API Changes\n\nWhen modifying or extending APIs:\n\n1. Update models in `src/ogx_api/`\n2. Regenerate OpenAPI specs: `uv run ./scripts/run_openapi_generator.sh`\n3. Check for breaking changes — the pre-commit hook `Check API spec for breaking changes`\n   enforces backward compatibility.\n4. Include a test plan with a testing script and execution output in your PR description.\n\nThe full stability contract — HTTP API levels (`/v1alpha`, `/v1beta`, `/v1`),\nthe two `ogx-api` package surfaces (`ogx_api.types`, `ogx_api.provider`),\nconfig schema rules, and the data storage compatibility guarantees across\nZ/Y/X-stream upgrades — is documented in\n[`docs/docs/concepts/apis/api_leveling.mdx`](docs/docs/concepts/apis/api_leveling.mdx).\nRead it before adding a new API, graduating an API between levels, removing\nor renaming a field on a `v1` datatype, or changing on-disk storage schemas.\n\n## Common Patterns\n\n### Adding a new parameter to an existing API\n\n1. Add the field to the Pydantic model in `src/ogx_api/`\n2. Thread it through the provider protocol and implementation\n3. Update affected distribution configs if needed\n4. Regenerate specs and docs\n5. Add unit test cases covering the new parameter\n\n### Adding a deprecated alias for a renamed provider\n\nUse the existing `deprecation_warning` field on `InlineProviderSpec` or `RemoteProviderSpec`.\nSearch for existing examples: `grep -r \"deprecation_warning\" src/ogx/providers/registry/`\n\n### Before adding any new pattern\n\nSearch the codebase for existing examples of the same pattern first.\nUse `grep` to find how deprecation, validation, configuration, or aliasing is already\nhandled elsewhere.\n\n## Keeping Documentation Up to Date\n\nWhen making code changes, check whether the following documentation needs updating:\n\n- `README.md` — the root README contains an ASCII architecture diagram showing API\n  endpoints, inference providers, vector stores, tools/connectors, and file storage.\n  Update it when adding or removing providers, APIs, or backend integrations.\n- `ARCHITECTURE.md` — system overview, request flow, provider architecture, API layer,\n  storage, configuration, and test recording system\n- Module-level `README.md` files in key directories:\n  - `src/ogx/README.md`, `src/ogx/core/README.md`\n  - `src/ogx/core/server/README.md`, `src/ogx/core/storage/README.md`\n  - `src/ogx/core/routing_tables/README.md`\n  - `src/ogx/providers/README.md`, `src/ogx/providers/inline/README.md`\n  - `src/ogx/providers/remote/README.md`, `src/ogx/providers/registry/README.md`\n  - `src/ogx/providers/utils/README.md`, `src/ogx/providers/utils/inference/README.md`\n  - `src/ogx/providers/inline/agents/README.md`\n  - `src/ogx/providers/remote/inference/README.md`\n  - `src/ogx/distributions/README.md`\n  - `scripts/README.md`\n- `tests/README.md`, `tests/unit/README.md`, `tests/integration/README.md`\n\nThese files help LLMs and new contributors navigate the codebase. If your change\nadds, removes, or renames modules, providers, APIs, or storage backends, update\nthe relevant documentation to stay in sync.\n","isInternal":false,"tokens":2372,"sizeBytes":10005},{"name":"ARCHITECTURE.md","path":"ARCHITECTURE.md","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/ARCHITECTURE.md","title":"System Architecture & Module Boundaries","category":"project-spec","format":"markdown","content":"# OGX Architecture\n\nThis document describes the internal architecture of OGX for contributors and AI agents working with the codebase. For user-facing documentation, see [ogx-ai.github.io](https://ogx-ai.github.io/). For contribution guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## System Overview\n\nOGX is a server that exposes a unified API for AI capabilities: inference, responses orchestration, vector storage, tool execution, evaluation, and more. It is provider-agnostic: the same API works whether the backend is Ollama, OpenAI, vLLM, Fireworks, or dozens of other services.\n\nThe codebase is split into two packages:\n\n- **`ogx-api`** (`src/ogx_api/`) -- Lightweight package containing API protocol definitions (Python `Protocol` classes), Pydantic data types, and provider spec definitions. No server code, no provider implementations. Third-party providers depend only on this.\n- **`ogx`** (`src/ogx/`) -- The server implementation: provider resolution, routing, storage, CLI, and all built-in providers.\n- **`ogx-ui`** (`src/ogx_ui/`) -- Optional web UI for the chat playground and admin. Built with Next.js.\n\n## Request Flow\n\n```text\nClient (ogx-client SDK or raw HTTP)\n  |\n  v\nFastAPI Server  (src/ogx/core/server/server.py)\n  |\n  |-- AuthenticationMiddleware  (token validation, user + tenant_id extraction)\n  |-- TenancyMiddleware         (enforces tenancy mode: disabled/single/multi)\n  |-- RouteAuthorizationMiddleware  (route-level access policies)\n  |\n  v\nRoute Dispatch\n  |\n  |-- FastAPI Router routes     (auto-discovered via fastapi_router_registry.py)\n  |\n  v\nRouter  (src/ogx/core/routers/)\n  |\n  |-- Looks up the resource (model, vector store, tool group, etc.) in the RoutingTable\n  |-- Resolves which provider handles this resource\n  |-- Enforces access control policies\n  |\n  v\nProvider Implementation\n  |\n  |-- Inline provider (runs in-process, e.g. meta-reference, sqlite-vec)\n  |-- Remote provider (calls external service, e.g. ollama, openai, fireworks)\n  |\n  v\nExternal Service or Local Computation\n```\n\n### Detailed Flow Example: Chat Completion\n\n1. Client sends `POST /v1/chat/completions` with `model: \"ollama/qwen3.5:0.8b\"`.\n2. `server.py` dispatches to the inference FastAPI router.\n3. The `InferenceRouter` (`core/routers/inference.py`) calls `routing_table.get_provider_impl(model_id)`.\n4. `CommonRoutingTableImpl` looks up the model in `DistributionRegistry`, finds it belongs to provider `ollama`.\n5. The router delegates to the `ollama` provider's `openai_chat_completion()` method.\n6. The Ollama provider (which extends `OpenAIMixin`) creates an `AsyncOpenAI` client pointing at the Ollama server and forwards the request.\n7. The response streams back through the router to the client as SSE events.\n\n## Provider Architecture\n\n### Provider Types\n\n```text\nProvider\n  |\n  |-- InlineProviderSpec    (runs in-process)\n  |     provider_type: \"inline::builtin\"\n  |     module: \"ogx.providers.inline.inference.builtin\"\n  |\n  |-- RemoteProviderSpec    (adapts an external service)\n        provider_type: \"remote::ollama\"\n        module: \"ogx.providers.remote.inference.ollama\"\n```\n\nEach provider spec declares:\n\n- `api` -- which API it implements (e.g., `Api.inference`)\n- `provider_type` -- unique identifier like `\"remote::openai\"`\n- `module` -- Python module with a `get_adapter_impl()` or `get_provider_impl()` function\n- `config_class` -- Pydantic config model for the provider\n- `pip_packages` -- additional dependencies needed at runtime\n\n### Provider Registry\n\n`src/ogx/providers/registry/` contains one file per API (e.g., `inference.py`, `responses.py`). Each file defines an `available_providers()` function that returns all `ProviderSpec` objects for that API. The registry is loaded at startup by `get_provider_registry()` in `core/distribution.py`.\n\n### Provider Resolution\n\nAt startup, `resolve_impls()` in `core/resolver.py`:\n\n1. **Validates** providers declared in the run config against the registry.\n2. **Sorts** providers by dependency order (e.g., agents depends on inference).\n3. **Instantiates** each provider by importing its module and calling its factory function.\n4. **Sets up auto-routing**: for APIs like inference, creates a `RoutingTable` + `Router` pair so multiple providers can serve different models through the same API.\n\n### Auto-Routing\n\nMany APIs use automatic routing. For example, `Api.inference` is paired with `Api.models`:\n\n```text\nApi.models (RoutingTable)  <-->  Api.inference (Router)\n  |                                |\n  |-- ModelsRoutingTable           |-- InferenceRouter\n  |   tracks which provider        |   delegates to correct\n  |   owns which model             |   provider per request\n```\n\nThe full list of auto-routed pairs is defined in `builtin_automatically_routed_apis()` in `core/distribution.py`:\n\n| Routing Table API      | Router API         |\n|------------------------|--------------------|\n| `Api.models`           | `Api.inference`    |\n| `Api.vector_stores`    | `Api.vector_io`    |\n| `Api.web_search_providers` | `Api.web_search` |\n\n## The API Layer (`ogx_api`)\n\nThe `ogx_api` package defines all public-facing types and protocols:\n\n- **Protocols** -- Python `Protocol` classes like `Inference`, `Responses`, `Skills` that define the API contract. HTTP routes are defined via FastAPI routers in `fastapi_routes.py` modules.\n- **Data Types** -- Pydantic models for requests, responses, and resources (e.g., `Model`, `VectorStore`, `ChatCompletionRequest`).\n- **Provider Specs** -- `InlineProviderSpec`, `RemoteProviderSpec`, and related types that define how providers are declared.\n- **Internal utilities** -- KVStore and SqlStore abstract interfaces live here so third-party providers can use them without depending on the full server.\n\nProvider implementations import from `ogx_api` for type definitions and from `ogx.providers.utils` for shared functionality.\n\n## Storage\n\n### Storage Configuration\n\nStorage is configured in the `storage` section of the run config (`StackConfig.storage`). It defines backend references that providers and core services use:\n\n```yaml\nstorage:\n  type: sqlite\n  db_path: ${env.SQLITE_STORE_DIR}/registry.db\n  stores:\n    kvstore:\n      type: kv_sqlite\n      db_path: ${env.SQLITE_STORE_DIR}/kvstore.db\n    inference:\n      type: sql_sqlite\n      db_path: ${env.SQLITE_STORE_DIR}/inference_store.db\n```\n\n### KVStore\n\n`src/ogx/core/storage/kvstore/` provides a key-value store abstraction (`KVStore`) with backends:\n\n| Backend   | Config Class             | Use Case               |\n|-----------|--------------------------|------------------------|\n| SQLite    | `SqliteKVStoreConfig`    | Default, single-node   |\n| Redis     | `RedisKVStoreConfig`     | Multi-node, caching    |\n| PostgreSQL| `PostgresKVStoreConfig`  | Production deployments |\n| MongoDB   | `MongoDBKVStoreConfig`   | Document-oriented      |\n\nUsed by: distribution registry, quota tracking, provider state, skills metadata.\n\n### SqlStore\n\n`src/ogx/core/storage/sqlstore/` provides a SQL store abstraction (`SqlStore`) with SQLAlchemy backends:\n\n| Backend    | Config Class             | Use Case               |\n|------------|--------------------------|------------------------|\n| SQLite     | `SqliteSqlStoreConfig`   | Default, single-node   |\n| PostgreSQL | `PostgresSqlStoreConfig` | Production deployments |\n\nUsed by: inference store (chat completion logs), conversations, prompts.\n\n### AuthorizedSqlStore and Tenant Isolation\n\n`AuthorizedSqlStore` wraps a `SqlStore` and adds two independent enforcement layers:\n\n1. **Tenant isolation** -- a non-bypassable `WHERE tenant_id = ?` filter applied before any access control check. When tenancy is enabled (`single` or `multi` mode), every table gets a `tenant_id` column. Writes stamp the authenticated user's tenant_id; reads and mutations are scoped to it. Missing tenant context in `multi` mode produces a `1=0` clause (default deny -- see nothing).\n\n2. **ABAC (Attribute-Based Access Control)** -- `owner_principal` and `access_attributes` columns enable policy-based rules like `user is owner`. This operates within a tenant, not across tenants.\n\nTenancy mode is set process-wide during `Stack.initialize()` via `set_default_tenancy_mode()`, so existing call sites using the `authorized_sqlstore()` factory work without changes.\n\n### Distribution Registry\n\n`src/ogx/core/store/` implements `DistributionRegistry`, which tracks all registered resources (models, vector stores, tool groups, prompts, etc.) across providers. It persists to the configured KVStore so resources survive server restarts.\n\n## Configuration\n\n### Run Config (`StackConfig`)\n\nA YAML file that defines everything about a running OGX instance:\n\n```yaml\nversion: 2\ndistro_name: starter\napis:\n  - inference\n  - responses\n  - vector_io\n  # ...\nproviders:\n  inference:\n    - provider_id: ollama\n      provider_type: remote::ollama\n      config:\n        base_url: ${env.OLLAMA_URL:=http://localhost:11434/v1}\nstorage:\n  type: sqlite\n  db_path: ...\n```\n\nKey features:\n\n- **Environment variable substitution**: `${env.VAR_NAME:=default}` syntax for config values.\n- **Conditional providers**: `${env.API_KEY:+provider_id}` syntax enables a provider only when a variable is set.\n- **Multiple providers per API**: e.g., both `ollama` and `openai` can serve inference, each handling different models.\n- **Explicit HTTP surface**: `apis:` lists the APIs served over HTTP. An explicit list is\n  authoritative, including when it is empty; omitting the key serves everything the\n  providers supply. It gates route registration only — omitted APIs are still resolved\n  in-process for providers that depend on them. The stack administration APIs (`admin`,\n  `inspect`, `providers`) are always served, and serving `responses` also serves\n  `conversations` and `prompts`.\n\n### Distributions\n\nA distribution is a pre-built configuration that bundles specific providers for a target environment. Think of it like Kubernetes distributions (AKS, EKS, GKE): the core API stays the same, but each distribution wires different backends. `src/ogx/distributions/` contains these configurations (e.g., `starter`, `nvidia`). Each distribution directory has:\n\n- `config.yaml` -- the run config\n- Templates and codegen support via `template.py`\n\n### Build Config\n\nUsed by `ogx build` to create container images. Declares which providers to include and what packages to install. Versioned separately from the run config.\n\n## Recording and Replay Test System\n\nIntegration tests use a record/replay system (`src/ogx/testing/api_recorder.py`) that intercepts OpenAI client calls to record real API responses, then replays them for fast, deterministic CI runs.\n\n### How It Works\n\n1. **Recording**: Tests run against a real server. The `APIRecorder` monkey-patches `OpenAI` client methods to capture every request/response pair. Responses are stored as JSON files under `tests/integration/recordings/`.\n\n2. **Replay**: In CI, tests run in replay mode. The recorder matches incoming requests to stored responses by hashing the request parameters, returning cached responses instead of making real API calls.\n\n3. **Modes** (controlled by `--inference-mode` or `OGX_TEST_INFERENCE_MODE`):\n   - `replay` (default) -- use cached responses\n   - `record` -- force-record all interactions\n   - `record-if-missing` -- record only when no cached response exists\n   - `live` -- bypass recording entirely, make real calls\n\n4. **Deterministic IDs**: The recorder overrides ID generation (`set_id_override()`) during replay so that resource IDs (files, vector stores, etc.) are reproducible across runs.\n\n### Recording Storage\n\nRecordings live in `tests/integration/recordings/` organized by provider and test. Each recording is a JSON file containing the serialized request parameters and response. An SQLite index maps requests to response files.\n\nFor more details, see `tests/README.md` and `tests/integration/README.md`.\n\n## Key Classes and Entry Points\n\n| Component | Location | Purpose |\n|-----------|----------|---------|\n| `OGX` | `core/stack.py` | Composite class implementing all API protocols |\n| `Stack` | `core/stack.py` | Initialization, resource registration, lifecycle |\n| `StackApp` | `core/server/server.py` | FastAPI app wrapper |\n| `resolve_impls()` | `core/resolver.py` | Provider instantiation and dependency resolution |\n| `CommonRoutingTableImpl` | `core/routing_tables/common.py` | Base routing table for all auto-routed APIs |\n| `InferenceRouter` | `core/routers/inference.py` | Routes inference calls to correct provider |\n| `OpenAIMixin` | `providers/utils/inference/openai_mixin.py` | Shared OpenAI-compatible client logic |\n| `get_provider_registry()` | `core/distribution.py` | Loads all available provider specs |\n| `APIRecorder` | `testing/api_recorder.py` | Record/replay test infrastructure |\n\n## Directory Map\n\n```text\nsrc/\n  ogx_api/          # API definitions package (separate pip package)\n    inference/              # Inference protocol, models, FastAPI routes\n    responses/              # Responses API protocol and routes\n    datatypes.py            # Shared data types\n    providers/              # Provider spec types\n    internal/               # KVStore/SqlStore interfaces\n  ogx/              # Server implementation\n    core/\n      server/               # FastAPI server, auth, routing\n      routers/              # API-specific routers (inference, responses, etc.)\n      routing_tables/       # Resource-to-provider mapping\n      storage/              # KVStore and SqlStore backends\n      store/                # Distribution registry\n      resolver.py           # Provider resolution engine\n      distribution.py       # Provider registry loading\n      stack.py              # Stack initialization and lifecycle\n    providers/\n      inline/               # In-process provider implementations\n      remote/               # Remote service adapters\n      registry/             # Provider spec declarations\n      utils/                # Shared provider utilities\n    distributions/          # Pre-built distribution configs\n    cli/                    # CLI commands (ogx stack run, build, etc.)\n    testing/                # Test infrastructure (api_recorder)\ntests/\n  unit/                     # Fast, isolated tests\n  integration/              # End-to-end tests with record/replay\n    recordings/             # Cached API responses\n```\n","isInternal":false,"tokens":3273,"sizeBytes":14388},{"name":"download_models.md","path":"docs/docs/references/ogx_cli_reference/download_models.md","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/docs/docs/references/ogx_cli_reference/download_models.md","title":"Ogx_cli_reference Skill","category":"anthropic-skill","format":"markdown","content":"# Downloading Models\n\nThe `ogx` CLI tool helps you setup and use the OGX. It should be available on your path after installing the `ogx` package.\n\n## Installation\n\nYou have two ways to install OGX:\n\n1. **Install as a package**:\n   You can install the repository directly from [PyPI](https://pypi.org/project/ogx/) by running the following command:\n\n   ```bash\n   pip install ogx\n   ```\n\n2. **Install from source**:\n   If you prefer to install from the source code, follow these steps:\n\n   ```bash\n    mkdir -p ~/local\n    cd ~/local\n    git clone git@github.com:ogx-ai/ogx.git\n\n    uv venv myenv --python 3.13\n    source myenv/bin/activate  # On Windows: myenv\\Scripts\\activate\n\n    cd ogx\n    pip install -e .\n\n## Downloading models via Hugging Face CLI\n\nYou first need to have models downloaded locally. We recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) to download models.\n\n### Install Hugging Face CLI\n\nFirst, install the Hugging Face CLI:\n\n```bash\npip install huggingface_hub[cli]\n```\n\n### Download models from Hugging Face\n\nYou can download models using the `huggingface-cli download` command. Here are some examples:\n\n```bash\n# Download Llama 3.2 3B Instruct model\nhuggingface-cli download meta-llama/Llama-3.2-3B-Instruct --local-dir ~/.ogx/Llama-3.2-3B-Instruct\n\n# Download Llama 3.2 1B Instruct model\nhuggingface-cli download meta-llama/Llama-3.2-1B-Instruct --local-dir ~/.ogx/Llama-3.2-1B-Instruct\n\n# Download Llama Guard 3 1B model\nhuggingface-cli download meta-llama/Llama-Guard-3-1B --local-dir ~/.ogx/Llama-Guard-3-1B\n\n# Download Prompt Guard model\nhuggingface-cli download meta-llama/Prompt-Guard-86M --local-dir ~/.ogx/Prompt-Guard-86M\n```\n\n**Important:** You need to authenticate with Hugging Face to download models. You can do this by:\n\n1. Getting your token from [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens)\n2. Running `huggingface-cli login` and entering your token\n\n## List the downloaded models\n\nTo list the downloaded models, you can use the Hugging Face CLI:\n\n```bash\n# List all downloaded models in your local cache\nhuggingface-cli scan-cache\n```\n","isInternal":false,"tokens":604,"sizeBytes":2159},{"name":"index.md","path":"docs/docs/references/ogx_cli_reference/index.md","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/docs/docs/references/ogx_cli_reference/index.md","title":"Ogx_cli_reference Skill","category":"anthropic-skill","format":"markdown","content":"# llama (server-side) CLI Reference\n\nThe `ogx` CLI tool helps you set up and use the OGX. The CLI is available on your path after installing the `ogx` package.\n\n## Installation\n\nYou have two ways to install OGX:\n\n1. **Install as a package**:\n   You can install the repository directly from [PyPI](https://pypi.org/project/ogx/) by running the following command:\n\n   ```bash\n   pip install ogx\n   ```\n\n2. **Install from source**:\n   If you prefer to install from the source code, follow these steps:\n\n   ```bash\n    mkdir -p ~/local\n    cd ~/local\n    git clone git@github.com:ogx-ai/ogx.git\n\n    uv venv myenv --python 3.13\n    source myenv/bin/activate  # On Windows: myenv\\Scripts\\activate\n\n    cd ogx\n    pip install -e .\n   ```\n\n## `ogx` subcommands\n\n1. `stack`: Allows you to build a stack using the `ogx` distribution and run a OGX server. You can read more about how to build a OGX distribution in the [Build your own Distribution](/docs/distributions/building_distro) documentation.\n2. `connect`: Connect third-party tools to the running OGX server. Supports [`claude`](/docs/building_applications/claude_code_integration), [`opencode`](/docs/building_applications/opencode_integration), and [`codex`](/docs/building_applications/codex_cli_integration).\n\nFor downloading models, we recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli). See [Downloading models](#downloading-models) for more information.\n\n### Sample Usage\n\n```bash\nllama --help\n```\n\n```text\nusage: ogx [-h] {stack,connect} ...\n\nWelcome to the OGX CLI\n\noptions:\n  -h, --help      show this help message and exit\n\nsubcommands:\n  {stack,connect}\n\n  stack                 Operations for the OGX / Distributions\n  connect               Connect third-party tools to the running OGX server\n```\n\n## Downloading models\n\nYou first need to have models downloaded locally. We recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) to download models.\n\nFirst, install the Hugging Face CLI:\n\n```bash\npip install huggingface_hub[cli]\n```\n\nThen authenticate and download models:\n\n```bash\n# Authenticate with Hugging Face\nhuggingface-cli login\n\n# Download a model\nhuggingface-cli download meta-llama/Llama-3.2-3B-Instruct --local-dir ~/.ogx/Llama-3.2-3B-Instruct\n```\n\n## List the downloaded models\n\nTo list the downloaded models, you can use the Hugging Face CLI:\n\n```bash\n# List all downloaded models in your local cache\nhuggingface-cli scan-cache\n```\n","isInternal":false,"tokens":646,"sizeBytes":2492},{"name":"ogx_client_cli_reference.md","path":"docs/docs/references/ogx_client_cli_reference.md","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/docs/docs/references/ogx_client_cli_reference.md","title":"References Skill","category":"anthropic-skill","format":"markdown","content":"# llama (client-side) CLI Reference\n\nThe `ogx-client` CLI allows you to query information about the distribution.\n\n## Basic Commands\n\n### `ogx-client`\n\n```bash\nogx-client\nUsage: ogx-client [OPTIONS] COMMAND [ARGS]...\n\n  Welcome to the ogx-client CLI - a command-line interface for\n  interacting with OGX\n\nOptions:\n  --version        Show the version and exit.\n  --endpoint TEXT  OGX distribution endpoint\n  --api-key TEXT   OGX distribution API key\n  --config TEXT    Path to config file\n  --help           Show this message and exit.\n\nCommands:\n  configure          Configure OGX Client CLI.\n  datasets           Manage datasets.\n  eval               Run evaluation tasks.\n  eval_tasks         Manage evaluation tasks.\n  inference          Inference (chat).\n  inspect            Inspect server configuration.\n  models             Manage GenAI models.\n  post_training      Post-training.\n  providers          Manage API providers.\n  scoring_functions  Manage scoring functions.\n```\n\n### `ogx-client configure`\n\nConfigure OGX Client CLI.\n\n```bash\nogx-client configure\n> Enter the host name of the OGX distribution server: localhost\n> Enter the port number of the OGX distribution server: 8321\nDone! You can now use the OGX Client CLI with endpoint http://localhost:8321\n```\n\nOptional arguments:\n\n- `--endpoint`: OGX distribution endpoint\n- `--api-key`: OGX distribution API key\n\n## `ogx-client inspect version`\n\nInspect server configuration.\n\n```bash\nogx-client inspect version\n```\n\n```bash\nVersionInfo(version='0.2.14')\n```\n\n### `ogx-client providers list`\n\nShow available providers on distribution endpoint\n\n```bash\nogx-client providers list\n```\n\n```text\n+-----------+----------------+-----------------+\n| API       | Provider ID    | Provider Type   |\n+===========+================+=================+\n| inference | vllm0          | remote::vllm    |\n+-----------+----------------+-----------------+\n```\n\n### `ogx-client providers inspect`\n\nShow specific provider configuration on distribution endpoint\n\n```bash\nogx-client providers inspect <provider_id>\n```\n\n## Inference\n\nInference (chat).\n\n### `ogx-client inference chat-completion`\n\nShow available inference chat completion endpoints on distribution endpoint\n\n```bash\nogx-client inference chat-completion --message <message> [--stream] [--session] [--model-id]\n```\n\n```bash\nOpenAIChatCompletion(\n    id='chatcmpl-aacd11f3-8899-4ec5-ac5b-e655132f6891',\n    choices=[\n        OpenAIChatCompletionChoice(\n            finish_reason='stop',\n            index=0,\n            message=OpenAIChatCompletionChoiceMessageOpenAIAssistantMessageParam(\n                role='assistant',\n                content='The captain of the whaleship Pequod in Nathaniel Hawthorne\\'s novel \"Moby-Dick\" is Captain\nAhab. He\\'s a vengeful and obsessive old sailor who\\'s determined to hunt down and kill the white sperm whale\nMoby-Dick, whom he\\'s lost his leg to in a previous encounter.',\n                name=None,\n                tool_calls=None,\n                refusal=None,\n                annotations=None,\n                audio=None,\n                function_call=None\n            ),\n            logprobs=None\n        )\n    ],\n    created=1752578797,\n    model='llama3.2:3b-instruct-fp16',\n    object='chat.completion',\n    service_tier=None,\n    system_fingerprint='fp_ollama',\n    usage={\n        'completion_tokens': 67,\n        'prompt_tokens': 33,\n        'total_tokens': 100,\n        'completion_tokens_details': None,\n        'prompt_tokens_details': None\n    }\n)\n```\n\nRequired arguments:\n**Note:** At least one of these parameters is required for chat completion\n\n- `--message`: Message\n- `--session`: Start a Chat Session\n\nOptional arguments:\n\n- `--stream`: Stream\n- `--model-id`: Model ID\n\n## Model Management\n\nManage GenAI models.\n\n### `ogx-client models list`\n\nShow available llama models at distribution endpoint\n\n```bash\nogx-client models list\n```\n\n```text\nAvailable Models\n\n┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━┓\n┃ model_type   ┃ identifier                           ┃ provider_resource_id         ┃ metadata  ┃ provider_id ┃\n┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━┩\n│ llm          │ meta-llama/Llama-3.2-3B-Instruct     │ llama3.2:3b-instruct-fp16    │           │ ollama      │\n└──────────────┴──────────────────────────────────────┴──────────────────────────────┴───────────┴─────────────┘\n\nTotal models: 1\n```\n\n### `ogx-client models get`\n\nShow details of a specific model at the distribution endpoint\n\n```bash\nogx-client models get Llama3.1-8B-Instruct\n```\n\n```text\n+----------------------+----------------------+----------------------------------------------------------+---------------+\n| identifier           | llama_model          | metadata                                                 | provider_id   |\n+======================+======================+==========================================================+===============+\n| Llama3.1-8B-Instruct | Llama3.1-8B-Instruct | {'huggingface_repo': 'meta-llama/Llama-3.1-8B-Instruct'} | vllm0         |\n+----------------------+----------------------+----------------------------------------------------------+---------------+\n```\n\n```bash\nogx-client models get Random-Model\n\nModel RandomModel is not found at distribution endpoint host:port. Please ensure endpoint is serving specified model.\n```\n\n### `ogx-client models register`\n\nRegister a new model at distribution endpoint\n\n```bash\nogx-client models register <model_id> [--provider-id <provider_id>] [--provider-model-id <provider_model_id>] [--metadata <metadata>] [--model-type <model_type>]\n```\n\nRequired arguments:\n\n- `MODEL_ID`: Model ID\n- `--provider-id`: Provider ID for the model\n\nOptional arguments:\n\n- `--provider-model-id`: Provider's model ID\n- `--metadata`: JSON metadata for the model\n- `--model-type`: Model type: `llm`, `embedding`\n\n### `ogx-client models unregister`\n\nUnregister a model from distribution endpoint\n\n```bash\nogx-client models unregister <model_id>\n```\n\n## Eval execution\n\nRun evaluation tasks.\n\n### `ogx-client eval run-benchmark`\n\nRun a evaluation benchmark task\n\n```bash\nogx-client eval run-benchmark <eval-task-id1> [<eval-task-id2> ...] --eval-task-config <config-file> --output-dir <output-dir> --model-id <model-id> [--num-examples <num>] [--visualize] [--repeat-penalty <repeat-penalty>] [--top-p <top-p>] [--max-tokens <max-tokens>]\n```\n\nRequired arguments:\n\n- `--eval-task-config`: Path to the eval task config file in JSON format\n- `--output-dir`: Path to the directory where evaluation results will be saved\n- `--model-id`: model id to run the benchmark eval on\n\nOptional arguments:\n\n- `--num-examples`: Number of examples to evaluate (useful for debugging)\n- `--visualize`: If set, visualizes evaluation results after completion\n- `--repeat-penalty`: repeat-penalty in the sampling params to run generation\n- `--top-p`: top-p in the sampling params to run generation\n- `--max-tokens`: max-tokens in the sampling params to run generation\n- `--temperature`: temperature in the sampling params to run generation\n\nExample benchmark_config.json:\n\n```json\n{\n    \"type\": \"benchmark\",\n    \"eval_candidate\": {\n        \"type\": \"model\",\n        \"model\": \"Llama3.1-405B-Instruct\",\n        \"sampling_params\": {\n            \"strategy\": \"greedy\",\n        }\n    }\n}\n```\n\n### `ogx-client eval run-scoring`\n\nRun scoring from application datasets\n\n```bash\nogx-client eval run-scoring <eval-task-id> --output-dir <output-dir> [--num-examples <num>] [--visualize]\n```\n\nRequired arguments:\n\n- `--output-dir`: Path to the directory where scoring results will be saved\n\nOptional arguments:\n\n- `--num-examples`: Number of examples to evaluate (useful for debugging)\n- `--visualize`: If set, visualizes scoring results after completion\n- `--scoring-params-config`: Path to the scoring params config file in JSON format\n- `--dataset-id`: Pre-registered dataset_id to score (from ogx-client datasets list)\n- `--dataset-path`: Path to the dataset file to score\n\n## Eval Tasks\n\nManage evaluation tasks.\n\n### `ogx-client eval_tasks list`\n\nShow available eval tasks on distribution endpoint\n\n```bash\nogx-client eval_tasks list\n```\n\n### `ogx-client eval_tasks register`\n\nRegister a new eval task\n\n```bash\nogx-client eval_tasks register --eval-task-id <eval-task-id> --dataset-id <dataset-id> --scoring-functions <scoring-functions> [--provider-id <provider-id>] [--provider-eval-task-id <provider-eval-task-id>] [--metadata <metadata>]\n```\n\nRequired arguments:\n\n- `--eval-task-id`: ID of the eval task\n- `--dataset-id`: ID of the dataset to evaluate\n- `--scoring-functions`: Scoring functions to use for evaluation\n\nOptional arguments:\n\n- `--provider-id`: Provider ID for the eval task\n- `--provider-eval-task-id`: Provider's eval task ID\n\n## Datasets Management\n\nManage datasets.\n\n### `ogx-client datasets list`\n\nShow available datasets on distribution endpoint\n\n```bash\nogx-client datasets list\n```\n\n### `ogx-client datasets register`\n\n```bash\nogx-client datasets register --dataset_id <dataset_id> --purpose <purpose> [--url <url] [--dataset-path <dataset-path>] [--dataset-id <dataset-id>] [--metadata <metadata>]\n```\n\nRequired arguments:\n\n- `--dataset_id`: Id of the dataset\n- `--purpose`: Purpose of the dataset\n\nOptional arguments:\n\n- `--metadata`: Metadata of the dataset\n- `--url`: URL of the dataset\n- `--dataset-path`: Local file path to the dataset. If specified, upload dataset via URL\n\n### `ogx-client datasets unregister`\n\nRemove a dataset\n\n```bash\nogx-client datasets unregister <dataset-id>\n```\n\nRequired arguments:\n\n- `DATASET_ID`: Id of the dataset\n\n## Scoring Functions Management\n\nManage scoring functions.\n\n### `ogx-client scoring_functions list`\n\nShow available scoring functions on distribution endpoint\n\n```bash\nogx-client scoring_functions list\n```\n\n```text\n┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓\n┃ identifier                                 ┃ provider_id  ┃ description                                                   ┃ type             ┃\n┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩\n│ basic::docvqa                              │ basic        │ DocVQA Visual Question & Answer scoring function              │ scoring_function │\n│ basic::equality                            │ basic        │ Returns 1.0 if the input is equal to the target, 0.0          │ scoring_function │\n│                                            │              │ otherwise.                                                    │                  │\n└────────────────────────────────────────────┴──────────────┴───────────────────────────────────────────────────────────────┴──────────────────┘\n```\n\n### `ogx-client scoring_functions register`\n\nRegister a new scoring function\n\n```bash\nogx-client scoring_functions register --scoring-fn-id <scoring-fn-id> --description <description> --return-type <return-type> [--provider-id <provider-id>] [--provider-scoring-fn-id <provider-scoring-fn-id>] [--params <params>]\n```\n\nRequired arguments:\n\n- `--scoring-fn-id`: Id of the scoring function\n- `--description`: Description of the scoring function\n- `--return-type`: Return type of the scoring function\n\nOptional arguments:\n\n- `--provider-id`: Provider ID for the scoring function\n- `--provider-scoring-fn-id`: Provider's scoring function ID\n- `--params`: Parameters for the scoring function in JSON format\n\n## Post Training Management\n\nPost-training.\n\n### `ogx-client post_training list`\n\nShow the list of available post training jobs\n\n```bash\nogx-client post_training list\n```\n\n```bash\n[\"job-1\", \"job-2\", \"job-3\"]\n```\n\n### `ogx-client post_training artifacts`\n\nGet the training artifacts of a specific post training job\n\n```bash\nogx-client post_training artifacts --job-uuid <job-uuid>\n```\n\n```bash\nJobArtifactsResponse(checkpoints=[], job_uuid='job-1')\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n\n### `ogx-client post_training supervised_fine_tune`\n\nKick off a supervised fine tune job\n\n```bash\nogx-client post_training supervised_fine_tune --job-uuid <job-uuid> --model <model> --algorithm-config <algorithm-config> --training-config <training-config> [--checkpoint-dir <checkpoint-dir>]\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n- `--model`: Model ID\n- `--algorithm-config`: Algorithm Config\n- `--training-config`: Training Config\n\nOptional arguments:\n\n- `--checkpoint-dir`: Checkpoint Config\n\n### `ogx-client post_training status`\n\nShow the status of a specific post training job\n\n```bash\nogx-client post_training status --job-uuid <job-uuid>\n```\n\n```bash\nJobStatusResponse(\n    checkpoints=[],\n    job_uuid='job-1',\n    status='completed',\n    completed_at=\"\",\n    resources_allocated=\"\",\n    scheduled_at=\"\",\n    started_at=\"\"\n)\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n\n### `ogx-client post_training cancel`\n\nCancel the training job\n\n```bash\nogx-client post_training cancel --job-uuid <job-uuid>\n```\n\n```bash\n# This functionality is not yet implemented for ogx-client\n╭────────────────────────────────────────────────────────────╮\n│ Failed to post_training cancel_training_job                │\n│                                                            │\n│ Error Type: InternalServerError                            │\n│ Details: Error code: 501 - {'detail': 'Not implemented: '} │\n╰────────────────────────────────────────────────────────────╯\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n","isInternal":false,"tokens":3342,"sizeBytes":15520},{"name":"index.md","path":"docs/docs/references/python_sdk_reference/index.md","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/docs/docs/references/python_sdk_reference/index.md","title":"Python_sdk_reference Skill","category":"anthropic-skill","format":"markdown","content":"# Python SDK Reference\n\n## Shared Types\n\n```python\nfrom ogx_client.models import (\n    InterleavedContent,\n    InterleavedContentItem,\n    ParamType,\n    SamplingParams,\n    SystemMessage,\n    ToolResponseMessage,\n    URL,\n    UserMessage,\n)\n```\n\n## Tools\n\nTypes:\n\n```python\nfrom ogx_client.models import ListToolDefsResponse, ToolDef\n```\n\n## Inspect\n\nTypes:\n\n```python\nfrom ogx_client.models import HealthInfo, VersionInfo\n```\n\nMethods:\n\n- <code title=\"get /v1/health\">client.inspect.health() -> HealthInfo</code>\n- <code title=\"get /v1/version\">client.inspect.version() -> VersionInfo</code>\n\n## Inference\n\nTypes:\n\n```python\nfrom ogx_client.models import RerankRequest, RerankResponse\n```\n\nMethods:\n\n- <code title=\"post /v1alpha/inference/rerank\">client.inference.rerank(rerank_request) -> RerankResponse</code>\n\n## Embeddings\n\nTypes:\n\n```python\nfrom ogx_client.models import (\n    OpenAIEmbeddingsRequestWithExtraBody,\n    OpenAIEmbeddingsResponse,\n)\n```\n\nMethods:\n\n- <code title=\"post /v1/embeddings\">client.embeddings.create(open_ai_embeddings_request_with_extra_body) -> OpenAIEmbeddingsResponse</code>\n\n## VectorIo\n\n:::warning DEPRECATED API\n\n**This API is deprecated and will be removed in a future version.**\n\nUse the OpenAI-compatible Vector Stores API instead:\n\n- Instead of `client.vector_io.insert()`, use `client.vector_stores.files.create()`\n- Instead of `client.vector_io.query()`, use `client.vector_stores.search()`\n\nSee the [RAG documentation](/docs/building_applications/rag) for migration examples.\n\nRelated: [Issue #2981](https://github.com/ogx-ai/ogx/issues/2981)\n\n:::\n\nTypes:\n\n```python\nfrom ogx_client.models import QueryChunksResponse\n```\n\nMethods:\n\n- <code title=\"post /v1/vector-io/insert\">client.vector_io.insert(insert_chunks_request) -> None</code>\n- <code title=\"post /v1/vector-io/query\">client.vector_io.query(query_chunks_request) -> QueryChunksResponse</code>\n\n## Models\n\nTypes:\n\n```python\nfrom ogx_client.models import (\n    GetModelV1ModelsModelIdGet200Response,\n    ListModelsV1ModelsGet200Response,\n    OpenAIModel,\n)\n```\n\nMethods:\n\n- <code title=\"get /v1/models/{model_id}\">client.models.retrieve(model_id) -> GetModelV1ModelsModelIdGet200Response</code>\n- <code title=\"get /v1/models\">client.models.list() -> ListModelsV1ModelsGet200Response</code>\n\n## Providers\n\nTypes:\n\n```python\nfrom ogx_client.models import ListProvidersResponse\n```\n\nMethods:\n\n- <code title=\"get /v1/providers\">client.providers.list() -> ListProvidersResponse</code>\n\n## Routes\n\nTypes:\n\n```python\nfrom ogx_client.models import ListRoutesResponse\n```\n\nMethods:\n\n- <code title=\"get /v1/inspect/routes\">client.routes.list(api_filter=None) -> ListRoutesResponse</code>\n","isInternal":false,"tokens":684,"sizeBytes":2679},{"name":"migration.md","path":"docs/docs/references/python_sdk_reference/migration.md","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/docs/docs/references/python_sdk_reference/migration.md","title":"Python_sdk_reference Skill","category":"anthropic-skill","format":"markdown","content":"---\ntitle: \"Migrating to ogx_client 1.1.4: The Complete Reference\"\nsidebar_label: \"Migration Guide (1.1.4)\"\n---\n\nThis is the complete migration reference for moving from `ogx_client` <= 1.1.3 (Stainless-generated) to `ogx_client` >= 1.1.4 (OpenAPI-generator-generated). For background on why we made this change, see [The OGX Python SDK Has a New Foundation](https://ogx-ai.github.io/blog/python-sdk-new-foundation).\n\n## TL;DR\n\nFor most codebases, this migration is **a search-and-replace**. The package name\nstays the same (`ogx_client`), the API methods accept the same keyword\narguments, list responses are still iterable, streaming works the same way, and\nexceptions have the same names.\n\nThe one thing you will definitely do:\n\n1. **Replace the type import path and names**:\n   `from ogx_client.types import ResponseObject` -> `from ogx_client.models import OpenAIResponseObject`\n\nEverything else in this document covers edge cases and advanced usage that most\ncode does not touch. The sections below are ordered by how likely they are to\naffect you.\n\n---\n\n## 1. Import Path Changes\n\nThe package name stays `ogx_client` -- you do not need to change your top-level\nimports of `OgxClient` or `AsyncOgxClient`. However, the `types` sub-package\nhas been renamed to `models`:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client import OgxClient\nfrom ogx_client.types import ResponseObject\n\n# After (>= 1.1.4)\nfrom ogx_client import OgxClient  # unchanged\nfrom ogx_client.models import OpenAIResponseObject\n```\n\nAll models now live in a single flat namespace -- there are no sub-packages like\n`types.shared`, `types.alpha`, `types.chat`, etc.\n\n```python\n# Before (<= 1.1.3) -- types scattered across sub-packages\nfrom ogx_client.types import ResponseObject\nfrom ogx_client.types.shared import HealthInfo\nfrom ogx_client.types.alpha import InferenceRerankResponse\nfrom ogx_client.types.chat import CompletionCreateResponse\nfrom ogx_client.types.vector_stores import VectorStoreFile\n\n# After (>= 1.1.4) -- everything from one place\nfrom ogx_client.models import (\n    OpenAIResponseObject,\n    HealthInfo,\n    RerankResponse,\n    OpenAIChatCompletion,\n    VectorStoreFileObject,\n)\n```\n\nThe `Client` and `AsyncClient` short aliases no longer exist. Use `OgxClient`\nand `AsyncOgxClient`.\n\n---\n\n## 2. Type and Model Name Changes\n\nMany types have been renamed in >= 1.1.4. The actual data and fields on these\ntypes are the same -- only the class names changed. Here are the patterns:\n\n- **`OpenAI` prefix added** to types that wrap OpenAI-compatible API objects\n- **`Object` suffix added** to resource types (e.g., `VectorStore` -> `VectorStoreObject`)\n- **Per-operation wrappers collapsed** (e.g., `BatchCreateResponse` / `BatchRetrieveResponse` / `BatchCancelResponse` all become `Batch`)\n\n### Core Resource Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `File` | `OpenAIFileObject` |\n| `Model` | `OpenAIModel` |\n| `Prompt` | `Prompt` |\n| `VectorStore` | `VectorStoreObject` |\n| `ResponseObject` | `OpenAIResponseObject` |\n| `ResponseMessage` | `OpenAIResponseMessage` |\n| `CompactedResponse` | `OpenAICompactedResponse` |\n| `ResponseObjectStream` | `OpenAIResponseObjectStream` |\n| `ConversationObject` | `Conversation` |\n| `ChatCompletionChunk` | `OpenAIChatCompletionChunk` |\n| `CompletionCreateResponse` | `OpenAICompletion` |\n| `CreateEmbeddingsResponse` | `OpenAIEmbeddingsResponse` |\n| `QueryChunksResponse` | `QueryChunksResponse` |\n\n### Delete Response Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `DeleteFileResponse` | `OpenAIFileDeleteResponse` |\n| `ResponseDeleteResponse` | `OpenAIDeleteResponseObject` |\n| `ConversationDeleteResponse` | `ConversationDeletedResource` |\n| `VectorStoreDeleteResponse` | `VectorStoreDeleteResponse` |\n| `VectorStoreSearchResponse` | `VectorStoreSearchResponse` |\n\n### Batch Types (collapsed)\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `BatchCreateResponse` | `Batch` |\n| `BatchRetrieveResponse` | `Batch` |\n| `BatchListResponse` | `Batch` |\n| `BatchCancelResponse` | `Batch` |\n\n### List Response Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `ModelListResponse` | `ListModelsV1ModelsGet200Response` |\n| `ModelRetrieveResponse` | `GetModelV1ModelsModelIdGet200Response` |\n| `ListModelsResponse` | `ListModelsResponse` |\n| `ListFilesResponse` | `ListOpenAIFileResponse` |\n| `ListPromptsResponse` | `ListPromptsResponse` |\n| `ListVectorStoresResponse` | `VectorStoreListResponse` |\n| `ResponseListResponse` | `OpenAIResponseObject` (items of `ListOpenAIResponseObject`) |\n| `PromptListResponse` | `ListPromptsResponse` |\n| `ProviderListResponse` | `ListProvidersResponse` |\n| `RouteListResponse` | `ListRoutesResponse` |\n\n### Shared Types (moved from `types.shared` to flat `models`)\n\n| `ogx_client.types.shared.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-----------------------------------------|-----------------------------------|\n| `ParamType` | `ParamType` |\n| `RouteInfo` | `RouteInfo` |\n| `HealthInfo` | `HealthInfo` |\n| `VersionInfo` | `VersionInfo` |\n| `ProviderInfo` | `ProviderInfo` |\n| `SystemMessage` | `SystemMessage` |\n| `SamplingParams` | `SamplingParams` |\n| `InterleavedContent` | `InterleavedContent` |\n| `InterleavedContentItem` | `InterleavedContentItem` |\n| `ListRoutesResponse` | `ListRoutesResponse` |\n| `ListProvidersResponse` | `ListProvidersResponse` |\n\n### Alpha Types\n\n| `ogx_client.types.alpha.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------------|-----------------------------------|\n| `InferenceRerankResponse` | `RerankResponse` |\n| `InferenceRerankParams` | `RerankRequest` |\n| `AdminListRoutesParams` | `ListRoutesRequest` |\n\n### Chat Types\n\n| `ogx_client.types.chat.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|---------------------------------------|-----------------------------------|\n| `CompletionCreateResponse` | `OpenAIChatCompletion` |\n| `CompletionRetrieveResponse` | `OpenAIChatCompletion` |\n| `CompletionListResponse` | `ListOpenAIChatCompletionResponse` |\n| `CompletionCreateParams` | `OpenAIChatCompletionRequestWithExtraBody` |\n| `CompletionListParams` | `ListChatCompletionsRequest` |\n\n### Chat Completions Sub-types\n\n| `ogx_client.types.chat.completions.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|---------------------------------------------------|-----------------------------------|\n| `MessageListResponse` | `ChatCompletionMessage` |\n| `MessageListParams` | `ListChatCompletionMessagesRequest` |\n\n### Conversations Types\n\n| `ogx_client.types.conversations.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|------------------------------------------------|-----------------------------------|\n| `ItemGetResponse` | `ConversationItem` |\n| `ItemCreateResponse` | `ConversationItem` |\n| `ItemListResponse` | `ConversationItemList` |\n| `ItemCreateParams` | `ConversationItemCreateRequest` |\n| `ItemListParams` | `ListItemsRequest` |\n| `ItemGetParams` | `RetrieveItemRequest` |\n\n### Models Sub-types\n\n| `ogx_client.types.models.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-----------------------------------------|-----------------------------------|\n| `OpenAIListResponse` | `OpenAIListModelsResponse` |\n\n### Responses Sub-types\n\n| `ogx_client.types.responses.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|--------------------------------------------|-----------------------------------|\n| `InputItemListResponse` | `ListOpenAIResponseInputItem` |\n\n### Vector Stores Sub-types\n\n| `ogx_client.types.vector_stores.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-------------------------------------------------|-----------------------------------|\n| `VectorStoreFile` | `VectorStoreFileObject` |\n| `VectorStoreFileBatches` | `VectorStoreFileBatchObject` |\n| `FileDeleteResponse` | `VectorStoreFileDeleteResponse` |\n| `FileContentResponse` | `VectorStoreFileContentResponse` |\n| `ListVectorStoreFilesInBatchResponse` | `VectorStoreFilesListInBatchResponse` |\n| `FileCreateParams` | `OpenAIAttachFileRequest` |\n| `FileUpdateParams` | `OpenAIUpdateVectorStoreFileRequest` |\n| `FileBatchCreateParams` | `OpenAICreateVectorStoreFileBatchRequestWithExtraBody` |\n\n---\n\n## 3. Environment Variables and `api_key`\n\n**No migration needed.** >= 1.1.4 reads the same environment variables as\n<= 1.1.3:\n\n| Environment Variable | Behavior |\n|---------------------|----------|\n| `OGX_CLIENT_BASE_URL` | Auto-inferred for `base_url` |\n| `OGX_CLIENT_CUSTOM_HEADERS` | Parsed and merged into default headers |\n| `OGX_CLIENT_API_KEY` | Sets `Authorization: Bearer <key>` header |\n\nThe `api_key` constructor parameter also works the same way. When provided\n(via constructor arg or `OGX_CLIENT_API_KEY` env var), it sets an\n`Authorization: Bearer` header. Constructor args take precedence over env\nvars.\n\n```python\n# All of these work in >= 1.1.4 just as they did in <= 1.1.3\nclient = OgxClient(base_url=\"http://localhost:8321\")\nclient = OgxClient(api_key=\"my-key\")\nclient = OgxClient(base_url=\"http://localhost:8321\", api_key=\"my-key\")\n```\n\n---\n\n## 4. List and Pagination Responses\n\n**Only affects you if** you were relying on `SyncOpenAICursorPage`'s\nauto-pagination to transparently fetch all pages across multiple API calls.\n\n### What still works\n\nBasic iteration over list results works identically:\n\n```python\n# This works in both versions\nfor file in client.files.list():\n    print(file.id)\n```\n\nThe new list response objects implement `__iter__`, `__getitem__`, and `__len__`,\nall delegating to their internal `.data` list. So `for item in result`,\n`result[0]`, and `len(result)` all work.\n\n### What changed\n\n<= 1.1.3 used `SyncOpenAICursorPage[T]` for some endpoints -- an\nauto-paginating iterator that transparently made additional API calls when you\niterated past the current page. >= 1.1.4 returns one page at a time.\nIf you have more data than fits in one page, you need to paginate manually:\n\n```python\nresult = client.files.list()\n# process result...\nwhile result.has_more:\n    result = client.files.list(after=result.last_id)\n    # process next page...\n```\n\nIn practice, most code fetches a single page and does not rely on\nauto-pagination. If your lists are small enough to fit in one response (the\ncommon case), the behavior is identical.\n\n### Return type changes per endpoint\n\n| Method | <= 1.1.3 return | >= 1.1.4 return |\n|--------|----------------|----------------|\n| `responses.list()` | `SyncOpenAICursorPage[ResponseListResponse]` | `ListOpenAIResponseObject` |\n| `responses.create()` | `ResponseObject` | `OpenAIResponseObject` |\n| `files.list()` | `SyncOpenAICursorPage[File]` | `ListOpenAIFileResponse` |\n| `batches.list()` | `SyncOpenAICursorPage[BatchListResponse]` | `ListBatchesResponse` |\n| `vector_stores.list()` | `SyncOpenAICursorPage[VectorStore]` | `VectorStoreListResponse` |\n| `vector_stores.files.list()` | `SyncOpenAICursorPage[VectorStoreFile]` | `VectorStoreListFilesResponse` |\n| `conversations.items.list()` | `SyncOpenAICursorPage[ItemListResponse]` | `ConversationItemList` |\n| `chat.completions.messages.list()` | `SyncOpenAICursorPage[MessageListResponse]` | `ChatCompletionMessageList` |\n| `models.list()` | `ModelListResponse` (TypeAlias Union) | `ListModelsV1ModelsGet200Response` (OneOf wrapper) |\n| `chat.completions.list()` | `CompletionListResponse` | `ListOpenAIChatCompletionResponse` |\n| `providers.list()` | `ProviderListResponse` (`TypeAlias = List[ProviderInfo]`) | `ListProvidersResponse` |\n| `routes.list()` | `RouteListResponse` (`TypeAlias = List[RouteInfo]`) | `ListRoutesResponse` |\n| `prompts.list()` | `PromptListResponse` (`TypeAlias = List[Prompt]`) | `ListPromptsResponse` |\n\n### TypeAlias lists replaced by wrapper objects\n\nA few endpoints in <= 1.1.3 returned plain Python lists via TypeAliases\n(e.g., `ProviderListResponse = List[ProviderInfo]`). These are now Pydantic\nmodels with a `.data` field. If you were treating the result as a bare list,\naccess `.data` or iterate (which delegates to `.data`):\n\n```python\n# Before -- was a plain list\nproviders = client.providers.list()  # List[ProviderInfo]\nfirst = providers[0]\n\n# After -- wrapper object, but iteration/indexing still works\nproviders = client.providers.list()  # ListProvidersResponse\nfirst = providers[0]  # works via __getitem__\nfirst = providers.data[0]  # also works\n```\n\n---\n\n## 5. Removed Client Features\n\n**Only affects you if** you used these specific patterns.\n\n### `client.copy()` / `client.with_options()`\n\nNo longer available. Create a new client instead.\n\n```python\n# Before\nnew_client = client.copy(base_url=\"http://other-server:8321\")\n\n# After\nnew_client = OgxClient(base_url=\"http://other-server:8321\")\n```\n\n### `client.with_raw_response`\n\nNo longer available. Use `*_with_http_info()` method variants:\n\n```python\n# Before\nraw = client.with_raw_response.responses.retrieve(\"resp-123\")\nraw.status_code\nraw.headers\nparsed = raw.parse()\n\n# After\nresp = client.responses.retrieve_with_http_info(\"resp-123\")\nresp.status_code\nresp.headers\nresp.data  # already parsed\n```\n\n### `client.with_streaming_response`\n\nNo longer available. Use `*_without_preload_content()` method variants:\n\n```python\n# Before\nwith client.with_streaming_response.files.content(\"file-abc\") as response:\n    for chunk in response.iter_bytes():\n        ...\n\n# After\nresponse = client.files.content_without_preload_content(\"file-abc\")\n```\n\n### `file_from_path` utility\n\nNo longer available in >= 1.1.4. Use standard Python file I/O:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client import file_from_path\n\n# After (>= 1.1.4)\nwith open(\"path/to/file\", \"rb\") as f:\n    client.files.create(file=f, purpose=\"assistants\")\n```\n\n### `aiohttp` backend\n\nThe optional `[aiohttp]` backend for `AsyncOgxClient` is no longer available\nin >= 1.1.4. `httpx.AsyncClient` is used exclusively.\n\n---\n\n## 6. Exception Attribute Changes\n\n**Only affects you if** you catch SDK exceptions and inspect their attributes\n(status code, response body, etc.). If you only catch them by type (e.g.,\n`except NotFoundError:`), nothing changes -- the class names are the same.\n\n### Catching by type still works\n\n```python\n# Works identically in both versions\nfrom ogx_client import NotFoundError, BadRequestError, RateLimitError\n\ntry:\n    client.models.retrieve(\"nonexistent\")\nexcept NotFoundError:\n    print(\"not found\")\n```\n\n### Attribute names changed\n\n| What you want | <= 1.1.3 | >= 1.1.4 |\n|---------------|----------|----------|\n| HTTP status code | `e.status_code` | `e.status` (also available as `e.status_code`) |\n| Full HTTP response | `e.response` (`httpx.Response`) | Not available (individual fields below) |\n| Response headers | `e.response.headers` | `e.headers` |\n| Response body | `e.body` (parsed JSON or None) | `e.body` (raw string) |\n| Error message | `e.message` | `e.message` (also available as `e.reason`) |\n| HTTP request | `e.request` | Not available |\n\n```python\ntry:\n    client.models.retrieve(\"nonexistent\")\n# Before\nexcept NotFoundError as e:\n    print(e.status_code)  # 404\n    print(e.response)  # httpx.Response\n\n# After\nexcept NotFoundError as e:\n    print(e.status)  # 404\n    print(e.body)  # raw body string\n    print(e.headers)  # response headers dict\n```\n\n### Exception hierarchy\n\n<= 1.1.3 had one hierarchy rooted at `OgxClientError -> APIError`.\n>= 1.1.4 has two coexisting hierarchies:\n\n**Primary (used by default):**\n\n```text\nOpenApiException\n  -> ApiException -> BadRequestException, NotFoundException, ...\n```\n\nThe familiar names (`BadRequestError`, `NotFoundError`, etc.) are **aliases**\nfor the `*Exception` classes. `from ogx_client import BadRequestError`\ngives you `BadRequestException` under the hood.\n\n**Secondary (Stainless-compatible, also importable):**\n\n```text\nOgxClientError -> APIError -> APIStatusError -> BadRequestError, ...\n```\n\nIf you were catching `APIStatusError` or `OgxClientError` as a base class,\nnote that the primary hierarchy uses `ApiException` / `OpenApiException` instead.\n\n---\n\n## 7. Client Initialization\n\n**This is mostly backward-compatible.** `base_url=` still works.\n\n>= 1.1.4 adds a `configuration` parameter as an alternative way to pass a URL\nstring or a full `Configuration` object:\n\n```python\nfrom ogx_client import OgxClient, Configuration\n\n# All three are equivalent:\nclient = OgxClient(base_url=\"http://localhost:8321\")\nclient = OgxClient(configuration=\"http://localhost:8321\")\nclient = OgxClient(configuration=Configuration(host=\"http://localhost:8321\"))\n\n# Configuration gives access to more options:\nconfig = Configuration(host=\"http://localhost:8321\", timeout=30, retries=3, http2=True)\nclient = OgxClient(configuration=config)\n```\n\n### Constructor parameter comparison\n\n| Parameter | <= 1.1.3 | >= 1.1.4 |\n|-----------|----------|----------|\n| `base_url` | Direct param | Direct param (forwarded to `Configuration`) |\n| `api_key` | Direct param (sets `Authorization: Bearer` header) | Direct param (same behavior) |\n| `default_headers` | Direct param | Direct param |\n| `timeout` | Direct param (`float \\| Timeout`) | Via `**kwargs` or `Configuration(timeout=...)` |\n| `max_retries` | Direct param (default: 2) | Via `**kwargs` or `Configuration(retries=...)` |\n| `http_client` | Direct param (`httpx.Client`) | Not supported |\n| `default_query` | Direct param | Not supported |\n| `configuration` | Not supported | **New** -- accepts `Configuration` object or string URL |\n| `header_name`/`header_value` | Not supported | Supported (single-header auth) |\n| `cookie` | Not supported | Supported |\n\n---\n\n## 8. API Method Calling Convention\n\n**This is backward-compatible for the common case.** If you call methods with\nkeyword arguments (the normal way), nothing changes:\n\n```python\n# Works identically in both versions\nresponse = client.responses.create(model=\"gpt-4o\", input=\"Hello, world!\")\n```\n\n>= 1.1.4 additionally accepts a request body object as the first positional\nargument:\n\n```python\n# New option (not available in <= 1.1.3)\nfrom ogx_client.models import CreateResponseRequest\n\nrequest = CreateResponseRequest(model=\"gpt-4o\", input=\"Hello, world!\")\nresponse = client.responses.create(request)\n```\n\n### Minor differences (unlikely to matter)\n\n- <= 1.1.3 enforced keyword-only arguments via `*`. >= 1.1.4 does not --\n  but since nobody passes positional args to these methods, this is invisible.\n- <= 1.1.3 used an `omit` sentinel to distinguish \"not provided\" from\n  `None`. >= 1.1.4 uses `None` as the default. In practice the server\n  treats both the same way.\n- Both versions support `extra_body` for sending additional fields.\n\n---\n\n## 9. Streaming Internals\n\n**The usage pattern is identical.** Only internal details changed.\n\n```python\n# Works identically in both versions\nstream = client.responses.create(model=\"gpt-4o\", input=\"Hello\", stream=True)\nfor event in stream:\n    print(event)\n```\n\nThe stream event type names changed (same rename pattern as other types):\n\n| <= 1.1.3 | >= 1.1.4 |\n|----------|----------|\n| `ResponseObjectStream` | `OpenAIResponseObjectStream` |\n| `ChatCompletionChunk` | `OpenAIChatCompletionChunk` |\n\nOther differences that only matter if you inspect stream internals:\n\n| Aspect | <= 1.1.3 | >= 1.1.4 |\n|--------|----------|----------|\n| Error in stream | Raises `APIError` | Silently caught |\n| `response` attribute | `stream.response` (public) | `stream._response` (private) |\n| `status_code` | `stream.response.status_code` | `stream.status_code` |\n| `headers` | `stream.response.headers` | `stream.headers` |\n| `until_done()` | Not available | Available |\n\n---\n\n## 10. APIResponse Changes\n\n**Only affects you if** you used `client.with_raw_response` (see\n[Section 5](#5-removed-client-features)).\n\n<= 1.1.3's `APIResponse` was a wrapper around a live `httpx.Response` with\nlazy parsing via `.parse()`.\n\n>= 1.1.4's `ApiResponse` is a **Pydantic BaseModel** with the data\nalready parsed:\n\n```python\n# After (via *_with_http_info methods)\nresp = client.responses.create_with_http_info(...)\nresp.status_code  # int\nresp.headers  # Mapping[str, str]\nresp.data  # already-parsed model\nresp.raw_data  # raw bytes\n```\n\n---\n\n## 11. Params Types Replaced by Request Models\n\n**Only affects you if** you explicitly imported `*Params` TypedDict types for\ntype annotations or static analysis.\n\n<= 1.1.3 provided TypedDict classes (named `*Params`) for type-checking\nmethod arguments. Most users never imported these -- they just passed keyword\narguments directly.\n\n>= 1.1.4 replaces them with Pydantic `BaseModel` classes (named\n`*Request`). If you referenced Params types in your code:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client.types import ResponseCreateParams\n\n\ndef my_func(params: ResponseCreateParams) -> None: ...\n\n\n# After (>= 1.1.4)\nfrom ogx_client.models import CreateResponseRequest\n\n\ndef my_func(params: CreateResponseRequest) -> None: ...\n```\n\nFull mapping:\n\n| <= 1.1.3 (TypedDict) | >= 1.1.4 (BaseModel) |\n|----------------------|----------------------|\n| `ResponseCreateParams` | `CreateResponseRequest` |\n| `ResponseCompactParams` | `CompactResponseRequest` |\n| `EmbeddingCreateParams` | `OpenAIEmbeddingsRequestWithExtraBody` |\n| `CompletionCreateParams` (top-level) | `OpenAICompletionRequestWithExtraBody` |\n| `chat.CompletionCreateParams` | `OpenAIChatCompletionRequestWithExtraBody` |\n| `BatchCreateParams` | `CreateBatchRequest` |\n| `BatchListParams` | `ListBatchesRequest` |\n| `FileCreateParams` | `UploadFileRequest` |\n| `FileListParams` | `ListFilesRequest` |\n| `VectorStoreCreateParams` | `OpenAICreateVectorStoreRequestWithExtraBody` |\n| `VectorStoreUpdateParams` | `OpenAIUpdateVectorStoreRequest` |\n| `VectorStoreSearchParams` | `OpenAISearchVectorStoreRequest` |\n| `VectorIoInsertParams` | `InsertChunksRequest` |\n| `VectorIoQueryParams` | `QueryChunksRequest` |\n| `ConversationCreateParams` | `CreateConversationRequest` |\n| `ConversationUpdateParams` | `UpdateConversationRequest` |\n| `PromptCreateParams` | `CreatePromptRequest` |\n| `PromptUpdateParams` | `UpdatePromptRequest` |\n| `PromptRetrieveParams` | `GetPromptRequest` |\n| `PromptSetDefaultVersionParams` | `SetDefaultVersionRequest` |\n| `alpha.InferenceRerankParams` | `RerankRequest` |\n| `alpha.AdminListRoutesParams` | `ListRoutesRequest` |\n| `vector_stores.FileCreateParams` | `OpenAIAttachFileRequest` |\n| `vector_stores.FileUpdateParams` | `OpenAIUpdateVectorStoreFileRequest` |\n| `vector_stores.FileBatchCreateParams` | `OpenAICreateVectorStoreFileBatchRequestWithExtraBody` |\n| `conversations.ItemCreateParams` | `ConversationItemCreateRequest` |\n| `conversations.ItemListParams` | `ListItemsRequest` |\n| `conversations.ItemGetParams` | `RetrieveItemRequest` |\n| `chat.CompletionListParams` | `ListChatCompletionsRequest` |\n| `chat.completions.MessageListParams` | `ListChatCompletionMessagesRequest` |\n\n---\n\n## 12. Async Client Changes\n\n**Backward-compatible.** Usage is the same:\n\n```python\nfrom ogx_client import AsyncOgxClient\n\nasync_client = AsyncOgxClient(base_url=\"http://localhost:8321\")\nresponse = await async_client.responses.create(model=\"gpt-4o\", input=\"Hello\")\n```\n\nThe `Client` and `AsyncClient` short aliases are gone -- use `OgxClient` and\n`AsyncOgxClient`.\n\nThe optional `aiohttp` backend is no longer available in >= 1.1.4.\n`httpx.AsyncClient` is used exclusively.\n\n---\n\n## 13. Dependencies and Python Version\n\n| Dependency | <= 1.1.3 | >= 1.1.4 |\n|-----------|----------|----------|\n| Python | >= 3.9 | **>= 3.13** |\n| `httpx` | >= 0.23.0, < 1 | >= 0.28.1 |\n| `pydantic` | >= 1.9.0, < 3 | **>= 2** |\n| `anyio` | >= 3.5.0, < 5 | Not required |\n| `distro` | >= 1.7.0, < 2 | Not required |\n| `sniffio` | Required | Not required |\n| `tqdm` | Required | Not required |\n| `typing-extensions` | >= 4.14, < 5 | >= 4.7.1 |\n| `python-dateutil` | Not required | >= 2.8.2 |\n\nIf you are on Python 3.9--3.12, you must upgrade to 3.13+. If you are on\nPydantic v1, you must upgrade to v2. Both versions use **httpx** as the HTTP\nclient.\n\n---\n\n## Quick Migration Checklist\n\n**Everyone:**\n\n- [ ] Upgrade Python to 3.13+ and Pydantic to 2.x (if not already)\n- [ ] Upgrade `ogx_client` to >= 1.1.4 in `pip install` / `pyproject.toml`\n- [ ] Replace `from ogx_client.types` -> `from ogx_client.models` in all imports\n- [ ] Update type names per the [mapping tables](#2-type-and-model-name-changes)\n\n**If applicable:**\n\n- [ ] Replace `client.with_raw_response` with `*_with_http_info()` methods\n- [ ] Replace `client.copy()` / `client.with_options()` with new client creation\n- [ ] Add manual pagination if you relied on `SyncOpenAICursorPage` auto-pagination\n- [ ] Update `e.status_code` -> `e.status` if you inspect exception attributes\n","frontmatter":{"title":"Migrating to ogx_client 1.1.4: The Complete Reference","sidebar_label":"Migration Guide (1.1.4)"},"isInternal":false,"tokens":6628,"sizeBytes":24920},{"name":"0b2b172f0f123d1af9ecf059e37e566f53dade988415f9f8578326f41e423cd5.json","path":"tests/integration/agents/recordings/0b2b172f0f123d1af9ecf059e37e566f53dade988415f9f8578326f41e423cd5.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/0b2b172f0f123d1af9ecf059e37e566f53dade988415f9f8578326f41e423cd5.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_function_call_output_response_with_none_arguments[txt=ollama/qwen3.5:0.8b]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"what's the current time? You MUST call the `get_current_time` function to find out.\"\n        }\n      ],\n      \"parallel_tool_calls\": true,\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      },\n      \"tools\": [\n        {\n          \"type\": \"function\",\n          \"function\": {\n            \"type\": \"function\",\n            \"name\": \"get_current_time\",\n            \"description\": \"Get the current time\",\n            \"parameters\": {}\n          }\n        }\n      ]\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.31.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" current\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" time\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" need\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" use\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_current\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_time\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" as\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" instructed\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" This\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" direct\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" request\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" that\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" doesn\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"'t\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" require\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" any\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" additional\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" parameters\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" or\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" tools\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": [\n                  {\n                    \"index\": 0,\n                    \"id\": \"call_abpvebbz\",\n                    \"function\": {\n                      \"arguments\": \"{}\",\n                      \"name\": \"get_current_time\"\n                    },\n                    \"type\": \"function\"\n                  }\n                ]\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": null,\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null\n              },\n              \"index\": 0,\n              \"finish_reason\": \"tool_calls\",\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": {\n            \"completion_tokens\": 54,\n            \"prompt_tokens\": 270,\n            \"total_tokens\": 324,\n            \"completion_tokens_details\": null,\n            \"prompt_tokens_details\": {\n              \"audio_tokens\": null,\n              \"cache_write_tokens\": null,\n              \"cached_tokens\": 0,\n              \"image_tokens\": null,\n              \"text_tokens\": null\n            }\n          },\n          \"timings\": {\n            \"prompt_n\": 270,\n            \"prompt_ms\": 2595,\n            \"prompt_per_token_ms\": 9.61111111111111,\n            \"prompt_per_second\": 104.04624277456648,\n            \"predicted_n\": 54,\n            \"predicted_ms\": 2863,\n            \"predicted_per_token_ms\": 53.01851851851852,\n            \"predicted_per_second\": 18.861334264757247\n          }\n        }\n      }\n    ],\n    \"is_streaming\": true\n  },\n  \"id_normalization_mapping\": {}\n}\n","frontmatter":{"test_id":"tests/integration/agents/test_openai_responses.py::test_function_call_output_response_with_none_arguments[txt=ollama/qwen3.5:0.8b]","request":{"method":"POST","url":"http://0.0.0.0:11434/v1/v1/chat/completions","headers":{},"body":{"model":"qwen3.5:0.8b","messages":[{"role":"user","content":"what's the current time? You MUST call the `get_current_time` function to find out."}],"parallel_tool_calls":true,"stream":true,"stream_options":{"include_usage":true},"tools":[{"type":"function","function":{"type":"function","name":"get_current_time","description":"Get the current time","parameters":{}}}]},"endpoint":"/v1/chat/completions","model":"qwen3.5:0.8b","provider_metadata":{"openai_sdk_version":"3.31.0"}},"response":{"body":[{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":"assistant","tool_calls":null,"reasoning":"The"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" user"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" is"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" asking"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" for"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" the"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" current"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" time"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" and"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" I"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" need"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" to"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" use"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" the"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" get"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":"_current"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":"_time"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" function"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" as"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" instructed"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":"."},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" This"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" is"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" a"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" direct"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" request"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" that"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" doesn"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":"'t"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" require"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" any"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" additional"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" parameters"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" or"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":" tools"},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":null,"reasoning":"."},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":"","function_call":null,"refusal":null,"role":null,"tool_calls":[{"index":0,"id":"call_abpvebbz","function":{"arguments":"{}","name":"get_current_time"},"type":"function"}]},"index":0,"finish_reason":null,"logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[{"delta":{"audio":null,"content":null,"function_call":null,"refusal":null,"role":null,"tool_calls":null},"index":0,"finish_reason":"tool_calls","logprobs":null}],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":null}},{"__type__":"openai.types.chat.chat_completion_chunk.ChatCompletionChunk","__data__":{"id":"rec-0b2b172f0f12","choices":[],"created":0,"model":"qwen3.5:0.8b","object":"chat.completion.chunk","moderation":null,"obfuscation":null,"service_tier":null,"system_fingerprint":"fp_ollama","usage":{"completion_tokens":54,"prompt_tokens":270,"total_tokens":324,"completion_tokens_details":null,"prompt_tokens_details":{"audio_tokens":null,"cache_write_tokens":null,"cached_tokens":0,"image_tokens":null,"text_tokens":null}},"timings":{"prompt_n":270,"prompt_ms":2595,"prompt_per_token_ms":9.61111111111111,"prompt_per_second":104.04624277456648,"predicted_n":54,"predicted_ms":2863,"predicted_per_token_ms":53.01851851851852,"predicted_per_second":18.861334264757247}}}],"is_streaming":true},"id_normalization_mapping":{}},"isInternal":false,"tokens":8494,"sizeBytes":35719},{"name":"156e7e73dc52adad8ba6a8481adbce15a383633ac951d883cd4f18cd7d66cba9.json","path":"tests/integration/agents/recordings/156e7e73dc52adad8ba6a8481adbce15a383633ac951d883cd4f18cd7d66cba9.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/156e7e73dc52adad8ba6a8481adbce15a383633ac951d883cd4f18cd7d66cba9.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_responses_store[openai_client-txt=ollama/qwen3.5:0.8b-tools1-False]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"What's the weather in Tokyo? YOU MUST USE THE get_weather function to get the weather.\"\n        }\n      ],\n      \"parallel_tool_calls\": true,\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      },\n      \"tools\": [\n        {\n          \"type\": \"function\",\n          \"function\": {\n            \"type\": \"function\",\n            \"name\": \"get_weather\",\n            \"description\": \"Get the weather in a given city\",\n            \"parameters\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"city\": {\n                  \"type\": \"string\",\n                  \"description\": \"The city to get the weather for\"\n                }\n              }\n            }\n          }\n        }\n      ]\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.31.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" information\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" in\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Tokyo\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" but\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" wants\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" me\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" use\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" retrieve\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" it\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" need\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" check\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" if\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" there\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"'s\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" way\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" do\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" this\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" since\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" only\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" have\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" access\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" single\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" API\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" call\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" tool\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" (\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"),\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" can\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" call\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" that\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_o","isInternal":false,"tokens":11752,"sizeBytes":50000},{"name":"339d510b1f11fab08ae8684df5bd52509407c02034a81463c8ac2208b4ce9da2.json","path":"tests/integration/agents/recordings/339d510b1f11fab08ae8684df5bd52509407c02034a81463c8ac2208b4ce9da2.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/339d510b1f11fab08ae8684df5bd52509407c02034a81463c8ac2208b4ce9da2.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_stored_input_items_work_as_pagination_cursors[txt=ollama/qwen3.5:0.8b]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"Message A: What is the capital of France?\"\n        },\n        {\n          \"role\": \"assistant\",\n          \"content\": \"The capital of France is Paris.\"\n        },\n        {\n          \"role\": \"user\",\n          \"content\": \"Message B: What about Spain?\"\n        },\n        {\n          \"role\": \"assistant\",\n          \"content\": \"The capital of Spain is Madrid.\"\n        },\n        {\n          \"role\": \"user\",\n          \"content\": \"Message C: And Italy?\"\n        }\n      ],\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      }\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.57.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"Thinking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Process\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\n\\n1\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"  **\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"An\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"alyze\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Request\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":**\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" has\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" provided\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" dialogue\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" history\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" where\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" (\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" AI\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \")\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" have\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" previously\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" answered\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" \\\"\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"capital\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" of\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" France\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" =\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Paris\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\\",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" \\\"\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"capital\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" of\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Spain\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" =\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Madrid\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\\",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" now\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asks\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Italy\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\n\\n2\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"  **\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"Evaluate\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Intent\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":**\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" This\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          ","isInternal":false,"tokens":11766,"sizeBytes":50000},{"name":"469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json","path":"tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json)","tokens":300,"sizeBytes":320},{"name":"478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json","path":"tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json)","tokens":300,"sizeBytes":320},{"name":"5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json","path":"tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json)","tokens":300,"sizeBytes":320},{"name":"530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json","path":"tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json)","tokens":300,"sizeBytes":320},{"name":"562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json","path":"tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json)","tokens":300,"sizeBytes":320},{"name":"60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json","path":"tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json)","tokens":300,"sizeBytes":320},{"name":"719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json","path":"tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json)","tokens":300,"sizeBytes":320},{"name":"75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json","path":"tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json)","tokens":300,"sizeBytes":320},{"name":"81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json","path":"tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json)","tokens":300,"sizeBytes":320},{"name":"9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json","path":"tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json)","tokens":300,"sizeBytes":320},{"name":"9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json","path":"tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json)","tokens":300,"sizeBytes":320},{"name":"a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json","path":"tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json)","tokens":300,"sizeBytes":320},{"name":"abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json","path":"tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json)","tokens":300,"sizeBytes":320},{"name":"b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json","path":"tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json)","tokens":300,"sizeBytes":320},{"name":"c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json","path":"tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json)","tokens":300,"sizeBytes":320},{"name":"d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json","path":"tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json","title":"Recordings Skill","category":"anthropic-skill","format":"json","content":"# Recordings Skill\n\nPath: `tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json)","tokens":300,"sizeBytes":320},{"name":"CLAUDE.md","path":"CLAUDE.md","rawUrl":"https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/CLAUDE.md","title":"Claude Agent Guidelines & System Prompt","category":"claude-rule","format":"markdown","content":"See @AGENTS.md for guidelines on working with this codebase.\n\n## Design Context\n\n### Users\n\nBackend engineers, application developers, and platform teams evaluating or adopting OGX for production AI workloads. They arrive from GitHub, blog posts, or search. They already use OpenAI/Anthropic SDKs and want to know: can I point my existing code at this server and have it just work? They are practical, time-constrained, and skeptical of marketing fluff. They read docs in dark terminals, IDEs, and browser tabs at all hours.\n\n### Brand Personality\n\n**Powerful, flexible, production-grade.** Not flashy. Not cute. Not corporate. The kind of project where the README is better than most companies' entire docs site. Speaks in code examples, not marketing copy. Respects the developer's time above all else.\n\nThree words: **capable, direct, trustworthy.**\n\n### Aesthetic Direction\n\n- **Tone**: Technical confidence without pretension. Think: well-organized CLI output, a clean terminal, a tool that does exactly what it says.\n- **Theme**: Dark mode default, both supported. Dark should feel like a refined terminal environment, not \"glowing neon AI dashboard.\" Light should feel like clean paper, not washed-out gray.\n- **Anti-references**: Purple-to-blue gradients, animated gradient text, icon-in-colored-circle card grids, \"Works with 20+ providers!\" vanity stats, marquee scrolling logos, decorative mesh backgrounds. All of these are present on the current site and should be replaced.\n- **Color**: Move away from purple as primary. The logo uses a deep navy-to-teal gradient. The palette should feel grounded, not synthetic. Consider warm neutrals or muted earth tones as an alternative to the current purple/teal AI palette.\n- **Typography**: Current fonts (Space Grotesk, Inter) are on the overused list. Find something with more character that still reads as technical and trustworthy.\n\n### Design Principles\n\n1. **Show, don't decorate.** Every visual element must communicate information. No decorative gradients, glows, or animations that exist for \"wow factor.\"\n2. **Code is the hero.** The most important thing on the landing page is a working code example. Make it prominent, readable, and real.\n3. **Earn trust through clarity.** Clean structure, consistent spacing, and direct language signal competence better than any visual flourish.\n4. **Respect the scroll.** Every section must justify its existence. If it doesn't answer a question the developer has, cut it.\n5. **No AI slop.** If a pattern appears on 50 AI-generated landing pages, it doesn't belong here. When in doubt, do less.\n","isInternal":false,"tokens":564,"sizeBytes":2600}],"systemPromptSnippet":"<yakaai_skills repo=\"ogx-ai/ogx\">\n<!-- File: AGENTS.md (Tokens: ~2372 | Category: root-instruction) -->\n# Agent Guidelines for OGX\n\nThis file provides guidance for AI coding agents working on this codebase.\nIt complements [CONTRIBUTING.md](CONTRIBUTING.md) with agent-specific instructions.\nHuman contributors should follow the conventions in CONTRIBUTING.md.\n\n## Project Overview\n\nOGX is an API server implementing the OpenAI Responses API, Chat Completions,\nEmbeddings, and supporting APIs (files, vector stores, batches, eval, and responses guardrails). It supports\nmultiple inference backends (OpenAI, Azure, Bedrock, vLLM, Ollama, WatsonX, etc.) through\na provider architecture.\n\n## Repository Layout\n\n```text\nsrc/ogx/              # Server implementation\n  core/                       # Request routing, server, storage\n  providers/\n    inline/                   # Built-in providers (responses, eval, vector_io, etc.)\n    remote/                   # Remote provider adapters (OpenAI, Azure, vLLM, etc.)\n    registry/                 # Provider registration specs\n    utils/                    # Shared provider utilities (OpenAI mixin, MCP, etc.)\n  distributions/              # Distribution configs (starter, ci-tests, etc.)\nsrc/ogx_api/          # API definitions, Pydantic models, FastAPI routes\ntests/\n  unit/                       # Unit tests\n  integration/                # Integration tests with recording/replay system\n```\n\n## Python & Tooling\n\n- **Python 3.13 or 3.14** is required. Pre-commit hooks run on 3.14 (see `.pre-commit-config.yaml`).\n- Use `uv` for all dependency management and script execution.\n- Run scripts with `uv run`, never bare `python3` or `python`.\n- Use standard library modules when possible.\n- All function signatures must have type hints. Prefer Pydantic models for validation.\n- Code must pass `mypy`. Check the exclude list in `pyproject.toml` for known exceptions.\n- Use `def _function_name` for private functions.\n- Prefer explicit top-level imports over inline imports.\n- Do not use exceptions as control flow.\n\n## Code Style\n\n- Comments must add value. Do not write filler comments that describe the next line.\n- Add comments only to clarify surprising behavior that is not obvious from the code.\n- Good variable naming and clear code organization matters more than comments.\n- Do NOT remove existing comments unless they are factually wrong.\n- Error messages must be prefixed with \"Failed to ...\".\n- Use structured logging via `from ogx.log import get_logger`. Always use\n  key-value style: `logger.info(\"Processing request\", model=model_id, provider=provider)`\n  instead of f-strings or %-style formatting. The pre-commit hook\n  `Block f-string logging` enforces this.\n- The pre-commit hook `Ensure 'ogx.log' usage for logging` enforces that all\n  logging uses the project's logger, not the standard library directly.\n- Use `httpx2` for all HTTP client code. The pre-commit hook\n  `Block direct httpx imports (use httpx2)` rejects `import httpx` /\n  `from httpx import` unless the line is marked `# allow-direct-httpx`.\n  The marked exceptions are deliberate boundaries: the google-genai\n  client option (vertexai/utils.py), the mcp 1.x SDK (utils/tools/mcp.py),\n  the generated client-SDK boundary (library_client.py, api_recorder.py),\n  and the dual exception mapping (core/exceptions/mapping.py).\n\n## Git Conventions\n\n- Always use `--signoff` (`-s`) when creating commits.\n- Do not amend commits and force push during PR review. Use new commits instead.\n- Use `git merge main` to update branches, not `git rebase`.\n- Commit messages must use [conventional commits](https://www.conventionalcommits.org/)\n  format and full sentences, not bullet points.\n- Merge `upstream/main` before pushing a branch to avoid CI failures from stale code.\n\n## Testing\n\n- Unit tests: `./scripts/unit-tests.sh` or `uv run pytest tests/unit/ -x --tb=short`\n- Run pre-commit checks: `uv run pre-commit run --all-files`\n\n### Integration Tests\n\nIntegration tests use a recording/replay system. Recordings are JSON files in\n`tests/integration/*/recordings/` keyed by SHA256 hashes of HTTP request bodies.\nWhen modifying code that changes request bodies sent to providers, recordings may\nneed to be re-recorded.\n\nRun integration tests via the CI script (same command used in GitHub Actions):\n\n```bash\n# Replay mode (default) — uses pre-recorded responses, no API keys needed\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt \\\n  --file tests/integration/responses/test_compact_responses.py\n\n# Re-record missing recordings (requires API keys, e.g. OPENAI_API_KEY)\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt \\\n  --inference-mode record-if-missing \\\n  --file tests/integration/responses/test_compact_responses.py\n\n# Run a full suite\nuv run --no-sync ./scripts/integration-tests.sh \\\n  --stack-config server:ci-tests --setup gpt --suite responses\n```\n\nKey flags: `--stack-config` (required), `--setup` (`gpt`, `ollama`, `vllm`),\n`--inference-mode` (`replay`, `record`, `record-if-missing`), `--file` (single file),\n`--pattern` (pytest `-k` filter), `--suite` (`base`, `responses`, `vision`),\n`--install-deps` (install missing provider dependencies before running tests),\n`--client-version` (`latest` generates and installs the in-repo ogx-client from\n`client-sdks/openapi`, `published` verifies the uv.lock-resolved PyPI version).\n\nThe runner preflights the provider dependencies for the stack config — the\nsame `ogx stack list-deps <config> | xargs -L1 uv pip install` step CI runs —\nand fails early with the exact install command when any are missing. Pass\n`--install-deps` to install them automatically (this is what CI does).\n\nIf a test fails in replay mode with \"Recording not found\", re-run with\n`--inference-mode record-if-missing` and commit the new recording files.\nRecording locally requires an API key for the provider under test (e.g.\n`OPENAI_API_KEY` for `--setup gpt`). If you do not have a key, repository\nmaintainers can trigger the record workflow on GitHub via\n`.github/workflows/record-integration-tests.yml`.\n\n## Provider Architecture\n\nEach provider implements a protocol (e.g., `Inference`, `Responses`, `VectorIO`) and is\nregistered in `src/ogx/providers/registry/`. Provider specs include:\n\n- `provider_type`: e.g., `remote::openai`, `inline::builtin`\n- `module`: Python module path\n- `config_class`: Pydantic config class path\n- `api_dependencies`: APIs this provider depends on\n- `deprecation_warning`: For deprecated providers (triggers runtime warning)\n\nConfiguration classes must use Pydantic `Field` with `description` parameters —\nthese generate the provider documentation automatically.\n\n## Distribution Configs\n\nDistribution YAML files in `src/ogx/distributions/` are partially auto-generated.\nAfter changing provider configs, run:\n\n```bash\nuv run ./scripts/distro_codegen.py\nuv run ./scripts/provider_codegen.py\n```\n\nDo not edit generated files in `docs/docs/providers/` manually.\n\n## API Changes\n\nWhen modifying or extending APIs:\n\n1. Update models in `src/ogx_api/`\n2. Regenerate OpenAPI specs: `uv run ./scripts/run_openapi_generator.sh`\n3. Check for breaking changes — the pre-commit hook `Check API spec for breaking changes`\n   enforces backward compatibility.\n4. Include a test plan with a testing script and execution output in your PR description.\n\nThe full stability contract — HTTP API levels (`/v1alpha`, `/v1beta`, `/v1`),\nthe two `ogx-api` package surfaces (`ogx_api.types`, `ogx_api.provider`),\nconfig schema rules, and the data storage compatibility guarantees across\nZ/Y/X-stream upgrades — is documented in\n[`docs/docs/concepts/apis/api_leveling.mdx`](docs/docs/concepts/apis/api_leveling.mdx).\nRead it before adding a new API, graduating an API between levels, removing\nor renaming a field on a `v1` datatype, or changing on-disk storage schemas.\n\n## Common Patterns\n\n### Adding a new parameter to an existing API\n\n1. Add the field to the Pydantic model in `src/ogx_api/`\n2. Thread it through the provider protocol and implementation\n3. Update affected distribution configs if needed\n4. Regenerate specs and docs\n5. Add unit test cases covering the new parameter\n\n### Adding a deprecated alias for a renamed provider\n\nUse the existing `deprecation_warning` field on `InlineProviderSpec` or `RemoteProviderSpec`.\nSearch for existing examples: `grep -r \"deprecation_warning\" src/ogx/providers/registry/`\n\n### Before adding any new pattern\n\nSearch the codebase for existing examples of the same pattern first.\nUse `grep` to find how deprecation, validation, configuration, or aliasing is already\nhandled elsewhere.\n\n## Keeping Documentation Up to Date\n\nWhen making code changes, check whether the following documentation needs updating:\n\n- `README.md` — the root README contains an ASCII architecture diagram showing API\n  endpoints, inference providers, vector stores, tools/connectors, and file storage.\n  Update it when adding or removing providers, APIs, or backend integrations.\n- `ARCHITECTURE.md` — system overview, request flow, provider architecture, API layer,\n  storage, configuration, and test recording system\n- Module-level `README.md` files in key directories:\n  - `src/ogx/README.md`, `src/ogx/core/README.md`\n  - `src/ogx/core/server/README.md`, `src/ogx/core/storage/README.md`\n  - `src/ogx/core/routing_tables/README.md`\n  - `src/ogx/providers/README.md`, `src/ogx/providers/inline/README.md`\n  - `src/ogx/providers/remote/README.md`, `src/ogx/providers/registry/README.md`\n  - `src/ogx/providers/utils/README.md`, `src/ogx/providers/utils/inference/README.md`\n  - `src/ogx/providers/inline/agents/README.md`\n  - `src/ogx/providers/remote/inference/README.md`\n  - `src/ogx/distributions/README.md`\n  - `scripts/README.md`\n- `tests/README.md`, `tests/unit/README.md`, `tests/integration/README.md`\n\nThese files help LLMs and new contributors navigate the codebase. If your change\nadds, removes, or renames modules, providers, APIs, or storage backends, update\nthe relevant documentation to stay in sync.\n\n<!-- File: ARCHITECTURE.md (Tokens: ~3273 | Category: project-spec) -->\n# OGX Architecture\n\nThis document describes the internal architecture of OGX for contributors and AI agents working with the codebase. For user-facing documentation, see [ogx-ai.github.io](https://ogx-ai.github.io/). For contribution guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## System Overview\n\nOGX is a server that exposes a unified API for AI capabilities: inference, responses orchestration, vector storage, tool execution, evaluation, and more. It is provider-agnostic: the same API works whether the backend is Ollama, OpenAI, vLLM, Fireworks, or dozens of other services.\n\nThe codebase is split into two packages:\n\n- **`ogx-api`** (`src/ogx_api/`) -- Lightweight package containing API protocol definitions (Python `Protocol` classes), Pydantic data types, and provider spec definitions. No server code, no provider implementations. Third-party providers depend only on this.\n- **`ogx`** (`src/ogx/`) -- The server implementation: provider resolution, routing, storage, CLI, and all built-in providers.\n- **`ogx-ui`** (`src/ogx_ui/`) -- Optional web UI for the chat playground and admin. Built with Next.js.\n\n## Request Flow\n\n```text\nClient (ogx-client SDK or raw HTTP)\n  |\n  v\nFastAPI Server  (src/ogx/core/server/server.py)\n  |\n  |-- AuthenticationMiddleware  (token validation, user + tenant_id extraction)\n  |-- TenancyMiddleware         (enforces tenancy mode: disabled/single/multi)\n  |-- RouteAuthorizationMiddleware  (route-level access policies)\n  |\n  v\nRoute Dispatch\n  |\n  |-- FastAPI Router routes     (auto-discovered via fastapi_router_registry.py)\n  |\n  v\nRouter  (src/ogx/core/routers/)\n  |\n  |-- Looks up the resource (model, vector store, tool group, etc.) in the RoutingTable\n  |-- Resolves which provider handles this resource\n  |-- Enforces access control policies\n  |\n  v\nProvider Implementation\n  |\n  |-- Inline provider (runs in-process, e.g. meta-reference, sqlite-vec)\n  |-- Remote provider (calls external service, e.g. ollama, openai, fireworks)\n  |\n  v\nExternal Service or Local Computation\n```\n\n### Detailed Flow Example: Chat Completion\n\n1. Client sends `POST /v1/chat/completions` with `model: \"ollama/qwen3.5:0.8b\"`.\n2. `server.py` dispatches to the inference FastAPI router.\n3. The `InferenceRouter` (`core/routers/inference.py`) calls `routing_table.get_provider_impl(model_id)`.\n4. `CommonRoutingTableImpl` looks up the model in `DistributionRegistry`, finds it belongs to provider `ollama`.\n5. The router delegates to the `ollama` provider's `openai_chat_completion()` method.\n6. The Ollama provider (which extends `OpenAIMixin`) creates an `AsyncOpenAI` client pointing at the Ollama server and forwards the request.\n7. The response streams back through the router to the client as SSE events.\n\n## Provider Architecture\n\n### Provider Types\n\n```text\nProvider\n  |\n  |-- InlineProviderSpec    (runs in-process)\n  |     provider_type: \"inline::builtin\"\n  |     module: \"ogx.providers.inline.inference.builtin\"\n  |\n  |-- RemoteProviderSpec    (adapts an external service)\n        provider_type: \"remote::ollama\"\n        module: \"ogx.providers.remote.inference.ollama\"\n```\n\nEach provider spec declares:\n\n- `api` -- which API it implements (e.g., `Api.inference`)\n- `provider_type` -- unique identifier like `\"remote::openai\"`\n- `module` -- Python module with a `get_adapter_impl()` or `get_provider_impl()` function\n- `config_class` -- Pydantic config model for the provider\n- `pip_packages` -- additional dependencies needed at runtime\n\n### Provider Registry\n\n`src/ogx/providers/registry/` contains one file per API (e.g., `inference.py`, `responses.py`). Each file defines an `available_providers()` function that returns all `ProviderSpec` objects for that API. The registry is loaded at startup by `get_provider_registry()` in `core/distribution.py`.\n\n### Provider Resolution\n\nAt startup, `resolve_impls()` in `core/resolver.py`:\n\n1. **Validates** providers declared in the run config against the registry.\n2. **Sorts** providers by dependency order (e.g., agents depends on inference).\n3. **Instantiates** each provider by importing its module and calling its factory function.\n4. **Sets up auto-routing**: for APIs like inference, creates a `RoutingTable` + `Router` pair so multiple providers can serve different models through the same API.\n\n### Auto-Routing\n\nMany APIs use automatic routing. For example, `Api.inference` is paired with `Api.models`:\n\n```text\nApi.models (RoutingTable)  <-->  Api.inference (Router)\n  |                                |\n  |-- ModelsRoutingTable           |-- InferenceRouter\n  |   tracks which provider        |   delegates to correct\n  |   owns which model             |   provider per request\n```\n\nThe full list of auto-routed pairs is defined in `builtin_automatically_routed_apis()` in `core/distribution.py`:\n\n| Routing Table API      | Router API         |\n|------------------------|--------------------|\n| `Api.models`           | `Api.inference`    |\n| `Api.vector_stores`    | `Api.vector_io`    |\n| `Api.web_search_providers` | `Api.web_search` |\n\n## The API Layer (`ogx_api`)\n\nThe `ogx_api` package defines all public-facing types and protocols:\n\n- **Protocols** -- Python `Protocol` classes like `Inference`, `Responses`, `Skills` that define the API contract. HTTP routes are defined via FastAPI routers in `fastapi_routes.py` modules.\n- **Data Types** -- Pydantic models for requests, responses, and resources (e.g., `Model`, `VectorStore`, `ChatCompletionRequest`).\n- **Provider Specs** -- `InlineProviderSpec`, `RemoteProviderSpec`, and related types that define how providers are declared.\n- **Internal utilities** -- KVStore and SqlStore abstract interfaces live here so third-party providers can use them without depending on the full server.\n\nProvider implementations import from `ogx_api` for type definitions and from `ogx.providers.utils` for shared functionality.\n\n## Storage\n\n### Storage Configuration\n\nStorage is configured in the `storage` section of the run config (`StackConfig.storage`). It defines backend references that providers and core services use:\n\n```yaml\nstorage:\n  type: sqlite\n  db_path: ${env.SQLITE_STORE_DIR}/registry.db\n  stores:\n    kvstore:\n      type: kv_sqlite\n      db_path: ${env.SQLITE_STORE_DIR}/kvstore.db\n    inference:\n      type: sql_sqlite\n      db_path: ${env.SQLITE_STORE_DIR}/inference_store.db\n```\n\n### KVStore\n\n`src/ogx/core/storage/kvstore/` provides a key-value store abstraction (`KVStore`) with backends:\n\n| Backend   | Config Class             | Use Case               |\n|-----------|--------------------------|------------------------|\n| SQLite    | `SqliteKVStoreConfig`    | Default, single-node   |\n| Redis     | `RedisKVStoreConfig`     | Multi-node, caching    |\n| PostgreSQL| `PostgresKVStoreConfig`  | Production deployments |\n| MongoDB   | `MongoDBKVStoreConfig`   | Document-oriented      |\n\nUsed by: distribution registry, quota tracking, provider state, skills metadata.\n\n### SqlStore\n\n`src/ogx/core/storage/sqlstore/` provides a SQL store abstraction (`SqlStore`) with SQLAlchemy backends:\n\n| Backend    | Config Class             | Use Case               |\n|------------|--------------------------|------------------------|\n| SQLite     | `SqliteSqlStoreConfig`   | Default, single-node   |\n| PostgreSQL | `PostgresSqlStoreConfig` | Production deployments |\n\nUsed by: inference store (chat completion logs), conversations, prompts.\n\n### AuthorizedSqlStore and Tenant Isolation\n\n`AuthorizedSqlStore` wraps a `SqlStore` and adds two independent enforcement layers:\n\n1. **Tenant isolation** -- a non-bypassable `WHERE tenant_id = ?` filter applied before any access control check. When tenancy is enabled (`single` or `multi` mode), every table gets a `tenant_id` column. Writes stamp the authenticated user's tenant_id; reads and mutations are scoped to it. Missing tenant context in `multi` mode produces a `1=0` clause (default deny -- see nothing).\n\n2. **ABAC (Attribute-Based Access Control)** -- `owner_principal` and `access_attributes` columns enable policy-based rules like `user is owner`. This operates within a tenant, not across tenants.\n\nTenancy mode is set process-wide during `Stack.initialize()` via `set_default_tenancy_mode()`, so existing call sites using the `authorized_sqlstore()` factory work without changes.\n\n### Distribution Registry\n\n`src/ogx/core/store/` implements `DistributionRegistry`, which tracks all registered resources (models, vector stores, tool groups, prompts, etc.) across providers. It persists to the configured KVStore so resources survive server restarts.\n\n## Configuration\n\n### Run Config (`StackConfig`)\n\nA YAML file that defines everything about a running OGX instance:\n\n```yaml\nversion: 2\ndistro_name: starter\napis:\n  - inference\n  - responses\n  - vector_io\n  # ...\nproviders:\n  inference:\n    - provider_id: ollama\n      provider_type: remote::ollama\n      config:\n        base_url: ${env.OLLAMA_URL:=http://localhost:11434/v1}\nstorage:\n  type: sqlite\n  db_path: ...\n```\n\nKey features:\n\n- **Environment variable substitution**: `${env.VAR_NAME:=default}` syntax for config values.\n- **Conditional providers**: `${env.API_KEY:+provider_id}` syntax enables a provider only when a variable is set.\n- **Multiple providers per API**: e.g., both `ollama` and `openai` can serve inference, each handling different models.\n- **Explicit HTTP surface**: `apis:` lists the APIs served over HTTP. An explicit list is\n  authoritative, including when it is empty; omitting the key serves everything the\n  providers supply. It gates route registration only — omitted APIs are still resolved\n  in-process for providers that depend on them. The stack administration APIs (`admin`,\n  `inspect`, `providers`) are always served, and serving `responses` also serves\n  `conversations` and `prompts`.\n\n### Distributions\n\nA distribution is a pre-built configuration that bundles specific providers for a target environment. Think of it like Kubernetes distributions (AKS, EKS, GKE): the core API stays the same, but each distribution wires different backends. `src/ogx/distributions/` contains these configurations (e.g., `starter`, `nvidia`). Each distribution directory has:\n\n- `config.yaml` -- the run config\n- Templates and codegen support via `template.py`\n\n### Build Config\n\nUsed by `ogx build` to create container images. Declares which providers to include and what packages to install. Versioned separately from the run config.\n\n## Recording and Replay Test System\n\nIntegration tests use a record/replay system (`src/ogx/testing/api_recorder.py`) that intercepts OpenAI client calls to record real API responses, then replays them for fast, deterministic CI runs.\n\n### How It Works\n\n1. **Recording**: Tests run against a real server. The `APIRecorder` monkey-patches `OpenAI` client methods to capture every request/response pair. Responses are stored as JSON files under `tests/integration/recordings/`.\n\n2. **Replay**: In CI, tests run in replay mode. The recorder matches incoming requests to stored responses by hashing the request parameters, returning cached responses instead of making real API calls.\n\n3. **Modes** (controlled by `--inference-mode` or `OGX_TEST_INFERENCE_MODE`):\n   - `replay` (default) -- use cached responses\n   - `record` -- force-record all interactions\n   - `record-if-missing` -- record only when no cached response exists\n   - `live` -- bypass recording entirely, make real calls\n\n4. **Deterministic IDs**: The recorder overrides ID generation (`set_id_override()`) during replay so that resource IDs (files, vector stores, etc.) are reproducible across runs.\n\n### Recording Storage\n\nRecordings live in `tests/integration/recordings/` organized by provider and test. Each recording is a JSON file containing the serialized request parameters and response. An SQLite index maps requests to response files.\n\nFor more details, see `tests/README.md` and `tests/integration/README.md`.\n\n## Key Classes and Entry Points\n\n| Component | Location | Purpose |\n|-----------|----------|---------|\n| `OGX` | `core/stack.py` | Composite class implementing all API protocols |\n| `Stack` | `core/stack.py` | Initialization, resource registration, lifecycle |\n| `StackApp` | `core/server/server.py` | FastAPI app wrapper |\n| `resolve_impls()` | `core/resolver.py` | Provider instantiation and dependency resolution |\n| `CommonRoutingTableImpl` | `core/routing_tables/common.py` | Base routing table for all auto-routed APIs |\n| `InferenceRouter` | `core/routers/inference.py` | Routes inference calls to correct provider |\n| `OpenAIMixin` | `providers/utils/inference/openai_mixin.py` | Shared OpenAI-compatible client logic |\n| `get_provider_registry()` | `core/distribution.py` | Loads all available provider specs |\n| `APIRecorder` | `testing/api_recorder.py` | Record/replay test infrastructure |\n\n## Directory Map\n\n```text\nsrc/\n  ogx_api/          # API definitions package (separate pip package)\n    inference/              # Inference protocol, models, FastAPI routes\n    responses/              # Responses API protocol and routes\n    datatypes.py            # Shared data types\n    providers/              # Provider spec types\n    internal/               # KVStore/SqlStore interfaces\n  ogx/              # Server implementation\n    core/\n      server/               # FastAPI server, auth, routing\n      routers/              # API-specific routers (inference, responses, etc.)\n      routing_tables/       # Resource-to-provider mapping\n      storage/              # KVStore and SqlStore backends\n      store/                # Distribution registry\n      resolver.py           # Provider resolution engine\n      distribution.py       # Provider registry loading\n      stack.py              # Stack initialization and lifecycle\n    providers/\n      inline/               # In-process provider implementations\n      remote/               # Remote service adapters\n      registry/             # Provider spec declarations\n      utils/                # Shared provider utilities\n    distributions/          # Pre-built distribution configs\n    cli/                    # CLI commands (ogx stack run, build, etc.)\n    testing/                # Test infrastructure (api_recorder)\ntests/\n  unit/                     # Fast, isolated tests\n  integration/              # End-to-end tests with record/replay\n    recordings/             # Cached API responses\n```\n\n<!-- File: docs/docs/references/ogx_cli_reference/download_models.md (Tokens: ~604 | Category: anthropic-skill) -->\n# Downloading Models\n\nThe `ogx` CLI tool helps you setup and use the OGX. It should be available on your path after installing the `ogx` package.\n\n## Installation\n\nYou have two ways to install OGX:\n\n1. **Install as a package**:\n   You can install the repository directly from [PyPI](https://pypi.org/project/ogx/) by running the following command:\n\n   ```bash\n   pip install ogx\n   ```\n\n2. **Install from source**:\n   If you prefer to install from the source code, follow these steps:\n\n   ```bash\n    mkdir -p ~/local\n    cd ~/local\n    git clone git@github.com:ogx-ai/ogx.git\n\n    uv venv myenv --python 3.13\n    source myenv/bin/activate  # On Windows: myenv\\Scripts\\activate\n\n    cd ogx\n    pip install -e .\n\n## Downloading models via Hugging Face CLI\n\nYou first need to have models downloaded locally. We recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) to download models.\n\n### Install Hugging Face CLI\n\nFirst, install the Hugging Face CLI:\n\n```bash\npip install huggingface_hub[cli]\n```\n\n### Download models from Hugging Face\n\nYou can download models using the `huggingface-cli download` command. Here are some examples:\n\n```bash\n# Download Llama 3.2 3B Instruct model\nhuggingface-cli download meta-llama/Llama-3.2-3B-Instruct --local-dir ~/.ogx/Llama-3.2-3B-Instruct\n\n# Download Llama 3.2 1B Instruct model\nhuggingface-cli download meta-llama/Llama-3.2-1B-Instruct --local-dir ~/.ogx/Llama-3.2-1B-Instruct\n\n# Download Llama Guard 3 1B model\nhuggingface-cli download meta-llama/Llama-Guard-3-1B --local-dir ~/.ogx/Llama-Guard-3-1B\n\n# Download Prompt Guard model\nhuggingface-cli download meta-llama/Prompt-Guard-86M --local-dir ~/.ogx/Prompt-Guard-86M\n```\n\n**Important:** You need to authenticate with Hugging Face to download models. You can do this by:\n\n1. Getting your token from [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens)\n2. Running `huggingface-cli login` and entering your token\n\n## List the downloaded models\n\nTo list the downloaded models, you can use the Hugging Face CLI:\n\n```bash\n# List all downloaded models in your local cache\nhuggingface-cli scan-cache\n```\n\n<!-- File: docs/docs/references/ogx_cli_reference/index.md (Tokens: ~646 | Category: anthropic-skill) -->\n# llama (server-side) CLI Reference\n\nThe `ogx` CLI tool helps you set up and use the OGX. The CLI is available on your path after installing the `ogx` package.\n\n## Installation\n\nYou have two ways to install OGX:\n\n1. **Install as a package**:\n   You can install the repository directly from [PyPI](https://pypi.org/project/ogx/) by running the following command:\n\n   ```bash\n   pip install ogx\n   ```\n\n2. **Install from source**:\n   If you prefer to install from the source code, follow these steps:\n\n   ```bash\n    mkdir -p ~/local\n    cd ~/local\n    git clone git@github.com:ogx-ai/ogx.git\n\n    uv venv myenv --python 3.13\n    source myenv/bin/activate  # On Windows: myenv\\Scripts\\activate\n\n    cd ogx\n    pip install -e .\n   ```\n\n## `ogx` subcommands\n\n1. `stack`: Allows you to build a stack using the `ogx` distribution and run a OGX server. You can read more about how to build a OGX distribution in the [Build your own Distribution](/docs/distributions/building_distro) documentation.\n2. `connect`: Connect third-party tools to the running OGX server. Supports [`claude`](/docs/building_applications/claude_code_integration), [`opencode`](/docs/building_applications/opencode_integration), and [`codex`](/docs/building_applications/codex_cli_integration).\n\nFor downloading models, we recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli). See [Downloading models](#downloading-models) for more information.\n\n### Sample Usage\n\n```bash\nllama --help\n```\n\n```text\nusage: ogx [-h] {stack,connect} ...\n\nWelcome to the OGX CLI\n\noptions:\n  -h, --help      show this help message and exit\n\nsubcommands:\n  {stack,connect}\n\n  stack                 Operations for the OGX / Distributions\n  connect               Connect third-party tools to the running OGX server\n```\n\n## Downloading models\n\nYou first need to have models downloaded locally. We recommend using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) to download models.\n\nFirst, install the Hugging Face CLI:\n\n```bash\npip install huggingface_hub[cli]\n```\n\nThen authenticate and download models:\n\n```bash\n# Authenticate with Hugging Face\nhuggingface-cli login\n\n# Download a model\nhuggingface-cli download meta-llama/Llama-3.2-3B-Instruct --local-dir ~/.ogx/Llama-3.2-3B-Instruct\n```\n\n## List the downloaded models\n\nTo list the downloaded models, you can use the Hugging Face CLI:\n\n```bash\n# List all downloaded models in your local cache\nhuggingface-cli scan-cache\n```\n\n<!-- File: docs/docs/references/ogx_client_cli_reference.md (Tokens: ~3342 | Category: anthropic-skill) -->\n# llama (client-side) CLI Reference\n\nThe `ogx-client` CLI allows you to query information about the distribution.\n\n## Basic Commands\n\n### `ogx-client`\n\n```bash\nogx-client\nUsage: ogx-client [OPTIONS] COMMAND [ARGS]...\n\n  Welcome to the ogx-client CLI - a command-line interface for\n  interacting with OGX\n\nOptions:\n  --version        Show the version and exit.\n  --endpoint TEXT  OGX distribution endpoint\n  --api-key TEXT   OGX distribution API key\n  --config TEXT    Path to config file\n  --help           Show this message and exit.\n\nCommands:\n  configure          Configure OGX Client CLI.\n  datasets           Manage datasets.\n  eval               Run evaluation tasks.\n  eval_tasks         Manage evaluation tasks.\n  inference          Inference (chat).\n  inspect            Inspect server configuration.\n  models             Manage GenAI models.\n  post_training      Post-training.\n  providers          Manage API providers.\n  scoring_functions  Manage scoring functions.\n```\n\n### `ogx-client configure`\n\nConfigure OGX Client CLI.\n\n```bash\nogx-client configure\n> Enter the host name of the OGX distribution server: localhost\n> Enter the port number of the OGX distribution server: 8321\nDone! You can now use the OGX Client CLI with endpoint http://localhost:8321\n```\n\nOptional arguments:\n\n- `--endpoint`: OGX distribution endpoint\n- `--api-key`: OGX distribution API key\n\n## `ogx-client inspect version`\n\nInspect server configuration.\n\n```bash\nogx-client inspect version\n```\n\n```bash\nVersionInfo(version='0.2.14')\n```\n\n### `ogx-client providers list`\n\nShow available providers on distribution endpoint\n\n```bash\nogx-client providers list\n```\n\n```text\n+-----------+----------------+-----------------+\n| API       | Provider ID    | Provider Type   |\n+===========+================+=================+\n| inference | vllm0          | remote::vllm    |\n+-----------+----------------+-----------------+\n```\n\n### `ogx-client providers inspect`\n\nShow specific provider configuration on distribution endpoint\n\n```bash\nogx-client providers inspect <provider_id>\n```\n\n## Inference\n\nInference (chat).\n\n### `ogx-client inference chat-completion`\n\nShow available inference chat completion endpoints on distribution endpoint\n\n```bash\nogx-client inference chat-completion --message <message> [--stream] [--session] [--model-id]\n```\n\n```bash\nOpenAIChatCompletion(\n    id='chatcmpl-aacd11f3-8899-4ec5-ac5b-e655132f6891',\n    choices=[\n        OpenAIChatCompletionChoice(\n            finish_reason='stop',\n            index=0,\n            message=OpenAIChatCompletionChoiceMessageOpenAIAssistantMessageParam(\n                role='assistant',\n                content='The captain of the whaleship Pequod in Nathaniel Hawthorne\\'s novel \"Moby-Dick\" is Captain\nAhab. He\\'s a vengeful and obsessive old sailor who\\'s determined to hunt down and kill the white sperm whale\nMoby-Dick, whom he\\'s lost his leg to in a previous encounter.',\n                name=None,\n                tool_calls=None,\n                refusal=None,\n                annotations=None,\n                audio=None,\n                function_call=None\n            ),\n            logprobs=None\n        )\n    ],\n    created=1752578797,\n    model='llama3.2:3b-instruct-fp16',\n    object='chat.completion',\n    service_tier=None,\n    system_fingerprint='fp_ollama',\n    usage={\n        'completion_tokens': 67,\n        'prompt_tokens': 33,\n        'total_tokens': 100,\n        'completion_tokens_details': None,\n        'prompt_tokens_details': None\n    }\n)\n```\n\nRequired arguments:\n**Note:** At least one of these parameters is required for chat completion\n\n- `--message`: Message\n- `--session`: Start a Chat Session\n\nOptional arguments:\n\n- `--stream`: Stream\n- `--model-id`: Model ID\n\n## Model Management\n\nManage GenAI models.\n\n### `ogx-client models list`\n\nShow available llama models at distribution endpoint\n\n```bash\nogx-client models list\n```\n\n```text\nAvailable Models\n\n┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━┓\n┃ model_type   ┃ identifier                           ┃ provider_resource_id         ┃ metadata  ┃ provider_id ┃\n┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━┩\n│ llm          │ meta-llama/Llama-3.2-3B-Instruct     │ llama3.2:3b-instruct-fp16    │           │ ollama      │\n└──────────────┴──────────────────────────────────────┴──────────────────────────────┴───────────┴─────────────┘\n\nTotal models: 1\n```\n\n### `ogx-client models get`\n\nShow details of a specific model at the distribution endpoint\n\n```bash\nogx-client models get Llama3.1-8B-Instruct\n```\n\n```text\n+----------------------+----------------------+----------------------------------------------------------+---------------+\n| identifier           | llama_model          | metadata                                                 | provider_id   |\n+======================+======================+==========================================================+===============+\n| Llama3.1-8B-Instruct | Llama3.1-8B-Instruct | {'huggingface_repo': 'meta-llama/Llama-3.1-8B-Instruct'} | vllm0         |\n+----------------------+----------------------+----------------------------------------------------------+---------------+\n```\n\n```bash\nogx-client models get Random-Model\n\nModel RandomModel is not found at distribution endpoint host:port. Please ensure endpoint is serving specified model.\n```\n\n### `ogx-client models register`\n\nRegister a new model at distribution endpoint\n\n```bash\nogx-client models register <model_id> [--provider-id <provider_id>] [--provider-model-id <provider_model_id>] [--metadata <metadata>] [--model-type <model_type>]\n```\n\nRequired arguments:\n\n- `MODEL_ID`: Model ID\n- `--provider-id`: Provider ID for the model\n\nOptional arguments:\n\n- `--provider-model-id`: Provider's model ID\n- `--metadata`: JSON metadata for the model\n- `--model-type`: Model type: `llm`, `embedding`\n\n### `ogx-client models unregister`\n\nUnregister a model from distribution endpoint\n\n```bash\nogx-client models unregister <model_id>\n```\n\n## Eval execution\n\nRun evaluation tasks.\n\n### `ogx-client eval run-benchmark`\n\nRun a evaluation benchmark task\n\n```bash\nogx-client eval run-benchmark <eval-task-id1> [<eval-task-id2> ...] --eval-task-config <config-file> --output-dir <output-dir> --model-id <model-id> [--num-examples <num>] [--visualize] [--repeat-penalty <repeat-penalty>] [--top-p <top-p>] [--max-tokens <max-tokens>]\n```\n\nRequired arguments:\n\n- `--eval-task-config`: Path to the eval task config file in JSON format\n- `--output-dir`: Path to the directory where evaluation results will be saved\n- `--model-id`: model id to run the benchmark eval on\n\nOptional arguments:\n\n- `--num-examples`: Number of examples to evaluate (useful for debugging)\n- `--visualize`: If set, visualizes evaluation results after completion\n- `--repeat-penalty`: repeat-penalty in the sampling params to run generation\n- `--top-p`: top-p in the sampling params to run generation\n- `--max-tokens`: max-tokens in the sampling params to run generation\n- `--temperature`: temperature in the sampling params to run generation\n\nExample benchmark_config.json:\n\n```json\n{\n    \"type\": \"benchmark\",\n    \"eval_candidate\": {\n        \"type\": \"model\",\n        \"model\": \"Llama3.1-405B-Instruct\",\n        \"sampling_params\": {\n            \"strategy\": \"greedy\",\n        }\n    }\n}\n```\n\n### `ogx-client eval run-scoring`\n\nRun scoring from application datasets\n\n```bash\nogx-client eval run-scoring <eval-task-id> --output-dir <output-dir> [--num-examples <num>] [--visualize]\n```\n\nRequired arguments:\n\n- `--output-dir`: Path to the directory where scoring results will be saved\n\nOptional arguments:\n\n- `--num-examples`: Number of examples to evaluate (useful for debugging)\n- `--visualize`: If set, visualizes scoring results after completion\n- `--scoring-params-config`: Path to the scoring params config file in JSON format\n- `--dataset-id`: Pre-registered dataset_id to score (from ogx-client datasets list)\n- `--dataset-path`: Path to the dataset file to score\n\n## Eval Tasks\n\nManage evaluation tasks.\n\n### `ogx-client eval_tasks list`\n\nShow available eval tasks on distribution endpoint\n\n```bash\nogx-client eval_tasks list\n```\n\n### `ogx-client eval_tasks register`\n\nRegister a new eval task\n\n```bash\nogx-client eval_tasks register --eval-task-id <eval-task-id> --dataset-id <dataset-id> --scoring-functions <scoring-functions> [--provider-id <provider-id>] [--provider-eval-task-id <provider-eval-task-id>] [--metadata <metadata>]\n```\n\nRequired arguments:\n\n- `--eval-task-id`: ID of the eval task\n- `--dataset-id`: ID of the dataset to evaluate\n- `--scoring-functions`: Scoring functions to use for evaluation\n\nOptional arguments:\n\n- `--provider-id`: Provider ID for the eval task\n- `--provider-eval-task-id`: Provider's eval task ID\n\n## Datasets Management\n\nManage datasets.\n\n### `ogx-client datasets list`\n\nShow available datasets on distribution endpoint\n\n```bash\nogx-client datasets list\n```\n\n### `ogx-client datasets register`\n\n```bash\nogx-client datasets register --dataset_id <dataset_id> --purpose <purpose> [--url <url] [--dataset-path <dataset-path>] [--dataset-id <dataset-id>] [--metadata <metadata>]\n```\n\nRequired arguments:\n\n- `--dataset_id`: Id of the dataset\n- `--purpose`: Purpose of the dataset\n\nOptional arguments:\n\n- `--metadata`: Metadata of the dataset\n- `--url`: URL of the dataset\n- `--dataset-path`: Local file path to the dataset. If specified, upload dataset via URL\n\n### `ogx-client datasets unregister`\n\nRemove a dataset\n\n```bash\nogx-client datasets unregister <dataset-id>\n```\n\nRequired arguments:\n\n- `DATASET_ID`: Id of the dataset\n\n## Scoring Functions Management\n\nManage scoring functions.\n\n### `ogx-client scoring_functions list`\n\nShow available scoring functions on distribution endpoint\n\n```bash\nogx-client scoring_functions list\n```\n\n```text\n┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓\n┃ identifier                                 ┃ provider_id  ┃ description                                                   ┃ type             ┃\n┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩\n│ basic::docvqa                              │ basic        │ DocVQA Visual Question & Answer scoring function              │ scoring_function │\n│ basic::equality                            │ basic        │ Returns 1.0 if the input is equal to the target, 0.0          │ scoring_function │\n│                                            │              │ otherwise.                                                    │                  │\n└────────────────────────────────────────────┴──────────────┴───────────────────────────────────────────────────────────────┴──────────────────┘\n```\n\n### `ogx-client scoring_functions register`\n\nRegister a new scoring function\n\n```bash\nogx-client scoring_functions register --scoring-fn-id <scoring-fn-id> --description <description> --return-type <return-type> [--provider-id <provider-id>] [--provider-scoring-fn-id <provider-scoring-fn-id>] [--params <params>]\n```\n\nRequired arguments:\n\n- `--scoring-fn-id`: Id of the scoring function\n- `--description`: Description of the scoring function\n- `--return-type`: Return type of the scoring function\n\nOptional arguments:\n\n- `--provider-id`: Provider ID for the scoring function\n- `--provider-scoring-fn-id`: Provider's scoring function ID\n- `--params`: Parameters for the scoring function in JSON format\n\n## Post Training Management\n\nPost-training.\n\n### `ogx-client post_training list`\n\nShow the list of available post training jobs\n\n```bash\nogx-client post_training list\n```\n\n```bash\n[\"job-1\", \"job-2\", \"job-3\"]\n```\n\n### `ogx-client post_training artifacts`\n\nGet the training artifacts of a specific post training job\n\n```bash\nogx-client post_training artifacts --job-uuid <job-uuid>\n```\n\n```bash\nJobArtifactsResponse(checkpoints=[], job_uuid='job-1')\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n\n### `ogx-client post_training supervised_fine_tune`\n\nKick off a supervised fine tune job\n\n```bash\nogx-client post_training supervised_fine_tune --job-uuid <job-uuid> --model <model> --algorithm-config <algorithm-config> --training-config <training-config> [--checkpoint-dir <checkpoint-dir>]\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n- `--model`: Model ID\n- `--algorithm-config`: Algorithm Config\n- `--training-config`: Training Config\n\nOptional arguments:\n\n- `--checkpoint-dir`: Checkpoint Config\n\n### `ogx-client post_training status`\n\nShow the status of a specific post training job\n\n```bash\nogx-client post_training status --job-uuid <job-uuid>\n```\n\n```bash\nJobStatusResponse(\n    checkpoints=[],\n    job_uuid='job-1',\n    status='completed',\n    completed_at=\"\",\n    resources_allocated=\"\",\n    scheduled_at=\"\",\n    started_at=\"\"\n)\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n\n### `ogx-client post_training cancel`\n\nCancel the training job\n\n```bash\nogx-client post_training cancel --job-uuid <job-uuid>\n```\n\n```bash\n# This functionality is not yet implemented for ogx-client\n╭────────────────────────────────────────────────────────────╮\n│ Failed to post_training cancel_training_job                │\n│                                                            │\n│ Error Type: InternalServerError                            │\n│ Details: Error code: 501 - {'detail': 'Not implemented: '} │\n╰────────────────────────────────────────────────────────────╯\n```\n\nRequired arguments:\n\n- `--job-uuid`: Job UUID\n\n<!-- File: docs/docs/references/python_sdk_reference/index.md (Tokens: ~684 | Category: anthropic-skill) -->\n# Python SDK Reference\n\n## Shared Types\n\n```python\nfrom ogx_client.models import (\n    InterleavedContent,\n    InterleavedContentItem,\n    ParamType,\n    SamplingParams,\n    SystemMessage,\n    ToolResponseMessage,\n    URL,\n    UserMessage,\n)\n```\n\n## Tools\n\nTypes:\n\n```python\nfrom ogx_client.models import ListToolDefsResponse, ToolDef\n```\n\n## Inspect\n\nTypes:\n\n```python\nfrom ogx_client.models import HealthInfo, VersionInfo\n```\n\nMethods:\n\n- <code title=\"get /v1/health\">client.inspect.health() -> HealthInfo</code>\n- <code title=\"get /v1/version\">client.inspect.version() -> VersionInfo</code>\n\n## Inference\n\nTypes:\n\n```python\nfrom ogx_client.models import RerankRequest, RerankResponse\n```\n\nMethods:\n\n- <code title=\"post /v1alpha/inference/rerank\">client.inference.rerank(rerank_request) -> RerankResponse</code>\n\n## Embeddings\n\nTypes:\n\n```python\nfrom ogx_client.models import (\n    OpenAIEmbeddingsRequestWithExtraBody,\n    OpenAIEmbeddingsResponse,\n)\n```\n\nMethods:\n\n- <code title=\"post /v1/embeddings\">client.embeddings.create(open_ai_embeddings_request_with_extra_body) -> OpenAIEmbeddingsResponse</code>\n\n## VectorIo\n\n:::warning DEPRECATED API\n\n**This API is deprecated and will be removed in a future version.**\n\nUse the OpenAI-compatible Vector Stores API instead:\n\n- Instead of `client.vector_io.insert()`, use `client.vector_stores.files.create()`\n- Instead of `client.vector_io.query()`, use `client.vector_stores.search()`\n\nSee the [RAG documentation](/docs/building_applications/rag) for migration examples.\n\nRelated: [Issue #2981](https://github.com/ogx-ai/ogx/issues/2981)\n\n:::\n\nTypes:\n\n```python\nfrom ogx_client.models import QueryChunksResponse\n```\n\nMethods:\n\n- <code title=\"post /v1/vector-io/insert\">client.vector_io.insert(insert_chunks_request) -> None</code>\n- <code title=\"post /v1/vector-io/query\">client.vector_io.query(query_chunks_request) -> QueryChunksResponse</code>\n\n## Models\n\nTypes:\n\n```python\nfrom ogx_client.models import (\n    GetModelV1ModelsModelIdGet200Response,\n    ListModelsV1ModelsGet200Response,\n    OpenAIModel,\n)\n```\n\nMethods:\n\n- <code title=\"get /v1/models/{model_id}\">client.models.retrieve(model_id) -> GetModelV1ModelsModelIdGet200Response</code>\n- <code title=\"get /v1/models\">client.models.list() -> ListModelsV1ModelsGet200Response</code>\n\n## Providers\n\nTypes:\n\n```python\nfrom ogx_client.models import ListProvidersResponse\n```\n\nMethods:\n\n- <code title=\"get /v1/providers\">client.providers.list() -> ListProvidersResponse</code>\n\n## Routes\n\nTypes:\n\n```python\nfrom ogx_client.models import ListRoutesResponse\n```\n\nMethods:\n\n- <code title=\"get /v1/inspect/routes\">client.routes.list(api_filter=None) -> ListRoutesResponse</code>\n\n<!-- File: docs/docs/references/python_sdk_reference/migration.md (Tokens: ~6628 | Category: anthropic-skill) -->\n---\ntitle: \"Migrating to ogx_client 1.1.4: The Complete Reference\"\nsidebar_label: \"Migration Guide (1.1.4)\"\n---\n\nThis is the complete migration reference for moving from `ogx_client` <= 1.1.3 (Stainless-generated) to `ogx_client` >= 1.1.4 (OpenAPI-generator-generated). For background on why we made this change, see [The OGX Python SDK Has a New Foundation](https://ogx-ai.github.io/blog/python-sdk-new-foundation).\n\n## TL;DR\n\nFor most codebases, this migration is **a search-and-replace**. The package name\nstays the same (`ogx_client`), the API methods accept the same keyword\narguments, list responses are still iterable, streaming works the same way, and\nexceptions have the same names.\n\nThe one thing you will definitely do:\n\n1. **Replace the type import path and names**:\n   `from ogx_client.types import ResponseObject` -> `from ogx_client.models import OpenAIResponseObject`\n\nEverything else in this document covers edge cases and advanced usage that most\ncode does not touch. The sections below are ordered by how likely they are to\naffect you.\n\n---\n\n## 1. Import Path Changes\n\nThe package name stays `ogx_client` -- you do not need to change your top-level\nimports of `OgxClient` or `AsyncOgxClient`. However, the `types` sub-package\nhas been renamed to `models`:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client import OgxClient\nfrom ogx_client.types import ResponseObject\n\n# After (>= 1.1.4)\nfrom ogx_client import OgxClient  # unchanged\nfrom ogx_client.models import OpenAIResponseObject\n```\n\nAll models now live in a single flat namespace -- there are no sub-packages like\n`types.shared`, `types.alpha`, `types.chat`, etc.\n\n```python\n# Before (<= 1.1.3) -- types scattered across sub-packages\nfrom ogx_client.types import ResponseObject\nfrom ogx_client.types.shared import HealthInfo\nfrom ogx_client.types.alpha import InferenceRerankResponse\nfrom ogx_client.types.chat import CompletionCreateResponse\nfrom ogx_client.types.vector_stores import VectorStoreFile\n\n# After (>= 1.1.4) -- everything from one place\nfrom ogx_client.models import (\n    OpenAIResponseObject,\n    HealthInfo,\n    RerankResponse,\n    OpenAIChatCompletion,\n    VectorStoreFileObject,\n)\n```\n\nThe `Client` and `AsyncClient` short aliases no longer exist. Use `OgxClient`\nand `AsyncOgxClient`.\n\n---\n\n## 2. Type and Model Name Changes\n\nMany types have been renamed in >= 1.1.4. The actual data and fields on these\ntypes are the same -- only the class names changed. Here are the patterns:\n\n- **`OpenAI` prefix added** to types that wrap OpenAI-compatible API objects\n- **`Object` suffix added** to resource types (e.g., `VectorStore` -> `VectorStoreObject`)\n- **Per-operation wrappers collapsed** (e.g., `BatchCreateResponse` / `BatchRetrieveResponse` / `BatchCancelResponse` all become `Batch`)\n\n### Core Resource Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `File` | `OpenAIFileObject` |\n| `Model` | `OpenAIModel` |\n| `Prompt` | `Prompt` |\n| `VectorStore` | `VectorStoreObject` |\n| `ResponseObject` | `OpenAIResponseObject` |\n| `ResponseMessage` | `OpenAIResponseMessage` |\n| `CompactedResponse` | `OpenAICompactedResponse` |\n| `ResponseObjectStream` | `OpenAIResponseObjectStream` |\n| `ConversationObject` | `Conversation` |\n| `ChatCompletionChunk` | `OpenAIChatCompletionChunk` |\n| `CompletionCreateResponse` | `OpenAICompletion` |\n| `CreateEmbeddingsResponse` | `OpenAIEmbeddingsResponse` |\n| `QueryChunksResponse` | `QueryChunksResponse` |\n\n### Delete Response Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `DeleteFileResponse` | `OpenAIFileDeleteResponse` |\n| `ResponseDeleteResponse` | `OpenAIDeleteResponseObject` |\n| `ConversationDeleteResponse` | `ConversationDeletedResource` |\n| `VectorStoreDeleteResponse` | `VectorStoreDeleteResponse` |\n| `VectorStoreSearchResponse` | `VectorStoreSearchResponse` |\n\n### Batch Types (collapsed)\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `BatchCreateResponse` | `Batch` |\n| `BatchRetrieveResponse` | `Batch` |\n| `BatchListResponse` | `Batch` |\n| `BatchCancelResponse` | `Batch` |\n\n### List Response Types\n\n| `ogx_client.types.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------|-----------------------------------|\n| `ModelListResponse` | `ListModelsV1ModelsGet200Response` |\n| `ModelRetrieveResponse` | `GetModelV1ModelsModelIdGet200Response` |\n| `ListModelsResponse` | `ListModelsResponse` |\n| `ListFilesResponse` | `ListOpenAIFileResponse` |\n| `ListPromptsResponse` | `ListPromptsResponse` |\n| `ListVectorStoresResponse` | `VectorStoreListResponse` |\n| `ResponseListResponse` | `OpenAIResponseObject` (items of `ListOpenAIResponseObject`) |\n| `PromptListResponse` | `ListPromptsResponse` |\n| `ProviderListResponse` | `ListProvidersResponse` |\n| `RouteListResponse` | `ListRoutesResponse` |\n\n### Shared Types (moved from `types.shared` to flat `models`)\n\n| `ogx_client.types.shared.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-----------------------------------------|-----------------------------------|\n| `ParamType` | `ParamType` |\n| `RouteInfo` | `RouteInfo` |\n| `HealthInfo` | `HealthInfo` |\n| `VersionInfo` | `VersionInfo` |\n| `ProviderInfo` | `ProviderInfo` |\n| `SystemMessage` | `SystemMessage` |\n| `SamplingParams` | `SamplingParams` |\n| `InterleavedContent` | `InterleavedContent` |\n| `InterleavedContentItem` | `InterleavedContentItem` |\n| `ListRoutesResponse` | `ListRoutesResponse` |\n| `ListProvidersResponse` | `ListProvidersResponse` |\n\n### Alpha Types\n\n| `ogx_client.types.alpha.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|----------------------------------------|-----------------------------------|\n| `InferenceRerankResponse` | `RerankResponse` |\n| `InferenceRerankParams` | `RerankRequest` |\n| `AdminListRoutesParams` | `ListRoutesRequest` |\n\n### Chat Types\n\n| `ogx_client.types.chat.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|---------------------------------------|-----------------------------------|\n| `CompletionCreateResponse` | `OpenAIChatCompletion` |\n| `CompletionRetrieveResponse` | `OpenAIChatCompletion` |\n| `CompletionListResponse` | `ListOpenAIChatCompletionResponse` |\n| `CompletionCreateParams` | `OpenAIChatCompletionRequestWithExtraBody` |\n| `CompletionListParams` | `ListChatCompletionsRequest` |\n\n### Chat Completions Sub-types\n\n| `ogx_client.types.chat.completions.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|---------------------------------------------------|-----------------------------------|\n| `MessageListResponse` | `ChatCompletionMessage` |\n| `MessageListParams` | `ListChatCompletionMessagesRequest` |\n\n### Conversations Types\n\n| `ogx_client.types.conversations.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|------------------------------------------------|-----------------------------------|\n| `ItemGetResponse` | `ConversationItem` |\n| `ItemCreateResponse` | `ConversationItem` |\n| `ItemListResponse` | `ConversationItemList` |\n| `ItemCreateParams` | `ConversationItemCreateRequest` |\n| `ItemListParams` | `ListItemsRequest` |\n| `ItemGetParams` | `RetrieveItemRequest` |\n\n### Models Sub-types\n\n| `ogx_client.types.models.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-----------------------------------------|-----------------------------------|\n| `OpenAIListResponse` | `OpenAIListModelsResponse` |\n\n### Responses Sub-types\n\n| `ogx_client.types.responses.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|--------------------------------------------|-----------------------------------|\n| `InputItemListResponse` | `ListOpenAIResponseInputItem` |\n\n### Vector Stores Sub-types\n\n| `ogx_client.types.vector_stores.*` (<= 1.1.3) | `ogx_client.models.*` (>= 1.1.4) |\n|-------------------------------------------------|-----------------------------------|\n| `VectorStoreFile` | `VectorStoreFileObject` |\n| `VectorStoreFileBatches` | `VectorStoreFileBatchObject` |\n| `FileDeleteResponse` | `VectorStoreFileDeleteResponse` |\n| `FileContentResponse` | `VectorStoreFileContentResponse` |\n| `ListVectorStoreFilesInBatchResponse` | `VectorStoreFilesListInBatchResponse` |\n| `FileCreateParams` | `OpenAIAttachFileRequest` |\n| `FileUpdateParams` | `OpenAIUpdateVectorStoreFileRequest` |\n| `FileBatchCreateParams` | `OpenAICreateVectorStoreFileBatchRequestWithExtraBody` |\n\n---\n\n## 3. Environment Variables and `api_key`\n\n**No migration needed.** >= 1.1.4 reads the same environment variables as\n<= 1.1.3:\n\n| Environment Variable | Behavior |\n|---------------------|----------|\n| `OGX_CLIENT_BASE_URL` | Auto-inferred for `base_url` |\n| `OGX_CLIENT_CUSTOM_HEADERS` | Parsed and merged into default headers |\n| `OGX_CLIENT_API_KEY` | Sets `Authorization: Bearer <key>` header |\n\nThe `api_key` constructor parameter also works the same way. When provided\n(via constructor arg or `OGX_CLIENT_API_KEY` env var), it sets an\n`Authorization: Bearer` header. Constructor args take precedence over env\nvars.\n\n```python\n# All of these work in >= 1.1.4 just as they did in <= 1.1.3\nclient = OgxClient(base_url=\"http://localhost:8321\")\nclient = OgxClient(api_key=\"my-key\")\nclient = OgxClient(base_url=\"http://localhost:8321\", api_key=\"my-key\")\n```\n\n---\n\n## 4. List and Pagination Responses\n\n**Only affects you if** you were relying on `SyncOpenAICursorPage`'s\nauto-pagination to transparently fetch all pages across multiple API calls.\n\n### What still works\n\nBasic iteration over list results works identically:\n\n```python\n# This works in both versions\nfor file in client.files.list():\n    print(file.id)\n```\n\nThe new list response objects implement `__iter__`, `__getitem__`, and `__len__`,\nall delegating to their internal `.data` list. So `for item in result`,\n`result[0]`, and `len(result)` all work.\n\n### What changed\n\n<= 1.1.3 used `SyncOpenAICursorPage[T]` for some endpoints -- an\nauto-paginating iterator that transparently made additional API calls when you\niterated past the current page. >= 1.1.4 returns one page at a time.\nIf you have more data than fits in one page, you need to paginate manually:\n\n```python\nresult = client.files.list()\n# process result...\nwhile result.has_more:\n    result = client.files.list(after=result.last_id)\n    # process next page...\n```\n\nIn practice, most code fetches a single page and does not rely on\nauto-pagination. If your lists are small enough to fit in one response (the\ncommon case), the behavior is identical.\n\n### Return type changes per endpoint\n\n| Method | <= 1.1.3 return | >= 1.1.4 return |\n|--------|----------------|----------------|\n| `responses.list()` | `SyncOpenAICursorPage[ResponseListResponse]` | `ListOpenAIResponseObject` |\n| `responses.create()` | `ResponseObject` | `OpenAIResponseObject` |\n| `files.list()` | `SyncOpenAICursorPage[File]` | `ListOpenAIFileResponse` |\n| `batches.list()` | `SyncOpenAICursorPage[BatchListResponse]` | `ListBatchesResponse` |\n| `vector_stores.list()` | `SyncOpenAICursorPage[VectorStore]` | `VectorStoreListResponse` |\n| `vector_stores.files.list()` | `SyncOpenAICursorPage[VectorStoreFile]` | `VectorStoreListFilesResponse` |\n| `conversations.items.list()` | `SyncOpenAICursorPage[ItemListResponse]` | `ConversationItemList` |\n| `chat.completions.messages.list()` | `SyncOpenAICursorPage[MessageListResponse]` | `ChatCompletionMessageList` |\n| `models.list()` | `ModelListResponse` (TypeAlias Union) | `ListModelsV1ModelsGet200Response` (OneOf wrapper) |\n| `chat.completions.list()` | `CompletionListResponse` | `ListOpenAIChatCompletionResponse` |\n| `providers.list()` | `ProviderListResponse` (`TypeAlias = List[ProviderInfo]`) | `ListProvidersResponse` |\n| `routes.list()` | `RouteListResponse` (`TypeAlias = List[RouteInfo]`) | `ListRoutesResponse` |\n| `prompts.list()` | `PromptListResponse` (`TypeAlias = List[Prompt]`) | `ListPromptsResponse` |\n\n### TypeAlias lists replaced by wrapper objects\n\nA few endpoints in <= 1.1.3 returned plain Python lists via TypeAliases\n(e.g., `ProviderListResponse = List[ProviderInfo]`). These are now Pydantic\nmodels with a `.data` field. If you were treating the result as a bare list,\naccess `.data` or iterate (which delegates to `.data`):\n\n```python\n# Before -- was a plain list\nproviders = client.providers.list()  # List[ProviderInfo]\nfirst = providers[0]\n\n# After -- wrapper object, but iteration/indexing still works\nproviders = client.providers.list()  # ListProvidersResponse\nfirst = providers[0]  # works via __getitem__\nfirst = providers.data[0]  # also works\n```\n\n---\n\n## 5. Removed Client Features\n\n**Only affects you if** you used these specific patterns.\n\n### `client.copy()` / `client.with_options()`\n\nNo longer available. Create a new client instead.\n\n```python\n# Before\nnew_client = client.copy(base_url=\"http://other-server:8321\")\n\n# After\nnew_client = OgxClient(base_url=\"http://other-server:8321\")\n```\n\n### `client.with_raw_response`\n\nNo longer available. Use `*_with_http_info()` method variants:\n\n```python\n# Before\nraw = client.with_raw_response.responses.retrieve(\"resp-123\")\nraw.status_code\nraw.headers\nparsed = raw.parse()\n\n# After\nresp = client.responses.retrieve_with_http_info(\"resp-123\")\nresp.status_code\nresp.headers\nresp.data  # already parsed\n```\n\n### `client.with_streaming_response`\n\nNo longer available. Use `*_without_preload_content()` method variants:\n\n```python\n# Before\nwith client.with_streaming_response.files.content(\"file-abc\") as response:\n    for chunk in response.iter_bytes():\n        ...\n\n# After\nresponse = client.files.content_without_preload_content(\"file-abc\")\n```\n\n### `file_from_path` utility\n\nNo longer available in >= 1.1.4. Use standard Python file I/O:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client import file_from_path\n\n# After (>= 1.1.4)\nwith open(\"path/to/file\", \"rb\") as f:\n    client.files.create(file=f, purpose=\"assistants\")\n```\n\n### `aiohttp` backend\n\nThe optional `[aiohttp]` backend for `AsyncOgxClient` is no longer available\nin >= 1.1.4. `httpx.AsyncClient` is used exclusively.\n\n---\n\n## 6. Exception Attribute Changes\n\n**Only affects you if** you catch SDK exceptions and inspect their attributes\n(status code, response body, etc.). If you only catch them by type (e.g.,\n`except NotFoundError:`), nothing changes -- the class names are the same.\n\n### Catching by type still works\n\n```python\n# Works identically in both versions\nfrom ogx_client import NotFoundError, BadRequestError, RateLimitError\n\ntry:\n    client.models.retrieve(\"nonexistent\")\nexcept NotFoundError:\n    print(\"not found\")\n```\n\n### Attribute names changed\n\n| What you want | <= 1.1.3 | >= 1.1.4 |\n|---------------|----------|----------|\n| HTTP status code | `e.status_code` | `e.status` (also available as `e.status_code`) |\n| Full HTTP response | `e.response` (`httpx.Response`) | Not available (individual fields below) |\n| Response headers | `e.response.headers` | `e.headers` |\n| Response body | `e.body` (parsed JSON or None) | `e.body` (raw string) |\n| Error message | `e.message` | `e.message` (also available as `e.reason`) |\n| HTTP request | `e.request` | Not available |\n\n```python\ntry:\n    client.models.retrieve(\"nonexistent\")\n# Before\nexcept NotFoundError as e:\n    print(e.status_code)  # 404\n    print(e.response)  # httpx.Response\n\n# After\nexcept NotFoundError as e:\n    print(e.status)  # 404\n    print(e.body)  # raw body string\n    print(e.headers)  # response headers dict\n```\n\n### Exception hierarchy\n\n<= 1.1.3 had one hierarchy rooted at `OgxClientError -> APIError`.\n>= 1.1.4 has two coexisting hierarchies:\n\n**Primary (used by default):**\n\n```text\nOpenApiException\n  -> ApiException -> BadRequestException, NotFoundException, ...\n```\n\nThe familiar names (`BadRequestError`, `NotFoundError`, etc.) are **aliases**\nfor the `*Exception` classes. `from ogx_client import BadRequestError`\ngives you `BadRequestException` under the hood.\n\n**Secondary (Stainless-compatible, also importable):**\n\n```text\nOgxClientError -> APIError -> APIStatusError -> BadRequestError, ...\n```\n\nIf you were catching `APIStatusError` or `OgxClientError` as a base class,\nnote that the primary hierarchy uses `ApiException` / `OpenApiException` instead.\n\n---\n\n## 7. Client Initialization\n\n**This is mostly backward-compatible.** `base_url=` still works.\n\n>= 1.1.4 adds a `configuration` parameter as an alternative way to pass a URL\nstring or a full `Configuration` object:\n\n```python\nfrom ogx_client import OgxClient, Configuration\n\n# All three are equivalent:\nclient = OgxClient(base_url=\"http://localhost:8321\")\nclient = OgxClient(configuration=\"http://localhost:8321\")\nclient = OgxClient(configuration=Configuration(host=\"http://localhost:8321\"))\n\n# Configuration gives access to more options:\nconfig = Configuration(host=\"http://localhost:8321\", timeout=30, retries=3, http2=True)\nclient = OgxClient(configuration=config)\n```\n\n### Constructor parameter comparison\n\n| Parameter | <= 1.1.3 | >= 1.1.4 |\n|-----------|----------|----------|\n| `base_url` | Direct param | Direct param (forwarded to `Configuration`) |\n| `api_key` | Direct param (sets `Authorization: Bearer` header) | Direct param (same behavior) |\n| `default_headers` | Direct param | Direct param |\n| `timeout` | Direct param (`float \\| Timeout`) | Via `**kwargs` or `Configuration(timeout=...)` |\n| `max_retries` | Direct param (default: 2) | Via `**kwargs` or `Configuration(retries=...)` |\n| `http_client` | Direct param (`httpx.Client`) | Not supported |\n| `default_query` | Direct param | Not supported |\n| `configuration` | Not supported | **New** -- accepts `Configuration` object or string URL |\n| `header_name`/`header_value` | Not supported | Supported (single-header auth) |\n| `cookie` | Not supported | Supported |\n\n---\n\n## 8. API Method Calling Convention\n\n**This is backward-compatible for the common case.** If you call methods with\nkeyword arguments (the normal way), nothing changes:\n\n```python\n# Works identically in both versions\nresponse = client.responses.create(model=\"gpt-4o\", input=\"Hello, world!\")\n```\n\n>= 1.1.4 additionally accepts a request body object as the first positional\nargument:\n\n```python\n# New option (not available in <= 1.1.3)\nfrom ogx_client.models import CreateResponseRequest\n\nrequest = CreateResponseRequest(model=\"gpt-4o\", input=\"Hello, world!\")\nresponse = client.responses.create(request)\n```\n\n### Minor differences (unlikely to matter)\n\n- <= 1.1.3 enforced keyword-only arguments via `*`. >= 1.1.4 does not --\n  but since nobody passes positional args to these methods, this is invisible.\n- <= 1.1.3 used an `omit` sentinel to distinguish \"not provided\" from\n  `None`. >= 1.1.4 uses `None` as the default. In practice the server\n  treats both the same way.\n- Both versions support `extra_body` for sending additional fields.\n\n---\n\n## 9. Streaming Internals\n\n**The usage pattern is identical.** Only internal details changed.\n\n```python\n# Works identically in both versions\nstream = client.responses.create(model=\"gpt-4o\", input=\"Hello\", stream=True)\nfor event in stream:\n    print(event)\n```\n\nThe stream event type names changed (same rename pattern as other types):\n\n| <= 1.1.3 | >= 1.1.4 |\n|----------|----------|\n| `ResponseObjectStream` | `OpenAIResponseObjectStream` |\n| `ChatCompletionChunk` | `OpenAIChatCompletionChunk` |\n\nOther differences that only matter if you inspect stream internals:\n\n| Aspect | <= 1.1.3 | >= 1.1.4 |\n|--------|----------|----------|\n| Error in stream | Raises `APIError` | Silently caught |\n| `response` attribute | `stream.response` (public) | `stream._response` (private) |\n| `status_code` | `stream.response.status_code` | `stream.status_code` |\n| `headers` | `stream.response.headers` | `stream.headers` |\n| `until_done()` | Not available | Available |\n\n---\n\n## 10. APIResponse Changes\n\n**Only affects you if** you used `client.with_raw_response` (see\n[Section 5](#5-removed-client-features)).\n\n<= 1.1.3's `APIResponse` was a wrapper around a live `httpx.Response` with\nlazy parsing via `.parse()`.\n\n>= 1.1.4's `ApiResponse` is a **Pydantic BaseModel** with the data\nalready parsed:\n\n```python\n# After (via *_with_http_info methods)\nresp = client.responses.create_with_http_info(...)\nresp.status_code  # int\nresp.headers  # Mapping[str, str]\nresp.data  # already-parsed model\nresp.raw_data  # raw bytes\n```\n\n---\n\n## 11. Params Types Replaced by Request Models\n\n**Only affects you if** you explicitly imported `*Params` TypedDict types for\ntype annotations or static analysis.\n\n<= 1.1.3 provided TypedDict classes (named `*Params`) for type-checking\nmethod arguments. Most users never imported these -- they just passed keyword\narguments directly.\n\n>= 1.1.4 replaces them with Pydantic `BaseModel` classes (named\n`*Request`). If you referenced Params types in your code:\n\n```python\n# Before (<= 1.1.3)\nfrom ogx_client.types import ResponseCreateParams\n\n\ndef my_func(params: ResponseCreateParams) -> None: ...\n\n\n# After (>= 1.1.4)\nfrom ogx_client.models import CreateResponseRequest\n\n\ndef my_func(params: CreateResponseRequest) -> None: ...\n```\n\nFull mapping:\n\n| <= 1.1.3 (TypedDict) | >= 1.1.4 (BaseModel) |\n|----------------------|----------------------|\n| `ResponseCreateParams` | `CreateResponseRequest` |\n| `ResponseCompactParams` | `CompactResponseRequest` |\n| `EmbeddingCreateParams` | `OpenAIEmbeddingsRequestWithExtraBody` |\n| `CompletionCreateParams` (top-level) | `OpenAICompletionRequestWithExtraBody` |\n| `chat.CompletionCreateParams` | `OpenAIChatCompletionRequestWithExtraBody` |\n| `BatchCreateParams` | `CreateBatchRequest` |\n| `BatchListParams` | `ListBatchesRequest` |\n| `FileCreateParams` | `UploadFileRequest` |\n| `FileListParams` | `ListFilesRequest` |\n| `VectorStoreCreateParams` | `OpenAICreateVectorStoreRequestWithExtraBody` |\n| `VectorStoreUpdateParams` | `OpenAIUpdateVectorStoreRequest` |\n| `VectorStoreSearchParams` | `OpenAISearchVectorStoreRequest` |\n| `VectorIoInsertParams` | `InsertChunksRequest` |\n| `VectorIoQueryParams` | `QueryChunksRequest` |\n| `ConversationCreateParams` | `CreateConversationRequest` |\n| `ConversationUpdateParams` | `UpdateConversationRequest` |\n| `PromptCreateParams` | `CreatePromptRequest` |\n| `PromptUpdateParams` | `UpdatePromptRequest` |\n| `PromptRetrieveParams` | `GetPromptRequest` |\n| `PromptSetDefaultVersionParams` | `SetDefaultVersionRequest` |\n| `alpha.InferenceRerankParams` | `RerankRequest` |\n| `alpha.AdminListRoutesParams` | `ListRoutesRequest` |\n| `vector_stores.FileCreateParams` | `OpenAIAttachFileRequest` |\n| `vector_stores.FileUpdateParams` | `OpenAIUpdateVectorStoreFileRequest` |\n| `vector_stores.FileBatchCreateParams` | `OpenAICreateVectorStoreFileBatchRequestWithExtraBody` |\n| `conversations.ItemCreateParams` | `ConversationItemCreateRequest` |\n| `conversations.ItemListParams` | `ListItemsRequest` |\n| `conversations.ItemGetParams` | `RetrieveItemRequest` |\n| `chat.CompletionListParams` | `ListChatCompletionsRequest` |\n| `chat.completions.MessageListParams` | `ListChatCompletionMessagesRequest` |\n\n---\n\n## 12. Async Client Changes\n\n**Backward-compatible.** Usage is the same:\n\n```python\nfrom ogx_client import AsyncOgxClient\n\nasync_client = AsyncOgxClient(base_url=\"http://localhost:8321\")\nresponse = await async_client.responses.create(model=\"gpt-4o\", input=\"Hello\")\n```\n\nThe `Client` and `AsyncClient` short aliases are gone -- use `OgxClient` and\n`AsyncOgxClient`.\n\nThe optional `aiohttp` backend is no longer available in >= 1.1.4.\n`httpx.AsyncClient` is used exclusively.\n\n---\n\n## 13. Dependencies and Python Version\n\n| Dependency | <= 1.1.3 | >= 1.1.4 |\n|-----------|----------|----------|\n| Python | >= 3.9 | **>= 3.13** |\n| `httpx` | >= 0.23.0, < 1 | >= 0.28.1 |\n| `pydantic` | >= 1.9.0, < 3 | **>= 2** |\n| `anyio` | >= 3.5.0, < 5 | Not required |\n| `distro` | >= 1.7.0, < 2 | Not required |\n| `sniffio` | Required | Not required |\n| `tqdm` | Required | Not required |\n| `typing-extensions` | >= 4.14, < 5 | >= 4.7.1 |\n| `python-dateutil` | Not required | >= 2.8.2 |\n\nIf you are on Python 3.9--3.12, you must upgrade to 3.13+. If you are on\nPydantic v1, you must upgrade to v2. Both versions use **httpx** as the HTTP\nclient.\n\n---\n\n## Quick Migration Checklist\n\n**Everyone:**\n\n- [ ] Upgrade Python to 3.13+ and Pydantic to 2.x (if not already)\n- [ ] Upgrade `ogx_client` to >= 1.1.4 in `pip install` / `pyproject.toml`\n- [ ] Replace `from ogx_client.types` -> `from ogx_client.models` in all imports\n- [ ] Update type names per the [mapping tables](#2-type-and-model-name-changes)\n\n**If applicable:**\n\n- [ ] Replace `client.with_raw_response` with `*_with_http_info()` methods\n- [ ] Replace `client.copy()` / `client.with_options()` with new client creation\n- [ ] Add manual pagination if you relied on `SyncOpenAICursorPage` auto-pagination\n- [ ] Update `e.status_code` -> `e.status` if you inspect exception attributes\n\n<!-- File: tests/integration/agents/recordings/0b2b172f0f123d1af9ecf059e37e566f53dade988415f9f8578326f41e423cd5.json (Tokens: ~8494 | Category: anthropic-skill) -->\n{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_function_call_output_response_with_none_arguments[txt=ollama/qwen3.5:0.8b]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"what's the current time? You MUST call the `get_current_time` function to find out.\"\n        }\n      ],\n      \"parallel_tool_calls\": true,\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      },\n      \"tools\": [\n        {\n          \"type\": \"function\",\n          \"function\": {\n            \"type\": \"function\",\n            \"name\": \"get_current_time\",\n            \"description\": \"Get the current time\",\n            \"parameters\": {}\n          }\n        }\n      ]\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.31.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" current\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" time\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" need\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" use\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_current\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_time\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" as\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" instructed\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" This\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" direct\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" request\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" that\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" doesn\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"'t\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" require\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" any\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" additional\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" parameters\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" or\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" tools\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": [\n                  {\n                    \"index\": 0,\n                    \"id\": \"call_abpvebbz\",\n                    \"function\": {\n                      \"arguments\": \"{}\",\n                      \"name\": \"get_current_time\"\n                    },\n                    \"type\": \"function\"\n                  }\n                ]\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": null,\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null\n              },\n              \"index\": 0,\n              \"finish_reason\": \"tool_calls\",\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-0b2b172f0f12\",\n          \"choices\": [],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": {\n            \"completion_tokens\": 54,\n            \"prompt_tokens\": 270,\n            \"total_tokens\": 324,\n            \"completion_tokens_details\": null,\n            \"prompt_tokens_details\": {\n              \"audio_tokens\": null,\n              \"cache_write_tokens\": null,\n              \"cached_tokens\": 0,\n              \"image_tokens\": null,\n              \"text_tokens\": null\n            }\n          },\n          \"timings\": {\n            \"prompt_n\": 270,\n            \"prompt_ms\": 2595,\n            \"prompt_per_token_ms\": 9.61111111111111,\n            \"prompt_per_second\": 104.04624277456648,\n            \"predicted_n\": 54,\n            \"predicted_ms\": 2863,\n            \"predicted_per_token_ms\": 53.01851851851852,\n            \"predicted_per_second\": 18.861334264757247\n          }\n        }\n      }\n    ],\n    \"is_streaming\": true\n  },\n  \"id_normalization_mapping\": {}\n}\n\n<!-- File: tests/integration/agents/recordings/156e7e73dc52adad8ba6a8481adbce15a383633ac951d883cd4f18cd7d66cba9.json (Tokens: ~11752 | Category: anthropic-skill) -->\n{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_responses_store[openai_client-txt=ollama/qwen3.5:0.8b-tools1-False]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"What's the weather in Tokyo? YOU MUST USE THE get_weather function to get the weather.\"\n        }\n      ],\n      \"parallel_tool_calls\": true,\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      },\n      \"tools\": [\n        {\n          \"type\": \"function\",\n          \"function\": {\n            \"type\": \"function\",\n            \"name\": \"get_weather\",\n            \"description\": \"Get the weather in a given city\",\n            \"parameters\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"city\": {\n                  \"type\": \"string\",\n                  \"description\": \"The city to get the weather for\"\n                }\n              }\n            }\n          }\n        }\n      ]\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.31.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" information\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" in\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Tokyo\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" but\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" wants\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" me\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" use\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" retrieve\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" it\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" need\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" check\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" if\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" there\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"'s\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" way\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" do\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" this\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" since\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" only\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" have\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" access\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" to\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" single\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" API\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" call\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" tool\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" (\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"get\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"_weather\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"),\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" can\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" call\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" that\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-156e7e73dc52\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" function\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_o\n\n<!-- File: tests/integration/agents/recordings/339d510b1f11fab08ae8684df5bd52509407c02034a81463c8ac2208b4ce9da2.json (Tokens: ~11766 | Category: anthropic-skill) -->\n{\n  \"test_id\": \"tests/integration/agents/test_openai_responses.py::test_stored_input_items_work_as_pagination_cursors[txt=ollama/qwen3.5:0.8b]\",\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"http://0.0.0.0:11434/v1/v1/chat/completions\",\n    \"headers\": {},\n    \"body\": {\n      \"model\": \"qwen3.5:0.8b\",\n      \"messages\": [\n        {\n          \"role\": \"user\",\n          \"content\": \"Message A: What is the capital of France?\"\n        },\n        {\n          \"role\": \"assistant\",\n          \"content\": \"The capital of France is Paris.\"\n        },\n        {\n          \"role\": \"user\",\n          \"content\": \"Message B: What about Spain?\"\n        },\n        {\n          \"role\": \"assistant\",\n          \"content\": \"The capital of Spain is Madrid.\"\n        },\n        {\n          \"role\": \"user\",\n          \"content\": \"Message C: And Italy?\"\n        }\n      ],\n      \"stream\": true,\n      \"stream_options\": {\n        \"include_usage\": true\n      }\n    },\n    \"endpoint\": \"/v1/chat/completions\",\n    \"model\": \"qwen3.5:0.8b\",\n    \"provider_metadata\": {\n      \"openai_sdk_version\": \"3.57.0\"\n    }\n  },\n  \"response\": {\n    \"body\": [\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": \"assistant\",\n                \"tool_calls\": null,\n                \"reasoning\": \"Thinking\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Process\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\n\\n1\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"  **\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"An\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"alyze\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Request\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":**\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" The\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" user\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" has\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" provided\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" a\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" dialogue\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" history\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" where\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" I\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" (\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" AI\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \")\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" have\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" previously\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" answered\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" \\\"\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"capital\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" of\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" France\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" =\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Paris\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\\",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" \\\"\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"capital\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" of\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Spain\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" =\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Madrid\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\\",\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" and\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" now\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" asks\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" for\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Italy\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"\\n\\n2\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \".\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"  **\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \"Evaluate\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" the\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" Intent\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \":**\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" This\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n          \"id\": \"rec-339d510b1f11\",\n          \"choices\": [\n            {\n              \"delta\": {\n                \"audio\": null,\n                \"content\": \"\",\n                \"function_call\": null,\n                \"refusal\": null,\n                \"role\": null,\n                \"tool_calls\": null,\n                \"reasoning\": \" is\"\n              },\n              \"index\": 0,\n              \"finish_reason\": null,\n              \"logprobs\": null\n            }\n          ],\n          \"created\": 0,\n          \"model\": \"qwen3.5:0.8b\",\n          \"object\": \"chat.completion.chunk\",\n          \"moderation\": null,\n          \"obfuscation\": null,\n          \"service_tier\": null,\n          \"system_fingerprint\": \"fp_ollama\",\n          \"usage\": null\n        }\n      },\n      {\n        \"__type__\": \"openai.types.chat.chat_completion_chunk.ChatCompletionChunk\",\n        \"__data__\": {\n\n<!-- File: tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/469430ace8a0c2eb89e187852a80e7741fc0ee8e4e5a2aaee9a86013e6d29756.json)\n\n<!-- File: tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/478e281403af0a7e707b0e8b8f02e0edf2035a19d40940ad44ea03d838b892e1.json)\n\n<!-- File: tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/5078a98017e2381337489d9c5bd645c19044b51a9d45b2aa3f515605acd1b097.json)\n\n<!-- File: tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/530ec5b32de4fcc9ce042aa644370e7a08ac17c74f5e181a21103765ce98d9f8.json)\n\n<!-- File: tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/562e18a5dc2219bd0d27c04d20872f3d94240826df33c55505b43f1fa9ed68c6.json)\n\n<!-- File: tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/60b738c8669cdb05e8e8e66bd1b2c977d9d59b79fe0823c3e8a7840c0e17a777.json)\n\n<!-- File: tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/719b438c1caa5ec103edb76e35a863fdc1b7a5f15914537459fd1da0548796dc.json)\n\n<!-- File: tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/75868d2ef6ddad1d39e5e318e29a4b75726b6a321ff458828c5bef55b1b4cc3a.json)\n\n<!-- File: tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/81fb8345beb8e542d82105be2cf032563da65e1262cd421b7cb338a9383c81b8.json)\n\n<!-- File: tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9d7860a028628926fdbb669d7520fd1f358425144ae5219b7772c0c10df24af2.json)\n\n<!-- File: tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/9da215eab8ec61d06825c11d6c7543ccc6ad180699977506dbc145e86cad019d.json)\n\n<!-- File: tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/a2d0a857685abb98f5dc832a20f40285888cefbfbdad167d3cb7c3c060130f08.json)\n\n<!-- File: tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/abc7d84dca84df3ee55819afe827800e6295b223aa44c02927169f5a8646758f.json)\n\n<!-- File: tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/b3d738138efb229e724ffb9305d2fc1110cad9001a2f68fc10c7271f40619409.json)\n\n<!-- File: tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/c74cd8a555b5e2a6d6f37b45b35727e1ece780ceb9c517a79501f53ef9209077.json)\n\n<!-- File: tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Recordings Skill\n\nPath: `tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/ogx-ai/ogx/HEAD/tests/integration/agents/recordings/d3a18d27e7213f112de5e02cf25356a6b01d2bb2472591c898c3d05d398114e7.json)\n\n<!-- File: CLAUDE.md (Tokens: ~564 | Category: claude-rule) -->\nSee @AGENTS.md for guidelines on working with this codebase.\n\n## Design Context\n\n### Users\n\nBackend engineers, application developers, and platform teams evaluating or adopting OGX for production AI workloads. They arrive from GitHub, blog posts, or search. They already use OpenAI/Anthropic SDKs and want to know: can I point my existing code at this server and have it just work? They are practical, time-constrained, and skeptical of marketing fluff. They read docs in dark terminals, IDEs, and browser tabs at all hours.\n\n### Brand Personality\n\n**Powerful, flexible, production-grade.** Not flashy. Not cute. Not corporate. The kind of project where the README is better than most companies' entire docs site. Speaks in code examples, not marketing copy. Respects the developer's time above all else.\n\nThree words: **capable, direct, trustworthy.**\n\n### Aesthetic Direction\n\n- **Tone**: Technical confidence without pretension. Think: well-organized CLI output, a clean terminal, a tool that does exactly what it says.\n- **Theme**: Dark mode default, both supported. Dark should feel like a refined terminal environment, not \"glowing neon AI dashboard.\" Light should feel like clean paper, not washed-out gray.\n- **Anti-references**: Purple-to-blue gradients, animated gradient text, icon-in-colored-circle card grids, \"Works with 20+ providers!\" vanity stats, marquee scrolling logos, decorative mesh backgrounds. All of these are present on the current site and should be replaced.\n- **Color**: Move away from purple as primary. The logo uses a deep navy-to-teal gradient. The palette should feel grounded, not synthetic. Consider warm neutrals or muted earth tones as an alternative to the current purple/teal AI palette.\n- **Typography**: Current fonts (Space Grotesk, Inter) are on the overused list. Find something with more character that still reads as technical and trustworthy.\n\n### Design Principles\n\n1. **Show, don't decorate.** Every visual element must communicate information. No decorative gradients, glows, or animations that exist for \"wow factor.\"\n2. **Code is the hero.** The most important thing on the landing page is a working code example. Make it prominent, readable, and real.\n3. **Earn trust through clarity.** Clean structure, consistent spacing, and direct language signal competence better than any visual flourish.\n4. **Respect the scroll.** Every section must justify its existence. If it doesn't answer a question the developer has, cut it.\n5. **No AI slop.** If a pattern appears on 50 AI-generated landing pages, it doesn't belong here. When in doubt, do less.\n</yakaai_skills>"}