diff --git a/AGENTS.md b/AGENTS.md index 9a68154d205e..58219fe8f4b5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -239,7 +239,7 @@ const table = sqliteTable("session", { - When you open a PR, decide whether the change needs a flag: new user-visible behavior, risky core changes, and anything not ready to release get one; fixes, refactors, docs and tests do not. - Gate risky behavior, or behavior that lands over several PRs, with a key and a description in `packages/schema/src/config/flag.ts`, and read it with `Flag.enabled("")` from `@opencode/core/flag`. -- Flags default to on in local and dev builds and off in releases, except `optInOnly` flags (such as `full_codemode`), which require an explicit `OPENCODE_FLAGS=` or `experimental.: true` in every build. +- Flags default to on in local and dev builds and off in releases, except `optInOnly` flags (such as `todo`), which require an explicit `OPENCODE_FLAGS=` or `experimental.: true` in every build. - Say in the PR body which flag guards the change. The reserved switches `OPENCODE_FLAGS=all` and `experimental.all_flags: true` skip opt-in-only flags; use `all,-` or `experimental.: false` to opt out within the respective source. - Ship a feature by deleting its flag and the checks that read it. @@ -280,8 +280,7 @@ const table = sqliteTable("session", { ## Plugin Loading -- Plugins load asynchronously. Server handlers never wait for them (`Plugin.awaitActivation`), never retry until something appears, and never turn slow plugins into a timeout or 503. This applies to reads and to actions such as `rpc.call` and `vcs.init`. -- Temporary exception: endpoints that list or use providers managed policy can deny (`model.list`, `model.default`, `provider.list`, `generate.*`, `voice.*` and `websearch.query`) wait through `awaitPlugins` in `packages/server/src/location.ts`, because policy is applied by the last plugin to activate and is missing until then. Don't add new waits; this goes away once a plugin batch becomes visible only when it ends. +- Plugins load asynchronously. Server handlers never wait for them (`Plugin.awaitActivation`), never retry until something appears, and never turn slow plugins into a timeout or 503. This applies to reads and to actions such as `generate.*`, `rpc.call`, `vcs.init` and `websearch.query`. - The server answers with what is loaded now: lists may be empty or partial on a cold Location, and an action whose model, provider or RPC hasn't loaded yet fails with not-found. That is expected, not a bug to fix on the server. - Clients are responsible for making sure what they need is loaded before they call. Long-lived clients refresh on the matching `*.updated` event (`model.updated`, `agent.updated`, `skill.updated`, `integration.updated`, `plugin.updated`, ...). One-shot clients (CLI commands, ACP, SDK callers) wait on their side, for example by polling `plugin.list` or the entry they need. See `packages/cli/src/services/plugin-startup.ts`. - Running the hooks that are registered and waiting for their result is fine (for example `hooks.trigger("session", "http.request", ...)`). What is not allowed is waiting for plugins to load first: if the plugin that adds a hook hasn't loaded yet, the call runs without that hook. diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ee89cfef99b..97ec79f8002d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ Release notes for OpenCode V2, newest first. +## v2.3.2 — 2026-11-18 + +### Highlights + +- **GPT-6.2 Prompt Caching**: GPT-6.2 models don't cache a system prompt sent in the Responses `instructions` field, so every step re-billed it as uncached input. OpenCode now sends it as a leading developer message on every Responses route, including OpenAI (API key and ChatGPT sign-in), GitHub Copilot, Zen, Azure and OpenRouter, so it is cached from the second step on. ([#64542](https://github.com/anomalyco/opencode/pull/64542), [#64544](https://github.com/anomalyco/opencode/pull/64544)) + +### Core + +#### Bug fixes + +- Fixed GPT-6.2 models re-billing the system prompt as uncached input on every step. On GitHub Copilot `gpt-6.2-sol`, uncached input per step dropped from about 14,000 tokens to 3. Compaction through `/responses/compact` now reads the same cached prefix. ([#64542](https://github.com/anomalyco/opencode/pull/64542), [#64544](https://github.com/anomalyco/opencode/pull/64544)) +- `webfetch` structured output no longer repeats the `url` and `format` it was called with. ([#64534](https://github.com/anomalyco/opencode/pull/64534)) + ## v2.3.1-shuv.1 — 2026-11-17 Sync upstream v2.3.1 (`c769de8300`), 127 commits after the #497 pin `0fad04b3d5`. diff --git a/bun.lock b/bun.lock index eb5eb5f734d1..3d360bedf0ba 100644 --- a/bun.lock +++ b/bun.lock @@ -29,7 +29,7 @@ }, "packages/ai": { "name": "@opencode/ai", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", "@opencode/schema": "workspace:*", @@ -66,7 +66,7 @@ }, "packages/app": { "name": "@opencode/app", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@corvu/drawer": "catalog:", "@dnd-kit/abstract": "0.5.0", @@ -81,6 +81,7 @@ "@opencode/session-ui": "workspace:*", "@opencode/ui": "workspace:*", "@opencode/util": "workspace:*", + "@opentui/keymap": "catalog:", "@pierre/highlights": "catalog:", "@pierre/trees": "1.0.0-beta.6", "@sentry/solid": "catalog:", @@ -200,7 +201,7 @@ }, "packages/client": { "name": "@opencode/client", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opencode/protocol": "workspace:*", "@opencode/schema": "workspace:*", @@ -226,7 +227,7 @@ }, "packages/codemode": { "name": "@opencode/codemode", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "acorn": "8.15.0", "effect": "catalog:", @@ -239,7 +240,7 @@ }, "packages/core": { "name": "@opencode/core", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@ai-sdk/provider": "3.0.19", "@effect/platform-node": "catalog:", @@ -313,7 +314,7 @@ }, "packages/data/app": { "name": "@opencode/data-app", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@kobalte/core": "catalog:", "@opencode/data-core": "workspace:*", @@ -341,7 +342,7 @@ }, "packages/data/core": { "name": "@opencode/data-core", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@planetscale/database": "1.19.0", "drizzle-orm": "catalog:", @@ -358,7 +359,7 @@ }, "packages/data/server": { "name": "@opencode/data-server", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opencode/data-core": "workspace:*", "effect": "catalog:", @@ -374,7 +375,7 @@ }, "packages/desktop": { "name": "@opencode/desktop", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@zip.js/zip.js": "2.7.62", "electron-context-menu": "5.0.0", @@ -440,7 +441,7 @@ }, "packages/gui-plugins": { "name": "@opencode/gui-plugins", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@betteroffice/docx": "0.4.3", "@betteroffice/fonts": "0.4.0", @@ -485,7 +486,7 @@ }, "packages/http-recorder": { "name": "@opencode/http-recorder", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@effect/platform-node-shared": "catalog:", }, @@ -504,7 +505,7 @@ }, "packages/httpapi-codegen": { "name": "@opencode/httpapi-codegen", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "effect": "catalog:", "prettier": "3.6.2", @@ -517,7 +518,7 @@ }, "packages/latex": { "name": "@opencode/latex", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opencode/plugin": "workspace:*", "@opentui/core": "catalog:", @@ -531,7 +532,7 @@ }, "packages/merman": { "name": "@opencode/merman", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opencode/plugin": "workspace:*", "@opentui/core": "catalog:", @@ -546,7 +547,7 @@ }, "packages/nav-menus": { "name": "@opencode/nav-menus", - "version": "2.3.1", + "version": "2.3.2", "devDependencies": { "@happy-dom/global-registrator": "20.0.11", "@types/bun": "catalog:", @@ -557,7 +558,7 @@ }, "packages/patchmark": { "name": "@opencode/patchmark", - "version": "2.3.1", + "version": "2.3.2", "devDependencies": { "@tsconfig/bun": "catalog:", "@types/bun": "catalog:", @@ -570,7 +571,7 @@ }, "packages/plugin": { "name": "@opencode/plugin", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@ai-sdk/provider": "3.0.8", "@opencode/ai": "workspace:*", @@ -615,7 +616,7 @@ }, "packages/plugin-browser": { "name": "@opencode/plugin-browser", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opencode/plugin": "workspace:*", "@opencode/schema": "workspace:*", @@ -630,7 +631,7 @@ }, "packages/plugins/figma": { "name": "@opencode/plugin-figma", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "gray-matter": "4.0.3", }, @@ -645,7 +646,7 @@ }, "packages/protocol": { "name": "@opencode/protocol", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opencode/schema": "workspace:*", "effect": "catalog:", @@ -675,7 +676,7 @@ }, "packages/schema": { "name": "@opencode/schema", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@standard-schema/spec": "catalog:", "effect": "catalog:", @@ -700,7 +701,7 @@ }, "packages/sdk": { "name": "@opencode/sdk", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opencode/client": "workspace:*", "@opencode/core": "workspace:*", @@ -721,7 +722,7 @@ }, "packages/server": { "name": "@opencode/server", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@effect/platform-node": "catalog:", "@effect/platform-node-shared": "catalog:", @@ -744,7 +745,7 @@ }, "packages/session-ui": { "name": "@opencode/session-ui", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@kitlangton/solid-motion": "0.2.2", "@kobalte/core": "catalog:", @@ -776,7 +777,7 @@ }, "packages/simulation": { "name": "@opencode/simulation", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opencode/ai": "workspace:*", "@opencode/core": "workspace:*", @@ -814,7 +815,7 @@ }, "packages/theme": { "name": "@opencode/theme", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opentui/core": "catalog:", "effect": "catalog:", @@ -828,7 +829,7 @@ }, "packages/tui": { "name": "@opencode/tui", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@opencode/client": "workspace:*", "@opencode/core": "workspace:*", @@ -864,7 +865,7 @@ }, "packages/ui": { "name": "@opencode/ui", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@kitlangton/solid-motion": "0.2.2", "@kobalte/core": "catalog:", @@ -900,7 +901,7 @@ }, "packages/util": { "name": "@opencode/util", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "@effect/opentelemetry": "catalog:", "@effect/platform-node": "catalog:", @@ -1039,7 +1040,7 @@ }, "services/update": { "name": "@opencode/update", - "version": "2.3.1", + "version": "2.3.2", "dependencies": { "jose": "6.0.11", "semver": "catalog:", diff --git a/docs/sync-2026-11-19-v2.3.2-dev.md b/docs/sync-2026-11-19-v2.3.2-dev.md new file mode 100644 index 000000000000..577feb5cf995 --- /dev/null +++ b/docs/sync-2026-11-19-v2.3.2-dev.md @@ -0,0 +1,119 @@ +# Upstream v2.3.2 and dev sync — 2026-11-19 PST + +## Summary and ancestry + +- Fork base: `a2fcac9f672523e179dd4cb326369be5672d2a8d` (`origin/integration-v2`, #507). The remote branch was checked without moving the pinned refs. +- Previous upstream pin and common ancestor of the fork base and both upstream targets: `bd115fdac838e6cb1ea14f954beb70796df40bc8`. +- Merge 1: tag `v2.3.2` → `c0ad18b402eb2827fc1ee71c171b1177b3fc02d1`, 5 commits after the previous pin. The release commit is not on `dev`; its parent `de291ab7b1` is the tag/dev merge base. Two-parent merge `088ffd714086b52cc75123e81b1438f8ec99437d`. +- Merge 2: frozen `dev` → `d33b5783338b8b350aafc09f7dc2701eeba52a9a`, 55 commits after the previous pin and 51 not already reachable after merge 1. There is one tag-only commit. Two-parent merge `da2d37d76a874f347d1ced206c5602cf219d2973`. Live `upstream/dev` had moved to `88c90d08add7dd899a0caefc15609fdbb1d4b2ed` at the preflight check; the sync did not take it. +- Both merges are normal two-parent commits on `sync-upstream-232`, tag first, dev second. No rebase or force-push. +- Root and the affected shared workspace manifests take `2.3.2`. The CLI remains `2.3.1-shuv.1` with no release prep. A subsequent release-prep PR would use `2.3.2-shuv.1`; nothing is published by this PR. + +| Tree comparison | Files | Insertions | Deletions | +| --- | ---: | ---: | ---: | +| Previous pin → fork base (20,756 fork-side commits in the symmetric range) | 731 | 42,341 | 7,658 | +| Previous pin → v2.3.2 tag | 77 | 481 | 360 | +| Previous pin → pinned dev | 446 | 16,179 | 4,371 | +| Pinned dev → fork base (pre-sync divergence) | 1,058 | 46,685 | 23,810 | +| Fork base → release merge | 76 | 479 | 358 | +| Release merge → dev merge | 411 | 15,800 | 4,096 | +| Fork base → dev merge (excluding this audit) | 477 | 16,279 | 4,454 | + +## Conflict resolutions + +### Merge 1 — 35 paths, all release metadata + +| Path | Resolution | +| --- | --- | +| `CHANGELOG.md` | Inserted the upstream v2.3.2 notes verbatim above `v2.3.1-shuv.1`. No new fork entry. | +| Root and 31 non-CLI workspace/service manifests | Took only the `version` line (`2.3.2`), including `sdks/vscode` and `services/update`; kept fork manifest content. The 35 conflicts included 33 manifests total, counting the root and CLI. | +| `packages/cli/package.json` | Kept the fork manifest byte-for-byte, including `shuvcode` package/bin and `2.3.1-shuv.1`. | +| `bun.lock` | Took the 30 workspace version updates in the lockfile and kept the CLI entry unchanged. Frozen install made no tracked changes and was a no-op with dependencies present. | + +### Merge 2 — 12 paths + +| Path | Resolution | +| --- | --- | +| `packages/ai/src/tool-runtime.ts` | Kept fork rich failure blocks via `failureContent(failure.content)`. | +| `packages/core/src/config.ts` | Track `filepath` and substitution references before parsing, while preserving fork `parseInfo(substituted, filepath, text)` and the document spread. | +| `packages/core/src/plugin/internal.ts` | Import and register both `JevTool` and upstream `VideoGenerateTool`. | +| `packages/core/src/session/runner/model.ts` | Keep upstream `select` and the fork's `resolve` documentation. | +| `packages/core/src/tool.ts` | Adopt upstream hook signature, snapshot options, model tool policy, full Code Mode services and five-entry LRU. Cache reads and writes stay synchronous; removed the fork's single-slot cache and unused runtime inventory. Wrap upstream execution (including background Code Mode) in `executeCall`, with outer rich-failure settlement, error adoption and the scoped `ToolActivity` lease. | +| `packages/core/src/tool/plugin/mcp-events.ts` | Keep upstream `list_mcp_events`, expose it under `shuvcode`, and use `opencode_list_mcp_events` for both filtering and execution permission. | +| `packages/core/src/tool/plugin/opencode.ts` | Keep conditional worktree hint for `execute` / direct tools with Shuvcode names, and upstream pinned Code Mode options. | +| `packages/core/test/session-execution.test.ts` | Union imports (`Schedule`, `Stream`, `CallID`). | +| `packages/core/test/session-generate.test.ts` | Keep upstream `select` stub and fork request-capturing `resolve`. | +| `packages/core/test/tool-mcp-events.test.ts` | Keep upstream list coverage and fork deny coverage with the new tool and permission names. | +| `packages/core/test/tool-opencode.test.ts` | Keep fork external-directory permission coverage and upstream conditional hints with Shuvcode names. | +| `packages/core/test/tool-registry.test.ts` | Keep both sides, including the fork's rich-failure and cached-denial tests and upstream's policy and LRU tests. | + +Semantic follow-ups beyond textual conflicts: + +- Retarget upstream `plugin/internal-flag` and `tool-model-policy` fixtures and assertions to `shuvcode`, including the catalog's alphabetical ordering. Grepped new assertions for stale upstream names. +- Update the fork identity assertions for `list_mcp_events`, `opencode_list_mcp_events`, and both available forms of the worktree hint. Fill stub methods for the enlarged service interfaces. +- Keep the pinned `full_codemode` product default. Fork-only direct-tool tests passed with their existing fixture configuration, so no new override was needed. +- Adopt the removal of server-side `awaitPlugins` (`ce7b4252d8`), including the removed `AGENTS.md` exception. Keep `tool/model-policy.ts` byte-for-byte upstream; its Claude Agent model classification does not register or list that provider. +- Run the client generator rather than editing generated output by hand. +- Fix the upstream video-job test's virtual-clock race without modifying the service: continue advancing `TestClock` until the waiter fiber completes. A completed job record does not mean the waiter's next poll has fired. + +## Fork preservation + +- Both root-family permission routing (#429) and the child “Parent is waiting for you” banner are unchanged. `pending.delete(id)` still claims permitted requests before the next yield. Changes in those files are outside the fork routing: upstream path matching in `permission.ts` and Code Mode job notices in the TUI. +- Hidden Claude Agent SDK: same **17 files** calling `isHiddenProvider` before and after, no `claudeAgent` i18n keys reintroduced, and the registry and config provider filters are unchanged. +- The fork-only `20261005094821_subagent-operation` migration is still registered; the upstream range adds no migrations or registry changes. Durable subagent recovery is exercised by the process-death suite. +- Zero `namespace: "opencode"` or `tools.opencode` matches under `packages/core/src`. The `opencode_*` permission action names are distinct from the model-facing tool names. +- `shuvcode` bin, `Global.app`, ports `0x1337`/`0x1338`, npm updates, the publish guard and #506's publish gating are unchanged. The bundled `@shuvcode/antigravity-plugin` (#503 fail-once, #507 Gemini 4 Neon), `@shuvcode/claude-plugin` and quota plugin are unchanged. + +## Flags and behavior + +- `full_codemode` defaults on in local/dev and off in release builds (`77b322ceae`). The model policy decides which tools move into Code Mode; the sync adds no flag of its own. +- `todo` briefly became config-only in `77b322ceae`; the pinned tip includes `56dc95bff5`, which restores explicit opt-in via `OPENCODE_FLAGS=todo` **or** `experimental.todo: true`. It stays off by default, even in local/dev, and neither `all` nor `all_flags` turns it on. This differs from the config-only description in the plan. +- Cold server locations no longer wait for provider plugin activation in the affected endpoints. Clients see the current state and keep their existing refresh/wait responsibilities. +- Older builds cannot decode persisted `Job.Recovery` rows with `kind: "video"`. This is a rollback compatibility caveat even though no SQL migration is added. + +## Branch inventory + +| Branch | Disposition | +| --- | --- | +| `shuvcode-tool-prompts` (`e4e22f0344`) | Merged via #504; no additional changes taken. | +| `gemini-4-neon`, `gate-npm-release` | Merged via #507 and #506 respectively; refs gone. | +| `pwsh-hosted-probe` (`174302ace9`), `pwsh-ci-diag` (`fb789a630a`) | Parked #493 diagnostics, not merged or changed. | +| `antigravity-no-retry` (`c3cca2efc9`) | Post-merge accidental commit (285 files). The sources outside `.sst/`, `services/www/.astro` and `packages/posts` match the #504 tree; intended work landed by equivalent changes in #503/#504. The artifact remainder is obsolete. Do not merge; deletion requires separate authorization. | + +All older local and `origin/*` branches retain their dispositions in [the 11-15 audit](sync-2026-11-15-dev.md) and earlier audits. No fork PRs were open at preflight. No branch was deleted. + +## Validation + +On `shuvdev`, Bun 1.4.4. Local gates and suites used `nice -n 19`, one heavy run at a time, with at most four jobs. The root typecheck uses Turbo concurrency 3; suites ran from package directories with `env -i`, private HOME/XDG/TMPDIR, and no live application or service. Full cross-platform validation is the GitHub Actions gate. + +| Gate | Result | +| --- | --- | +| Root `bun run check` | Pass (40/40 tasks) | +| `bun run generate` (`packages/client`) | Pass, no drift beyond the upstream generated changes | +| `bun install --frozen-lockfile` | Pass for both merges, no changes with dependencies present | +| `bun run migration --check` (`packages/core`) | Pass | +| `git diff --check` and conflict-marker scan | Pass | +| Focused core (including Jev, Antigravity provider, permissions and process-death recovery) | 637 pass / 0 fail | +| Core (full rerun after video test fix) | 7,780 pass / 16 skip / 11 fail, all known GitLab OAuth cases because port 8080 is occupied on `shuvdev` | +| Core video jobs | Base suite passed (3/3); the replaced upstream wait test timed out in the full suite and once in 10 isolated repeats before the fix; both video tests passed all 10 repeats afterward (20/20) | +| TUI | 1,757 pass / 2 skip / 0 fail; both known dialog-shell-output cases passed this run | +| CLI | Initial run: 513 pass / 7 skip / 1 fail. The launcher path assertion also failed on `a2fcac9f67`: `$HOME/.cache` resolves to `/mnt/data/cache` on this host. With a canonical private temp path, `launcher.test.ts` passed on both base and sync (6/6 each). No CLI change for this host issue. | +| Server | 143 pass / 1 skip / 0 fail | +| AI | 2,292 pass / 29 skip / 0 fail | +| Code Mode | 1,692 pass / 0 fail | +| Schema / Protocol / Util / Plugin | 95 / 14 / 156 / 38 pass, 0 fail | +| App unit / browser | 2,774 / 359 pass, 0 fail | +| App built e2e, changed specs | 109 pass (`home`, `tabs`, `timeline-cache`), four workers, existing system Chromium using a short private `TMPDIR` for its Unix socket. Full e2e remains the CI gate. | +| Session UI | 617 pass / 0 fail | +| Antigravity / Claude / Quota plugins | 90 / 43 / 37 pass, 0 fail | + +The `chore(sync)` title gates GitHub's `unit` and `e2e` jobs; `typecheck` runs separately on the PR. No merge or publish was performed. + +## Rat-stack pages followed + +- [`scopes-own-resources`](https://ratstack.sh/lore/scopes-own-resources): keep tool activity acquired and released within the invocation scope. +- [`cache-completed-values`](https://ratstack.sh/lore/cache-completed-values): keep complete catalog values in the synchronous registry cache, not in-flight executions. +- [`concurrent-work-needs-an-owner`](https://ratstack.sh/lore/concurrent-work-needs-an-owner): bound validation concurrency and retain upstream background-job ownership. +- [`testing-ladder`](https://ratstack.sh/lore/testing-ladder): check focused behavior first, then full suites and the CI gate. +- [`tests-that-earn-their-place`](https://ratstack.sh/lore/tests-that-earn-their-place): preserve independent behavioral checks and supply the enlarged interfaces through test layers. +- [`investigate-a-failure`](https://ratstack.sh/skills/investigate-a-failure): isolate the host path mismatch and the upstream video wait against the pinned fork base. diff --git a/package.json b/package.json index 69ece8b01574..4474349dc21c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/package.json", "name": "opencode", "description": "AI-powered development tool", - "version": "2.3.1", + "version": "2.3.2", "private": true, "type": "module", "packageManager": "bun@1.4.4", diff --git a/packages/ai/package.json b/packages/ai/package.json index 7214d2c3d1ba..d4bea63b84ec 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/package.json", - "version": "2.3.1", + "version": "2.3.2", "name": "@opencode/ai", "type": "module", "license": "MIT", diff --git a/packages/ai/src/decision.ts b/packages/ai/src/decision.ts index 216c86235744..c6cf338b0ecc 100644 --- a/packages/ai/src/decision.ts +++ b/packages/ai/src/decision.ts @@ -5,7 +5,7 @@ import { tryRequest } from "./media-model.js" import { AIError, type BaseRequest, - type HttpOptions, + type TransportOptions, ModelID, ProviderID, ProviderMetadata, @@ -200,7 +200,8 @@ export class DecisionModel { readonly id: ModelID readonly provider: ProviderID readonly route: DecisionModelRoute - readonly http?: HttpOptions + /** Deployment headers, timeouts and `http` overlays, below each request's own. */ + readonly transport?: TransportOptions readonly compatibility?: DecisionModelCompatibility /** Defaults under each request's `providerOptions`, such as options a provider package reads from its settings. */ readonly providerOptions?: ProviderOptions @@ -209,7 +210,7 @@ export class DecisionModel { this.id = input.id this.provider = input.provider this.route = input.route - this.http = input.http + this.transport = input.transport this.compatibility = input.compatibility this.providerOptions = input.providerOptions } @@ -228,7 +229,7 @@ export namespace DecisionModel { readonly id: ModelID readonly provider: ProviderID readonly route: DecisionModelRoute - readonly http?: HttpOptions + readonly transport?: TransportOptions readonly compatibility?: DecisionModelCompatibility readonly providerOptions?: ProviderOptions } diff --git a/packages/ai/src/embedding.ts b/packages/ai/src/embedding.ts index a8039fb94691..940fdc006330 100644 --- a/packages/ai/src/embedding.ts +++ b/packages/ai/src/embedding.ts @@ -5,7 +5,7 @@ import { tryRequest } from "./media-model.js" import { type AIError, type BaseRequest, - type HttpOptions, + type TransportOptions, ModelID, ProviderID, ProviderMetadata, @@ -38,7 +38,10 @@ export type EmbeddingOptions = Record /** What an embedding model's route does; `EmbeddingRoute.make(...).model(...)` builds one from a protocol. */ export interface EmbeddingModelRoute { readonly id: string - generate(request: EmbeddingRequest>, execute: Execute): Effect.Effect + generate( + request: EmbeddingRequest>, + execute: Execute, + ): Effect.Effect } export class EmbeddingModel { @@ -46,7 +49,8 @@ export class EmbeddingModel readonly id: ModelID readonly provider: ProviderID readonly route: EmbeddingModelRoute - readonly http?: HttpOptions + /** Deployment headers, timeouts and `http` overlays, below each request's own. */ + readonly transport?: TransportOptions /** Defaults under each request's `providerOptions`, such as options a provider package reads from its settings. */ readonly providerOptions?: ProviderOptions @@ -54,7 +58,7 @@ export class EmbeddingModel this.id = input.id this.provider = input.provider this.route = input.route - this.http = input.http + this.transport = input.transport this.providerOptions = input.providerOptions } @@ -72,7 +76,7 @@ export namespace EmbeddingModel { readonly id: ModelID readonly provider: ProviderID readonly route: EmbeddingModelRoute - readonly http?: HttpOptions + readonly transport?: TransportOptions readonly providerOptions?: ProviderOptions } diff --git a/packages/ai/src/experimental/cloudflare-run-extraction.ts b/packages/ai/src/experimental/cloudflare-run-extraction.ts index a6e1752c02a5..b8f8c7359ed9 100644 --- a/packages/ai/src/experimental/cloudflare-run-extraction.ts +++ b/packages/ai/src/experimental/cloudflare-run-extraction.ts @@ -99,14 +99,13 @@ export const model = (input: MediaRoute.ModelInput) => new ExtractionModel({ id: input.id, provider: route.provider, - http: input.http, + transport: input.transport, route: MediaRoute.inline({ protocol, endpoint: Endpoint.path(({ request }) => `/${request.model.id}`, { baseURL: input.baseURL, }), auth: input.auth, - headers: input.headers, }), }) diff --git a/packages/ai/src/experimental/realtime.ts b/packages/ai/src/experimental/realtime.ts index 2ac3e6bfdeea..a8ee20d0e0c9 100644 --- a/packages/ai/src/experimental/realtime.ts +++ b/packages/ai/src/experimental/realtime.ts @@ -1,7 +1,7 @@ import { Clock, Effect, Redacted, Schema } from "effect" import { HttpClientRequest } from "effect/http" import { RequestExecutor } from "../route/executor.js" -import { AIError, InvalidProviderOutputError, InvalidRequestError } from "../schema/index.js" +import { AIError, InvalidProviderOutputError, InvalidRequestError, type RequestTimeout } from "../schema/index.js" import { encodeJson } from "../utils/json.js" const OPENAI_BASE_URL = "https://api.openai.com/v1" @@ -27,6 +27,7 @@ export interface RealtimeConnectInput { readonly baseURL?: string /** Headers that host needs besides the API key, such as OpenCode's workspace. */ readonly headers?: Readonly> + readonly timeout?: RequestTimeout readonly session?: RealtimeSession readonly transport: RealtimeTransportInput } @@ -69,16 +70,23 @@ export const connect = Effect.fn("Realtime.connect")(function* (input: RealtimeC input.apiKey, { session, transport: input.transport }, LiveSessionResponse, - { headers: input.headers }, + { headers: input.headers, timeout: input.timeout }, ) return { type: "webrtc" as const, sdp: data.transport.sdp } } case "openai-realtime": { if (input.transport.type === "websocket") - return yield* clientSecret(resolved.id, OPENAI_BASE_URL, input.model, input.apiKey, { - expires_after: { anchor: "created_at", seconds: 60 }, - session, - }) + return yield* clientSecret( + resolved.id, + OPENAI_BASE_URL, + input.model, + input.apiKey, + { + expires_after: { anchor: "created_at", seconds: 60 }, + session, + }, + input.timeout, + ) const form = new FormData() form.append("sdp", input.transport.sdp) form.append("session", encodeJson(session)) @@ -89,13 +97,21 @@ export const connect = Effect.fn("Realtime.connect")(function* (input: RealtimeC input.apiKey, form, Schema.String, + { timeout: input.timeout }, ) return { type: "webrtc" as const, sdp } } case "xai-realtime": - return yield* clientSecret(resolved.id, XAI_BASE_URL, input.model, input.apiKey, { - expires_after: { seconds: 60 }, - }) + return yield* clientSecret( + resolved.id, + XAI_BASE_URL, + input.model, + input.apiKey, + { + expires_after: { seconds: 60 }, + }, + input.timeout, + ) case "gemini-live": { const now = yield* Clock.currentTimeMillis const expiresAt = now + 60_000 @@ -110,7 +126,7 @@ export const connect = Effect.fn("Realtime.connect")(function* (input: RealtimeC bidiGenerateContentSetup: { ...input.session, model: `models/${input.model}` }, }, AuthTokenResponse, - { authHeader: "x-goog-api-key" }, + { authHeader: "x-goog-api-key", timeout: input.timeout }, ) return { type: "websocket" as const, @@ -158,11 +174,18 @@ const post = ( apiKey: Redacted.Redacted, body: Record | FormData, response: Schema.Codec, - options: { readonly authHeader?: string; readonly headers?: Readonly> } = {}, + options: { + readonly authHeader?: string + readonly headers?: Readonly> + readonly timeout?: RequestTimeout + } = {}, ) => Effect.gen(function* () { const executor = yield* RequestExecutor.Service - const res = yield* executor.execute( + const res = yield* RequestExecutor.withTimeout( + executor.execute, + options.timeout, + )( HttpClientRequest.post(url).pipe( HttpClientRequest.setHeaders(options.headers ?? {}), options.authHeader @@ -176,7 +199,7 @@ const post = ( const http = RequestExecutor.responseHttp(res) const fail = (message: string, cause?: unknown, raw?: string) => new AIError({ reason: new InvalidProviderOutputError({ route, message, body: raw, http, cause }) }) - const text = yield* res.text.pipe(Effect.mapError((cause) => fail(`Failed to read ${route} response`, cause))) + const text = yield* RequestExecutor.responseText(res) return yield* Schema.decodeEffect(response)(text).pipe( Effect.mapError((cause) => fail(`${route} returned an invalid response`, cause, text)), ) @@ -188,8 +211,9 @@ const clientSecret = ( model: string, apiKey: Redacted.Redacted, body: Record, + timeout?: RequestTimeout, ) => - post(route, `${baseURL}/realtime/client_secrets`, apiKey, body, ClientSecretResponse).pipe( + post(route, `${baseURL}/realtime/client_secrets`, apiKey, body, ClientSecretResponse, { timeout }).pipe( Effect.map( (data): RealtimeTransport => ({ type: "websocket", diff --git a/packages/ai/src/image.ts b/packages/ai/src/image.ts index 30fed94c4532..0f199e81b39f 100644 --- a/packages/ai/src/image.ts +++ b/packages/ai/src/image.ts @@ -47,7 +47,7 @@ export class ImageModel extends Med return new ImageModel({ id: input.id, provider: route.protocol.provider, - http: input.http, + transport: input.transport, providerOptions: input.providerOptions, route: composeRoute(route, input, collectResponse) as ImageRoute, }) diff --git a/packages/ai/src/media-model.ts b/packages/ai/src/media-model.ts index 64c0c9470e5a..ef54de99b1b0 100644 --- a/packages/ai/src/media-model.ts +++ b/packages/ai/src/media-model.ts @@ -7,12 +7,12 @@ import { InvalidRequestError, ModelID, ProviderID, - type HttpOptions, type ProviderOptions, + type TransportOptions, } from "./schema/index.js" /** - * What every media model carries: ids, the configured route, and deployment `http` overlays. Modality classes + * What every media model carries: ids, the configured route, and deployment transport overlays. Modality classes * (`ImageModel`, `VideoModel`, `SpeechModel`, `TranscriptionModel`) extend it with their route type and a nominal * marker so one cannot stand in for the other in requests. */ @@ -23,7 +23,8 @@ export class MediaModel { readonly id: ModelID readonly provider: ProviderID readonly route: Route - readonly http?: HttpOptions + /** Deployment headers, timeouts and `http` overlays, below each request's own. */ + readonly transport?: TransportOptions /** Defaults under each request's `providerOptions`, such as options a provider package reads from its settings. */ readonly providerOptions?: ProviderOptions @@ -31,7 +32,7 @@ export class MediaModel { this.id = ModelID.make(input.id) this.provider = ProviderID.make(input.provider) this.route = input.route - this.http = input.http + this.transport = input.transport this.providerOptions = input.providerOptions } } @@ -43,7 +44,7 @@ export namespace MediaModel { readonly id: string | ModelID readonly provider: string | ProviderID readonly route: Route - readonly http?: HttpOptions + readonly transport?: TransportOptions readonly providerOptions?: ProviderOptions } @@ -101,8 +102,7 @@ const composition = ( protocol: route.protocol, endpoint: Endpoint.path(route.path, { baseURL: input.baseURL ?? route.baseURL }), auth: input.auth, - headers: - route.headers === undefined && input.headers === undefined ? undefined : { ...route.headers, ...input.headers }, + headers: route.headers, }) const isStreamInput = ( diff --git a/packages/ai/src/media.ts b/packages/ai/src/media.ts index 0a675c368ad8..75c4ce62e709 100644 --- a/packages/ai/src/media.ts +++ b/packages/ai/src/media.ts @@ -4,9 +4,15 @@ import { Effect, FileSystem, Result, Schema, SchemaGetter, Stream } from "effect import { Base64 } from "effect/encoding" import { HttpClientRequest } from "effect/http" import { ProviderID } from "./schema/ids.js" -import { AIError, InvalidProviderOutputError, InvalidRequestError } from "./schema/errors.js" +import { AIError, InvalidRequestError } from "./schema/errors.js" import { ProviderMetadata } from "./schema/options.js" -import { CurrentMiddleware, type HttpMiddleware, responseHttp, Service } from "./route/executor-service.js" +import { + CurrentMiddleware, + type HttpMiddleware, + responseBytes, + responseStream, + Service, +} from "./route/executor-service.js" import { detectMediaType, fileMediaType } from "./utils/media-type.js" export { detectMediaType } from "./utils/media-type.js" @@ -271,19 +277,7 @@ const download = Effect.fn("Media.download")(function* ( const response = yield* executor .execute(HttpClientRequest.get(source.url).pipe(HttpClientRequest.setHeaders(headers ?? {}))) .pipe(Effect.provideService(CurrentMiddleware, middleware)) - const buffer = yield* response.arrayBuffer.pipe( - Effect.mapError( - (cause) => - new AIError({ - reason: new InvalidProviderOutputError({ - message: `Failed to read media from ${source.url}`, - http: responseHttp(response), - cause, - }), - }), - ), - ) - return new Uint8Array(buffer) + return yield* responseBytes(response) }) const downloadStream = Effect.fn("Media.downloadStream")(function* ( @@ -295,18 +289,7 @@ const downloadStream = Effect.fn("Media.downloadStream")(function* ( const response = yield* executor .execute(HttpClientRequest.get(source.url).pipe(HttpClientRequest.setHeaders(headers ?? {}))) .pipe(Effect.provideService(CurrentMiddleware, middleware)) - return response.stream.pipe( - Stream.mapError( - (cause) => - new AIError({ - reason: new InvalidProviderOutputError({ - message: `Failed to read media from ${source.url}`, - http: responseHttp(response), - cause, - }), - }), - ), - ) + return responseStream(response) }) // --------------------------------------------------------------------------- diff --git a/packages/ai/src/protocols/minimax-video.ts b/packages/ai/src/protocols/minimax-video.ts index 969e28491d9a..381f5b6ba8d1 100644 --- a/packages/ai/src/protocols/minimax-video.ts +++ b/packages/ai/src/protocols/minimax-video.ts @@ -183,6 +183,13 @@ const fromRequest = Effect.fn("MiniMaxVideo.fromRequest")(function* (request: Re ...(request.end === undefined ? [] : [yield* item(request.end, "last_frame")]), ...(yield* Effect.forEach(request.references ?? [], reference)), ] + // H3 rejects a t2va (text-only) request without a concrete `ratio`, so `auto` and unset default to `16:9`. + const ratio = + content.length === 1 && (request.aspect === undefined || request.aspect === "auto") + ? "16:9" + : request.aspect === "auto" + ? "adaptive" + : request.aspect return MediaProtocol.json( mergeJsonRecords( { @@ -190,7 +197,7 @@ const fromRequest = Effect.fn("MiniMaxVideo.fromRequest")(function* (request: Re content, resolution: resolution(request), duration: request.duration === undefined ? undefined : seconds(request.duration), - ratio: request.aspect === "auto" ? "adaptive" : request.aspect, + ratio, }, request.providerOptions, request.http?.body, diff --git a/packages/ai/src/protocols/open-responses-continuation.ts b/packages/ai/src/protocols/open-responses-continuation.ts index 3b65714267d2..38be95c4cd19 100644 --- a/packages/ai/src/protocols/open-responses-continuation.ts +++ b/packages/ai/src/protocols/open-responses-continuation.ts @@ -87,6 +87,8 @@ const comparable = (value: unknown) => { name: value.name, arguments: json(value.arguments), } + if (value.type === "custom_tool_call") + return { type: value.type, call_id: value.call_id, name: value.name, input: value.input } if (value.type === "reasoning") return { type: value.type, diff --git a/packages/ai/src/protocols/open-responses.ts b/packages/ai/src/protocols/open-responses.ts index 9606df4d7231..d9589a3fcd24 100644 --- a/packages/ai/src/protocols/open-responses.ts +++ b/packages/ai/src/protocols/open-responses.ts @@ -656,7 +656,7 @@ const lowerToolResultOutput = Effect.fnUntraced(function* ( const DEFAULT_EFFORT = "medium" -const lowerMessages = Effect.fnUntraced(function* (request: LLMRequest, adapter: ProviderAdapter) { +export const lowerMessages = Effect.fnUntraced(function* (request: LLMRequest, adapter: ProviderAdapter) { const input: OpenResponsesInputItem[] = [] const providerMetadataKey = metadataKey(request.model) const custom = OpenAIFreeform.tools(request) @@ -830,12 +830,15 @@ const lowerMessages = Effect.fnUntraced(function* (request: LLMRequest, adapter: return input }) +// The system prompt leads `input` as a developer message: GPT-6.2 models never cache top-level `instructions`. export const lowerConversation = Effect.fnUntraced(function* (request: LLMRequest, adapter: ProviderAdapter) { - const instructions = ProviderShared.joinText(request.system) + const system = ProviderShared.joinText(request.system) return { model: request.model.id, - input: yield* lowerMessages(request, adapter), - ...(instructions ? { instructions } : {}), + input: [ + ...(system ? [{ type: "message" as const, role: "developer" as const, content: system }] : []), + ...(yield* lowerMessages(request, adapter)), + ], } }) diff --git a/packages/ai/src/protocols/openai-responses.ts b/packages/ai/src/protocols/openai-responses.ts index 00a0dbfcd834..94aa075f39a2 100644 --- a/packages/ai/src/protocols/openai-responses.ts +++ b/packages/ai/src/protocols/openai-responses.ts @@ -316,7 +316,7 @@ const fromRequest = Effect.fn("OpenAIResponses.fromRequest")(function* (request: lowerToolChanges: toolChangeLowering(layout.head.length > 0, custom), }) return { - ...conversation, + model: conversation.model, input: [...layout.head, ...conversation.input], ...generation, ...Cache.openAIRequestTTL(requestTTL(request)), diff --git a/packages/ai/src/protocols/utils/responses-compaction.ts b/packages/ai/src/protocols/utils/responses-compaction.ts index b096f3145471..f8cc315d13b8 100644 --- a/packages/ai/src/protocols/utils/responses-compaction.ts +++ b/packages/ai/src/protocols/utils/responses-compaction.ts @@ -1,4 +1,4 @@ -import { Effect, Schema, Stream } from "effect" +import { Effect, Schema } from "effect" import { AIError, InvalidProviderOutputError, @@ -76,6 +76,8 @@ const Response = Schema.Struct({ role: Schema.Literal("assistant"), content: Schema.Array(Text).check(Schema.isMinLength(1)), }), + // The system prompt sent as a developer message, echoed back; the next request leads with its own. + Schema.Struct({ ...MessageFields, role: Schema.Literal("developer"), content: Schema.Unknown }), ]), ), usage: Schema.optional(Schema.StructWithRest(OpenResponses.OpenResponsesUsage, [JsonObject])), @@ -91,6 +93,8 @@ export const make = ( // top-level `tools`: after compacting a history whose tools were only in `additional_tools`, small models lost // track of them more often. const folded = foldToolUpdates(stripEffortUpdates(request)) + // The system prompt leads `input` as a developer message, as every step's request does, so `/compact` reads the + // prefix those requests cached. const native = yield* OpenResponses.lowerConversation(folded, adapter) const generation = OpenResponses.lowerGeneration(request) const tools = folded.tools.length === 0 ? undefined : yield* lowerTools(folded) @@ -121,7 +125,10 @@ export const make = ( auth: route.auth, encodeBody: Schema.encodeSync(Schema.fromJsonString(Body)), }) - const response = yield* RequestExecutor.withTls(executor.execute, request.http?.tls)( + const response = yield* RequestExecutor.withTimeout( + RequestExecutor.withTls(executor.execute, request.http?.tls), + request.timeout, + )( ProviderShared.jsonPost({ url: parts.url, body: parts.bodyText, @@ -130,13 +137,7 @@ export const make = ( }), RequestExecutor.withFetch(request.fetch, options?.http), ) - const text = yield* RequestExecutor.responseStream(response).pipe( - Stream.decodeText(), - Stream.runFold( - () => "", - (text, chunk) => text + chunk, - ), - ) + const text = yield* RequestExecutor.responseText(response) const invalid = (message: string, cause?: unknown) => new AIError({ reason: new InvalidProviderOutputError({ @@ -153,12 +154,16 @@ export const make = ( if (!result.output.some((item) => item.type === "compaction")) return yield* invalid("Compaction response did not contain a checkpoint") return new CompactionResponse({ - replacement: result.output.map((item) => toMessage(item, request.model)), + replacement: result.output + .filter((item): item is Output => item.type !== "message" || item.role !== "developer") + .map((item) => toMessage(item, request.model)), usage: OpenResponses.mapUsage(result.usage, OpenResponses.metadataKey(request.model)), }) }) -function toMessage(item: (typeof Response.Type.output)[number], model: LLMRequest["model"]): Message { +type Output = Exclude<(typeof Response.Type.output)[number], { readonly role: "developer" }> + +function toMessage(item: Output, model: LLMRequest["model"]): Message { if (item.type === "compaction") return Message.assistant( CompactionPart.make({ provider: model.provider, id: item.id ?? undefined, encrypted: item.encrypted_content }), diff --git a/packages/ai/src/protocols/utils/responses-hosted-tools.ts b/packages/ai/src/protocols/utils/responses-hosted-tools.ts index 706a7f6e7b44..88458b876ce1 100644 --- a/packages/ai/src/protocols/utils/responses-hosted-tools.ts +++ b/packages/ai/src/protocols/utils/responses-hosted-tools.ts @@ -72,35 +72,33 @@ export const onDone: ( state: OpenResponses.ParserState, item: Item, tools: Definitions, -) => Effect.Effect = Effect.fnUntraced( - function* (state, item, tools) { - const tool = tools[item.type] - if (!tool) return [state, []] satisfies OpenResponses.StepResult - const providerMetadata = OpenResponses.providerMetadata(state, { itemId: item.id }) - const events: LLMEvent[] = [] - const lifecycle = Lifecycle.stepStart(state.lifecycle, events) - events.push( - LLMEvent.toolCall({ - id: item.id, - name: tool.name, - input: tool.input(item), - providerExecuted: true, - providerMetadata, - }), - LLMEvent.toolResult({ - id: item.id, - name: tool.name, - result: tool.result - ? yield* tool.result(item) - : item.error !== undefined && item.error !== null - ? { type: "error", value: item.error } - : { type: "json", value: item }, - providerExecuted: true, - providerMetadata, - }), - ) - return [{ ...state, lifecycle }, events] satisfies OpenResponses.StepResult - }, -) +) => Effect.Effect = Effect.fnUntraced(function* (state, item, tools) { + const tool = tools[item.type] + if (!tool) return [state, []] satisfies OpenResponses.StepResult + const providerMetadata = OpenResponses.providerMetadata(state, { itemId: item.id }) + const events: LLMEvent[] = [] + const lifecycle = Lifecycle.stepStart(state.lifecycle, events) + events.push( + LLMEvent.toolCall({ + id: item.id, + name: tool.name, + input: tool.input(item), + providerExecuted: true, + providerMetadata, + }), + LLMEvent.toolResult({ + id: item.id, + name: tool.name, + result: tool.result + ? yield* tool.result(item) + : item.error !== undefined && item.error !== null + ? { type: "error", value: item.error } + : { type: "json", value: item }, + providerExecuted: true, + providerMetadata, + }), + ) + return [{ ...state, lifecycle }, events] satisfies OpenResponses.StepResult +}) export * as ResponsesHostedTools from "./responses-hosted-tools.js" diff --git a/packages/ai/src/providers/alibaba.ts b/packages/ai/src/providers/alibaba.ts index dc6c50fb19a4..d73f2481b491 100644 --- a/packages/ai/src/providers/alibaba.ts +++ b/packages/ai/src/providers/alibaba.ts @@ -11,6 +11,7 @@ import { Endpoint } from "../route/endpoint.js" import { Framing } from "../route/framing.js" import { MediaRoute } from "../route/media.js" import { + mergeTransport, ProviderConfigurationError, ProviderID, ToolDefinition, @@ -123,8 +124,7 @@ export const configure = (input: Config) => { provider: id, endpoint: common.endpoint, auth: opts.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) const embedding = (id: string | ModelID, providerOptions?: ProviderOptions) => embeddingRoute.model({ id, providerOptions }) diff --git a/packages/ai/src/providers/assemblyai.ts b/packages/ai/src/providers/assemblyai.ts index 73b3dfd18083..e8dcecc9aec0 100644 --- a/packages/ai/src/providers/assemblyai.ts +++ b/packages/ai/src/providers/assemblyai.ts @@ -1,19 +1,18 @@ import { Auth } from "../route/auth.js" import { AuthOptions, type ProviderAuthOption } from "../route/auth-options.js" import { MediaRoute } from "../route/media.js" -import { type HttpOptions, ProviderID, type ModelID } from "../schema/index.js" +import { ProviderID, type ModelID, type TransportOptions } from "../schema/index.js" import { AssemblyAITranscription } from "../protocols/assemblyai-transcription.js" export type { AssemblyAITranscriptionOptions } from "../protocols/assemblyai-transcription.js" export const id = ProviderID.make("assemblyai") -export type Config = ProviderAuthOption<"optional"> & { - /** `https://api.eu.assemblyai.com` for the EU region. */ - readonly baseURL?: string - readonly headers?: Record - readonly http?: HttpOptions -} +export type Config = TransportOptions & + ProviderAuthOption<"optional"> & { + /** `https://api.eu.assemblyai.com` for the EU region. */ + readonly baseURL?: string + } // The key is the whole `authorization` value, without a scheme. const auth = (options: ProviderAuthOption<"optional">) => diff --git a/packages/ai/src/providers/azure.ts b/packages/ai/src/providers/azure.ts index cfa400145c12..e14b81dc5db8 100644 --- a/packages/ai/src/providers/azure.ts +++ b/packages/ai/src/providers/azure.ts @@ -5,6 +5,7 @@ import { Endpoint } from "../route/endpoint.js" import type { ProviderPackage } from "../provider-package.js" import { MediaRoute } from "../route/media.js" import { + mergeTransport, ProviderConfigurationError, ProviderID, type ModelID, @@ -158,14 +159,9 @@ export const configure = (input: Config) => { const image = (modelID: string | ModelID, providerOptions?: ProviderOptions) => { const target = endpoint(input, modelID) - const media = MediaRoute.deployment({ ...input, baseURL: target.baseURL }, auth(input)) - return OpenAIImages.model({ - ...media, - id: modelID, - provider: id, - providerOptions, - http: { ...media.http, query: { ...media.http?.query, ...target.query } }, - }) + const transport = mergeTransport(input, { http: { query: target.query } }) + const media = MediaRoute.deployment({ ...transport, baseURL: target.baseURL }, auth(input)) + return OpenAIImages.model({ ...media, id: modelID, provider: id, providerOptions }) } const embedding = (modelID: string | ModelID, providerOptions?: ProviderOptions) => @@ -174,8 +170,7 @@ export const configure = (input: Config) => { provider: id, endpoint: endpoint(input, modelID), auth: auth(input), - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) .model({ id: modelID, providerOptions }) diff --git a/packages/ai/src/providers/baseten.ts b/packages/ai/src/providers/baseten.ts index f9e4185a16b4..b410706171ce 100644 --- a/packages/ai/src/providers/baseten.ts +++ b/packages/ai/src/providers/baseten.ts @@ -6,7 +6,7 @@ import type { ProviderAuthOption } from "../route/auth-options.js" import { Route } from "../route/client.js" import { DecisionRoute } from "../route/decision.js" import { Endpoint } from "../route/endpoint.js" -import { ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" +import { mergeTransport, ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" import type { OpenAIProviderOptionsInput } from "./openai-options.js" import { bearerRouteDefaults, toConfig } from "./settings.js" @@ -63,8 +63,7 @@ export const configure = (input: Config = {}) => { protocol: decisionProtocol, endpoint: Endpoint.path("/systemone", { baseURL: options.endpoint.baseURL }), auth: options.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) const decision = (modelID: string | ModelID, providerOptions?: ProviderOptions) => decisionRoute.model({ id: modelID, providerOptions }) diff --git a/packages/ai/src/providers/byteplus.ts b/packages/ai/src/providers/byteplus.ts index b710bfe1eff7..d35f6158ad40 100644 --- a/packages/ai/src/providers/byteplus.ts +++ b/packages/ai/src/providers/byteplus.ts @@ -2,16 +2,15 @@ import type { ProviderPackage } from "../provider-package.js" import { SeedanceVideo } from "../protocols/seedance-video.js" import { AuthOptions, type ProviderAuthOption } from "../route/auth-options.js" import { MediaRoute } from "../route/media.js" -import { type HttpOptions, ProviderID, type ModelID, type ProviderOptions } from "../schema/index.js" +import { ProviderID, type ModelID, type ProviderOptions, type TransportOptions } from "../schema/index.js" import { toConfig } from "./settings.js" export const id = ProviderID.make("byteplus") -export type Config = ProviderAuthOption<"optional"> & { - readonly baseURL?: string - readonly headers?: Record - readonly http?: HttpOptions -} +export type Config = TransportOptions & + ProviderAuthOption<"optional"> & { + readonly baseURL?: string + } export type Settings = ProviderPackage.Settings & { readonly apiKey?: string | false diff --git a/packages/ai/src/providers/cartesia.ts b/packages/ai/src/providers/cartesia.ts index 97fa8006fe34..7931166d84ba 100644 --- a/packages/ai/src/providers/cartesia.ts +++ b/packages/ai/src/providers/cartesia.ts @@ -1,17 +1,16 @@ import { AuthOptions, type ProviderAuthOption } from "../route/auth-options.js" import { MediaRoute } from "../route/media.js" -import { type HttpOptions, ProviderID, type ModelID } from "../schema/index.js" +import { ProviderID, type ModelID, type TransportOptions } from "../schema/index.js" import { CartesiaSpeech } from "../protocols/cartesia-speech.js" export type { CartesiaEncoding, CartesiaSpeechOptions } from "../protocols/cartesia-speech.js" export const id = ProviderID.make("cartesia") -export type Config = ProviderAuthOption<"optional"> & { - readonly baseURL?: string - readonly headers?: Record - readonly http?: HttpOptions -} +export type Config = TransportOptions & + ProviderAuthOption<"optional"> & { + readonly baseURL?: string + } const auth = (options: ProviderAuthOption<"optional">) => AuthOptions.bearer(options, "CARTESIA_API_KEY") diff --git a/packages/ai/src/providers/cloudflare-ai-gateway.ts b/packages/ai/src/providers/cloudflare-ai-gateway.ts index 09ce25a36d79..179521203d66 100644 --- a/packages/ai/src/providers/cloudflare-ai-gateway.ts +++ b/packages/ai/src/providers/cloudflare-ai-gateway.ts @@ -4,7 +4,7 @@ import { CloudflareRunDecisions } from "../protocols/cloudflare-run-decisions.js import { AnthropicMessages, OpenAIChat, OpenAIResponses } from "../protocols/index.js" import { Auth } from "../route/auth.js" import { AuthOptions, type AtLeastOne, type ProviderAuthOption } from "../route/auth-options.js" -import { ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" +import { mergeTransport, ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" import { encodeJson } from "../utils/json.js" import type { OpenAIProviderOptionsInput } from "./openai-options.js" import { CloudflareShared } from "./cloudflare-shared.js" @@ -96,6 +96,7 @@ export const configure = (input: Config) => { endpoint: { baseURL: baseURL(input) }, auth: custom ?? credential(input, (credential) => credential.bearer()), headers: { "cf-aig-gateway-id": gatewayId(input), ...headers(input) }, + timeout: input.timeout, http: input.http, providerOptions: input.providerOptions, } @@ -130,8 +131,7 @@ export const configure = (input: Config) => { provider: id, endpoint: { baseURL: runBaseURL(input) }, auth: rest.auth, - headers: rest.headers, - http: input.http, + ...mergeTransport(input, { headers: rest.headers }), }) .model({ id: value, providerOptions }) return { diff --git a/packages/ai/src/providers/cloudflare-workers-ai.ts b/packages/ai/src/providers/cloudflare-workers-ai.ts index def5db10bca9..ddfb2efd9903 100644 --- a/packages/ai/src/providers/cloudflare-workers-ai.ts +++ b/packages/ai/src/providers/cloudflare-workers-ai.ts @@ -7,7 +7,7 @@ import { AuthOptions, type AtLeastOne, type ProviderAuthOption } from "../route/ import { Route } from "../route/client.js" import { Endpoint } from "../route/endpoint.js" import { MediaRoute } from "../route/media.js" -import { ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" +import { mergeTransport, ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" import type { OpenAIProviderOptionsInput } from "./openai-options.js" import { CloudflareShared } from "./cloudflare-shared.js" @@ -61,8 +61,7 @@ export const configure = (input: Config) => { provider: id, endpoint: { baseURL: runBaseURL(input) }, auth: auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) .model({ id: modelID, providerOptions }) return { diff --git a/packages/ai/src/providers/cohere.ts b/packages/ai/src/providers/cohere.ts index 89e40795013a..eee00d4055d6 100644 --- a/packages/ai/src/providers/cohere.ts +++ b/packages/ai/src/providers/cohere.ts @@ -4,7 +4,7 @@ import { OpenAIEmbeddings } from "../protocols/openai-embeddings.js" import { Route } from "../route/client.js" import { Endpoint } from "../route/endpoint.js" import type { ProviderAuthOption } from "../route/auth-options.js" -import { ProviderID, type ModelID, type OpenString, type RequestOptions } from "../schema/index.js" +import { mergeTransport, ProviderID, type ModelID, type OpenString, type RequestOptions } from "../schema/index.js" import type { ProviderPackage } from "../provider-package.js" import { bearerRouteDefaults, toConfig } from "./settings.js" @@ -40,8 +40,7 @@ export const configure = (input: Config = {}) => { provider: id, endpoint: compatibility.endpoint, auth: options.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) return { id, diff --git a/packages/ai/src/providers/deepgram.ts b/packages/ai/src/providers/deepgram.ts index 390d73ea6369..643896a1f552 100644 --- a/packages/ai/src/providers/deepgram.ts +++ b/packages/ai/src/providers/deepgram.ts @@ -1,7 +1,7 @@ import { Auth } from "../route/auth.js" import { AuthOptions, type ProviderAuthOption } from "../route/auth-options.js" import { MediaRoute } from "../route/media.js" -import { type HttpOptions, ProviderID, type ModelID } from "../schema/index.js" +import { ProviderID, type ModelID, type TransportOptions } from "../schema/index.js" import { DeepgramSpeech } from "../protocols/deepgram-speech.js" import { DeepgramTranscription } from "../protocols/deepgram-transcription.js" @@ -10,11 +10,10 @@ export type { DeepgramTranscriptionOptions } from "../protocols/deepgram-transcr export const id = ProviderID.make("deepgram") -export type Config = ProviderAuthOption<"optional"> & { - readonly baseURL?: string - readonly headers?: Record - readonly http?: HttpOptions -} +export type Config = TransportOptions & + ProviderAuthOption<"optional"> & { + readonly baseURL?: string + } const auth = (options: ProviderAuthOption<"optional">) => AuthOptions.apiKey(options, "DEEPGRAM_API_KEY", Auth.scheme("Token")) diff --git a/packages/ai/src/providers/deepinfra.ts b/packages/ai/src/providers/deepinfra.ts index 0c2a1faaf45d..86f2bea00710 100644 --- a/packages/ai/src/providers/deepinfra.ts +++ b/packages/ai/src/providers/deepinfra.ts @@ -4,7 +4,7 @@ import { OpenAIEmbeddings } from "../protocols/openai-embeddings.js" import type { ProviderAuthOption } from "../route/auth-options.js" import { Route } from "../route/client.js" import { Endpoint } from "../route/endpoint.js" -import { ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" +import { mergeTransport, ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" import type { OpenAIProviderOptionsInput } from "./openai-options.js" import { bearerRouteDefaults, toConfig } from "./settings.js" @@ -47,8 +47,7 @@ export const configure = (input: Config = {}) => { provider: id, endpoint: options.endpoint, auth: options.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) return { id, diff --git a/packages/ai/src/providers/digitalocean.ts b/packages/ai/src/providers/digitalocean.ts index 6b52d4b9de14..42ef4df6f268 100644 --- a/packages/ai/src/providers/digitalocean.ts +++ b/packages/ai/src/providers/digitalocean.ts @@ -10,7 +10,7 @@ import { Route } from "../route/client.js" import { Endpoint } from "../route/endpoint.js" import { MediaRoute } from "../route/media.js" import { Protocol } from "../route/protocol.js" -import { ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" +import { mergeTransport, ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" import type { OpenAIProviderOptionsInput } from "./openai-options.js" import type { OpenResponsesProviderOptionsInput } from "./open-responses-options.js" import { bearerRouteDefaults } from "./settings.js" @@ -71,8 +71,7 @@ export const configure = (input: Config = {}) => { endpoint: options.endpoint, auth: options.auth, // DigitalOcean serves TypeSafe's Jev, which needs this header for images. - headers: { "TypeSafe-Danger-Zone-Images": "true", ...input.headers }, - http: input.http, + ...mergeTransport({ headers: { "TypeSafe-Danger-Zone-Images": "true" } }, input), }) const decision = (modelID: string | ModelID, providerOptions?: ProviderOptions) => decisionRoute.model({ id: modelID, providerOptions }) @@ -83,8 +82,7 @@ export const configure = (input: Config = {}) => { provider: id, endpoint: options.endpoint, auth: options.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) const embedding = (modelID: string | ModelID, providerOptions?: ProviderOptions) => embeddingRoute.model({ id: modelID, providerOptions }) diff --git a/packages/ai/src/providers/elevenlabs.ts b/packages/ai/src/providers/elevenlabs.ts index ea145b873e13..45bbe9535aef 100644 --- a/packages/ai/src/providers/elevenlabs.ts +++ b/packages/ai/src/providers/elevenlabs.ts @@ -1,7 +1,7 @@ import { Auth } from "../route/auth.js" import { AuthOptions, type ProviderAuthOption } from "../route/auth-options.js" import { MediaRoute } from "../route/media.js" -import { type HttpOptions, ProviderID, type ModelID } from "../schema/index.js" +import { ProviderID, type ModelID, type TransportOptions } from "../schema/index.js" import { ElevenLabsSpeech } from "../protocols/elevenlabs-speech.js" import { ElevenLabsTranscription } from "../protocols/elevenlabs-transcription.js" @@ -10,11 +10,10 @@ export type { ElevenLabsTranscriptionOptions } from "../protocols/elevenlabs-tra export const id = ProviderID.make("elevenlabs") -export type Config = ProviderAuthOption<"optional"> & { - readonly baseURL?: string - readonly headers?: Record - readonly http?: HttpOptions -} +export type Config = TransportOptions & + ProviderAuthOption<"optional"> & { + readonly baseURL?: string + } const auth = (options: ProviderAuthOption<"optional">) => AuthOptions.apiKey(options, "ELEVENLABS_API_KEY", Auth.header("xi-api-key")) diff --git a/packages/ai/src/providers/fireworks.ts b/packages/ai/src/providers/fireworks.ts index 7a19e8081eb5..12bd4d298144 100644 --- a/packages/ai/src/providers/fireworks.ts +++ b/packages/ai/src/providers/fireworks.ts @@ -4,7 +4,7 @@ import { OpenAIEmbeddings } from "../protocols/openai-embeddings.js" import type { ProviderAuthOption } from "../route/auth-options.js" import { Route } from "../route/client.js" import { Endpoint } from "../route/endpoint.js" -import { ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" +import { mergeTransport, ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" import type { OpenAIProviderOptionsInput } from "./openai-options.js" import { bearerRouteDefaults, toConfig } from "./settings.js" @@ -41,8 +41,7 @@ export const configure = (input: Config = {}) => { provider: id, endpoint: options.endpoint, auth: options.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) return { id, diff --git a/packages/ai/src/providers/google-vertex.ts b/packages/ai/src/providers/google-vertex.ts index 3edeec7baa6b..3d49c043f93a 100644 --- a/packages/ai/src/providers/google-vertex.ts +++ b/packages/ai/src/providers/google-vertex.ts @@ -15,6 +15,7 @@ import { EmbeddingRoute } from "../route/embedding.js" import { Endpoint } from "../route/endpoint.js" import { MediaRoute } from "../route/media.js" import { + mergeTransport, ProviderConfigurationError, ProviderID, type LLMRequest, @@ -183,7 +184,11 @@ export const configure = (input: Config = {}) => { message: "Google Vertex embedContent does not support Express Mode API keys; use project credentials", }) return selected.route - .with({ endpoint: target.endpoint, auth: target.auth, headers: input.headers, http: input.http }) + .with({ + endpoint: target.endpoint, + auth: target.auth, + ...mergeTransport(input), + }) .model({ id: modelID, providerOptions }) }, configure, diff --git a/packages/ai/src/providers/google.ts b/packages/ai/src/providers/google.ts index a1143b5ebb03..e597d03c6091 100644 --- a/packages/ai/src/providers/google.ts +++ b/packages/ai/src/providers/google.ts @@ -2,7 +2,7 @@ import { Auth } from "../route/auth.js" import { AuthOptions, type ProviderAuthOption } from "../route/auth-options.js" import { MediaRoute } from "../route/media.js" import type { ProviderPackage } from "../provider-package.js" -import { ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" +import { mergeTransport, ProviderID, type ModelID, type ProviderOptions, type RequestOptions } from "../schema/index.js" import { Gemini } from "../protocols/gemini.js" import { GoogleEmbedContent, @@ -63,8 +63,7 @@ export const configure = (input: Config = {}) => { provider: id, endpoint: { baseURL: input.baseURL }, auth: auth(input), - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) return { id, @@ -82,7 +81,11 @@ export const configure = (input: Config = {}) => { embeddingRoute.model({ id: modelID, providerOptions }), decision: (modelID: string | ModelID, providerOptions?: ProviderOptions) => GoogleDecisions.route - .with({ endpoint: { baseURL: media.baseURL }, auth: media.auth, headers: media.headers, http: media.http }) + .with({ + endpoint: { baseURL: media.baseURL }, + auth: media.auth, + ...media.transport, + }) .model({ id: modelID, providerOptions }), configure, } diff --git a/packages/ai/src/providers/openai-compatible.ts b/packages/ai/src/providers/openai-compatible.ts index 6f9d63463576..4ed3ee2c5f26 100644 --- a/packages/ai/src/providers/openai-compatible.ts +++ b/packages/ai/src/providers/openai-compatible.ts @@ -1,4 +1,5 @@ import { + mergeTransport, mergeProviderOptions, ProviderID, type ModelID, @@ -48,15 +49,13 @@ export const configure = (input: Config) => { provider, endpoint: { baseURL }, auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) const decisionRoute = SystemOne.route.with({ provider, endpoint: { baseURL }, auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) return { id: ProviderID.make(provider), diff --git a/packages/ai/src/providers/openai.ts b/packages/ai/src/providers/openai.ts index 04d347878abf..b36d2ffea0f1 100644 --- a/packages/ai/src/providers/openai.ts +++ b/packages/ai/src/providers/openai.ts @@ -3,6 +3,7 @@ import type { Route, CompactionOperations } from "../route/client.js" import { MediaRoute } from "../route/media.js" import type { ProviderPackage } from "../provider-package.js" import { + mergeTransport, ProviderID, ToolDefinition, type ModelID, @@ -109,11 +110,10 @@ export const configure = (input: Config = {}) => { id, capabilities: { promptCacheKey: true }, }) - const deployment = MediaRoute.deployment(input, auth(input)) - const media = { - ...deployment, - http: { ...deployment.http, query: { ...deployment.http?.query, ...input.queryParams } }, - } + const media = MediaRoute.deployment( + { ...mergeTransport(input, { http: { query: input.queryParams } }), baseURL: input.baseURL }, + auth(input), + ) // The ChatGPT backend (ChatGPT sign-in) rejects multipart image edits with "Unsupported content type". const imageInput = media.baseURL?.startsWith("https://chatgpt.com/") ? "json-edits" : undefined const image = (modelID: string | ModelID, providerOptions?: ProviderOptions) => @@ -123,16 +123,14 @@ export const configure = (input: Config = {}) => { const decisionRoute = OpenAIDecisions.route.with({ endpoint: { baseURL: media.baseURL }, auth: media.auth, - headers: media.headers, - http: media.http, + ...media.transport, }) const decision = (modelID: string | ModelID, providerOptions?: ProviderOptions) => decisionRoute.model({ id: modelID, providerOptions }) const embeddingRoute = OpenAIEmbeddings.route.with({ endpoint: { baseURL: media.baseURL }, auth: media.auth, - headers: media.headers, - http: media.http, + ...media.transport, }) const embedding = (modelID: string | ModelID, providerOptions?: ProviderOptions) => embeddingRoute.model({ id: modelID, providerOptions }) diff --git a/packages/ai/src/providers/opencode.ts b/packages/ai/src/providers/opencode.ts index 9616c5cbc8ad..64aa0d4f7060 100644 --- a/packages/ai/src/providers/opencode.ts +++ b/packages/ai/src/providers/opencode.ts @@ -1,4 +1,10 @@ -import { type HttpOptions, ProviderID, type ModelID, type ProviderOptions } from "../schema/index.js" +import { + mergeTransport, + ProviderID, + type ModelID, + type ProviderOptions, + type TransportOptions, +} from "../schema/index.js" import type { ProviderPackage } from "../provider-package.js" import { AuthOptions, type ProviderAuthOption } from "../route/auth-options.js" import { SystemOne } from "../protocols/system-one.js" @@ -7,11 +13,10 @@ import { toConfig } from "./settings.js" export const id = ProviderID.make("opencode") const baseURL = "https://opencode.ai/inference/systemone/v1" -export type Config = ProviderAuthOption<"optional"> & { - readonly baseURL?: string - readonly headers?: Record - readonly http?: HttpOptions -} +export type Config = TransportOptions & + ProviderAuthOption<"optional"> & { + readonly baseURL?: string + } export type Settings = ProviderPackage.Settings & { readonly apiKey?: string | false } @@ -22,8 +27,7 @@ export const configure = (input: Config = {}) => { endpoint: { baseURL: input.baseURL ?? baseURL }, auth: AuthOptions.bearer(input, "OPENCODE_API_KEY"), // Zen forwards TypeSafe's image opt-in header; text-only requests are unchanged with it. - headers: { "TypeSafe-Danger-Zone-Images": "true", ...input.headers }, - http: input.http, + ...mergeTransport({ headers: { "TypeSafe-Danger-Zone-Images": "true" } }, input), }) const decision = (modelID: string | ModelID, providerOptions?: ProviderOptions) => route.model({ id: modelID, providerOptions }) diff --git a/packages/ai/src/providers/openrouter.ts b/packages/ai/src/providers/openrouter.ts index e8707ebe6989..5a574751a550 100644 --- a/packages/ai/src/providers/openrouter.ts +++ b/packages/ai/src/providers/openrouter.ts @@ -4,6 +4,7 @@ import { Endpoint } from "../route/endpoint.js" import { Protocol } from "../route/protocol.js" import type { ProviderAuthOption } from "../route/auth-options.js" import { + mergeTransport, ProviderID, type ModelID, type OpenString, @@ -268,8 +269,7 @@ export const configure = (input: Config = {}) => { providerMetadataKey: "openrouter", endpoint: options.endpoint, auth: options.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) const media = MediaRoute.deployment({ ...input, baseURL: options.endpoint.baseURL }, options.auth) const image = (modelID: string | ModelID, providerOptions?: ProviderOptions) => @@ -293,8 +293,7 @@ export const configure = (input: Config = {}) => { provider: id, endpoint: options.endpoint, auth: options.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) const embedding = (modelID: string | ModelID, providerOptions?: ProviderOptions) => embeddingRoute.model({ id: modelID, providerOptions }) diff --git a/packages/ai/src/providers/typesafe-ai.ts b/packages/ai/src/providers/typesafe-ai.ts index 9f846dc65ab0..427d3458c44f 100644 --- a/packages/ai/src/providers/typesafe-ai.ts +++ b/packages/ai/src/providers/typesafe-ai.ts @@ -1,4 +1,10 @@ -import { type HttpOptions, ProviderID, type ModelID, type ProviderOptions } from "../schema/index.js" +import { + mergeTransport, + ProviderID, + type ModelID, + type ProviderOptions, + type TransportOptions, +} from "../schema/index.js" import type { ProviderPackage } from "../provider-package.js" import { AuthOptions, type ProviderAuthOption } from "../route/auth-options.js" import { SystemOne } from "../protocols/system-one.js" @@ -8,11 +14,10 @@ import { typesafeEvaluation } from "./typesafe-evaluation.js" export const id = ProviderID.make("typesafe-ai") const baseURL = "https://api.typesafe.ai/v1" -export type Config = ProviderAuthOption<"optional"> & { - readonly baseURL?: string - readonly headers?: Record - readonly http?: HttpOptions -} +export type Config = TransportOptions & + ProviderAuthOption<"optional"> & { + readonly baseURL?: string + } export type Settings = ProviderPackage.Settings & { readonly apiKey?: string | false } @@ -23,8 +28,7 @@ export const configure = (input: Config = {}) => { endpoint: { baseURL: input.baseURL ?? baseURL }, auth: AuthOptions.bearer(input, "TYPESAFE_API_KEY"), // Required for images; text-only requests are unchanged with it. - headers: { "TypeSafe-Danger-Zone-Images": "true", ...input.headers }, - http: input.http, + ...mergeTransport({ headers: { "TypeSafe-Danger-Zone-Images": "true" } }, input), }) const decision = (modelID: string | ModelID, providerOptions?: ProviderOptions) => route.model({ id: modelID, providerOptions }) diff --git a/packages/ai/src/providers/vercel-ai-gateway.ts b/packages/ai/src/providers/vercel-ai-gateway.ts index 95744a7646e3..91494fdcf5cc 100644 --- a/packages/ai/src/providers/vercel-ai-gateway.ts +++ b/packages/ai/src/providers/vercel-ai-gateway.ts @@ -16,6 +16,7 @@ import { Framing } from "../route/framing.js" import { MediaRoute } from "../route/media.js" import type { Protocol } from "../route/protocol.js" import { + mergeTransport, type LLMRequest, ModelID, ProviderID, @@ -251,8 +252,7 @@ export const configure = (input: Config = {}) => { provider: id, endpoint: { baseURL: configured.endpoint.baseURL }, auth: configured.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) const decision = (modelID: string | ModelID, providerOptions?: ProviderOptions) => decisionRoute.model({ id: modelID, providerOptions }) @@ -260,8 +260,7 @@ export const configure = (input: Config = {}) => { provider: id, endpoint: { baseURL: configured.endpoint.baseURL }, auth: configured.auth, - headers: input.headers, - http: input.http, + ...mergeTransport(input), }) const embedding = (modelID: string | ModelID, providerOptions?: ProviderOptions) => embeddingRoute.model({ id: modelID, providerOptions }) diff --git a/packages/ai/src/providers/volcengine.ts b/packages/ai/src/providers/volcengine.ts index 935e8bfece52..01bbf5a4a84e 100644 --- a/packages/ai/src/providers/volcengine.ts +++ b/packages/ai/src/providers/volcengine.ts @@ -2,16 +2,15 @@ import type { ProviderPackage } from "../provider-package.js" import { SeedanceVideo } from "../protocols/seedance-video.js" import { AuthOptions, type ProviderAuthOption } from "../route/auth-options.js" import { MediaRoute } from "../route/media.js" -import { type HttpOptions, ProviderID, type ModelID, type ProviderOptions } from "../schema/index.js" +import { ProviderID, type ModelID, type ProviderOptions, type TransportOptions } from "../schema/index.js" import { toConfig } from "./settings.js" export const id = ProviderID.make("volcengine") -export type Config = ProviderAuthOption<"optional"> & { - readonly baseURL?: string - readonly headers?: Record - readonly http?: HttpOptions -} +export type Config = TransportOptions & + ProviderAuthOption<"optional"> & { + readonly baseURL?: string + } export type Settings = ProviderPackage.Settings & { readonly apiKey?: string | false diff --git a/packages/ai/src/route/decision.ts b/packages/ai/src/route/decision.ts index 481077ac583b..441253f21008 100644 --- a/packages/ai/src/route/decision.ts +++ b/packages/ai/src/route/decision.ts @@ -8,10 +8,16 @@ import { type DecisionRequest, type DecisionResponse, } from "../decision.js" -import { ProviderID, type HttpOptions, type AIError, type ProviderOptions } from "../schema/index.js" +import { + mergeTransport, + ProviderID, + type AIError, + type ProviderOptions, + type TransportOptions, +} from "../schema/index.js" import { Auth } from "./auth.js" import { Endpoint } from "./endpoint.js" -import { RequestExecutorService } from "./executor-service.js" +import { RequestExecutor } from "./executor.js" import { MediaProtocol } from "./media-protocol.js" import { MediaRoute, type Execute } from "./media.js" @@ -32,26 +38,23 @@ export interface Protocol { export const protocol = (input: Protocol) => input -export interface Patch { +/** Headers, timeouts and `http` overlays merge into the route's; every model of the route starts from them. */ +export interface Patch extends TransportOptions { readonly id?: string readonly provider?: string | ProviderID /** ProviderMetadata namespace for responses; defaults to the provider. */ readonly providerMetadataKey?: string readonly endpoint?: Endpoint.EndpointPatch readonly auth?: Auth.Definition - readonly headers?: Record - readonly http?: HttpOptions } -export interface Route { +export interface Route extends TransportOptions { readonly id: string readonly provider: ProviderID readonly providerMetadataKey: string readonly protocol: Protocol readonly endpoint: Endpoint.Definition readonly auth: Auth.Definition - readonly headers?: Record - readonly http?: HttpOptions readonly with: (patch: Patch) => Route readonly model: (input: { readonly id: string @@ -76,8 +79,7 @@ export const make = (input: MakeInput): Route => { protocol: input.protocol, endpoint: input.endpoint, auth: input.auth ?? Auth.none, - headers: input.headers, - http: input.http, + ...mergeTransport(input), } return { ...route, @@ -89,8 +91,7 @@ export const make = (input: MakeInput): Route => { providerMetadataKey: patch.providerMetadataKey ?? (patch.provider === undefined ? route.providerMetadataKey : undefined), endpoint: patch.endpoint === undefined ? route.endpoint : Endpoint.merge(route.endpoint, patch.endpoint), - headers: patch.headers === undefined ? route.headers : { ...route.headers, ...patch.headers }, - http: patch.http ?? route.http, + ...mergeTransport(route, patch), }), model: (model: { readonly id: string @@ -101,7 +102,7 @@ export const make = (input: MakeInput): Route => { return DecisionModel.make({ id: model.id, provider, - http: route.http, + transport: mergeTransport(route), providerOptions: model.providerOptions, compatibility: model.compatibility === undefined ? undefined : DecisionModelCompatibility.make(model.compatibility), @@ -129,11 +130,11 @@ const transport = (route: Omit) => { }), endpoint: route.endpoint, auth: route.auth, - headers: route.headers, }) return Effect.fnUntraced(function* (request: DecisionRequest, execute: Execute) { if (!route.protocol.inlineMedia) return yield* composed.generate(request, execute) - const input = yield* Effect.forEach(request.input, (part) => materialize(part, execute)) + const timed = RequestExecutor.withTimeout(execute, mergeTransport(request.model.transport, request).timeout) + const input = yield* Effect.forEach(request.input, (part) => materialize(part, timed)) return yield* composed.generate({ ...request, input }, execute) }) } @@ -141,7 +142,7 @@ const transport = (route: Omit) => { const materialize = (part: DecisionPart, execute: Execute) => part.type === "media" && part.media.source.type === "url" ? part.media.materialize().pipe( - Effect.provideService(RequestExecutorService, { execute }), + Effect.provideService(RequestExecutor.Service, { execute }), Effect.map((media) => ({ ...part, media })), ) : Effect.succeed(part) diff --git a/packages/ai/src/route/embedding.ts b/packages/ai/src/route/embedding.ts index 457e546aebbe..5e548caf10ce 100644 --- a/packages/ai/src/route/embedding.ts +++ b/packages/ai/src/route/embedding.ts @@ -7,7 +7,13 @@ import { type EmbeddingOptions, type EmbeddingRequest, } from "../embedding.js" -import { ProviderID, type HttpOptions, type AIError, type ProviderOptions } from "../schema/index.js" +import { + mergeTransport, + ProviderID, + type AIError, + type ProviderOptions, + type TransportOptions, +} from "../schema/index.js" import { Auth } from "./auth.js" import { Endpoint } from "./endpoint.js" import { MediaProtocol } from "./media-protocol.js" @@ -28,15 +34,14 @@ export interface Protocol { export const protocol = (input: Protocol) => input -export interface Patch { +/** Headers, timeouts and `http` overlays merge into the route's; every model of the route starts from them. */ +export interface Patch extends TransportOptions { readonly id?: string readonly provider?: string | ProviderID /** ProviderMetadata namespace for responses; defaults to the provider. */ readonly providerMetadataKey?: string readonly endpoint?: Endpoint.EndpointPatch readonly auth?: Auth.Definition - readonly headers?: Record - readonly http?: HttpOptions /** * Most values one HTTP request may carry. Longer requests are split into requests of this size, sent a few at a * time, and joined back in value order. @@ -44,15 +49,13 @@ export interface Patch { readonly maxValues?: number } -export interface Route { +export interface Route extends TransportOptions { readonly id: string readonly provider: ProviderID readonly providerMetadataKey: string readonly protocol: Protocol readonly endpoint: Endpoint.Definition readonly auth: Auth.Definition - readonly headers?: Record - readonly http?: HttpOptions readonly maxValues?: number readonly with: (patch: Patch) => Route readonly model: (input: { @@ -77,8 +80,7 @@ export const make = (input: MakeInput): Route => { protocol: input.protocol, endpoint: input.endpoint, auth: input.auth ?? Auth.none, - headers: input.headers, - http: input.http, + ...mergeTransport(input), maxValues: input.maxValues, } return { @@ -91,8 +93,7 @@ export const make = (input: MakeInput): Route => { providerMetadataKey: patch.providerMetadataKey ?? (patch.provider === undefined ? route.providerMetadataKey : undefined), endpoint: patch.endpoint === undefined ? route.endpoint : Endpoint.merge(route.endpoint, patch.endpoint), - headers: patch.headers === undefined ? route.headers : { ...route.headers, ...patch.headers }, - http: patch.http ?? route.http, + ...mergeTransport(route, patch), maxValues: patch.maxValues ?? route.maxValues, }), model: (model: { @@ -102,7 +103,7 @@ export const make = (input: MakeInput): Route => { EmbeddingModel.make({ id: model.id, provider, - http: route.http, + transport: mergeTransport(route), providerOptions: model.providerOptions, route: { id: route.id, generate: split(route.maxValues, transport(route).generate) }, }), @@ -169,7 +170,6 @@ const transport = (route: Omit) => ), endpoint: route.endpoint, auth: route.auth, - headers: route.headers, }) export * as EmbeddingRoute from "./embedding.js" diff --git a/packages/ai/src/route/executor-service.ts b/packages/ai/src/route/executor-service.ts index 977c7dfa274d..36d228e7d888 100644 --- a/packages/ai/src/route/executor-service.ts +++ b/packages/ai/src/route/executor-service.ts @@ -1,7 +1,7 @@ -import { Context, Effect, Stream } from "effect" -import type { Headers, HttpClientRequest, HttpClientResponse } from "effect/http" -import { HttpContext, type AIError } from "../schema/errors.js" -import type { ClientTls } from "../schema/options.js" +import { Cause, Context, Effect, Option, Schema, Stream } from "effect" +import { HttpClientError, type Headers, type HttpClientRequest, type HttpClientResponse } from "effect/http" +import { AIError, HttpContext, TransportError } from "../schema/errors.js" +import type { ClientTls, RequestTimeout } from "../schema/options.js" // The service tag lives in its own leaf module so `Media.Asset` (imported by the schema layer) can require the // executor without pulling the full executor implementation, and therefore the schema barrel, into a cycle. @@ -32,6 +32,16 @@ export const Service = RequestExecutorService export const CurrentTls = Context.Reference("@opencode/AI/RequestExecutor/CurrentTls", { defaultValue: () => undefined, }) + +/** + * Per-phase HTTP timeouts for requests executed while it is set. Transports set it from `request.timeout`; + * `RequestExecutor` applies defaults (`DEFAULT_HTTP_TIMEOUT_MS` for headers, `DEFAULT_CHUNK_TIMEOUT_MS` between + * response chunks) whenever a phase is left unset. + */ +export const CurrentTimeout = Context.Reference( + "@opencode/AI/RequestExecutor/CurrentTimeout", + { defaultValue: () => undefined }, +) export type Service = RequestExecutorService /** @@ -83,3 +93,99 @@ export const responseHttp = (response: HttpClientResponse.HttpClientResponse) => status: response.status, headers: headerDetails(response.headers), }) + +export type HttpOperation = "request" | "read" + +const NativeTransportFailure = Schema.Struct({ + message: Schema.String, + code: Schema.optionalKey(Schema.String), + cause: Schema.optionalKey(Schema.Unknown), +}) +const decodeNativeTransportFailure = Schema.decodeUnknownOption(NativeTransportFailure) + +const nativeTransportFailure = (error: unknown) => { + const failure = Option.getOrUndefined(decodeNativeTransportFailure(error)) + if (!failure) return undefined + if (failure.code !== undefined) return failure + const cause = Option.getOrUndefined(decodeNativeTransportFailure(failure.cause)) + if (cause?.code !== undefined) return cause + return failure +} + +// HTTP hooks re-wrap response bodies, so a read failure can arrive as an HttpClientError caused by +// another HttpClientError. The innermost cause carries the native failure. +export const rootCause = (error: unknown): unknown => + HttpClientError.isHttpClientError(error) && "cause" in error.reason && error.reason.cause !== undefined + ? rootCause(error.reason.cause) + : error + +const CONNECTION_LOST = "Connection lost while reading the response" + +export const httpError = (input: { + readonly error: unknown + readonly request: HttpClientRequest.HttpClientRequest + readonly operation: HttpOperation + readonly http?: HttpContext +}) => { + const request = HttpClientError.isHttpClientError(input.error) ? input.error.request : input.request + const transportError = (failure: { readonly message: string; readonly code?: string | undefined }) => + new AIError({ + reason: new TransportError({ + message: failure.message, + cause: source, + http: input.http, + transport: "http", + operation: input.operation, + code: failure.code, + url: request.url, + }), + }) + + const source = rootCause(input.error) + const native = nativeTransportFailure(source) + const code = native?.code + const detail = + code && native?.message && !native.message.includes(code) ? `${code}: ${native.message}` : native?.message + const message = detail ?? (input.error instanceof Error ? input.error.message : undefined) + + if (Cause.isTimeoutError(input.error) || Cause.isTimeoutError(source)) + return transportError({ message: message ?? "HTTP transport timed out", code: code ?? "Timeout" }) + if (!HttpClientError.isHttpClientError(input.error)) + return transportError({ message: message ?? "HTTP transport failed", code }) + // Effect reports every response body read failure as a DecodeError, but the raw byte stream decodes + // nothing: provider output parsing happens later and fails as InvalidProviderOutput. + if (input.operation === "read" && input.error.reason._tag === "DecodeError") + return transportError({ message: detail ? `${CONNECTION_LOST}: ${detail}` : CONNECTION_LOST, code }) + if (input.error.reason._tag === "TransportError") { + return transportError({ + message: message ?? input.error.reason.description ?? "HTTP transport failed", + code: code ?? input.error.reason._tag, + }) + } + return transportError({ + message: message ?? `HTTP transport failed: ${input.error.reason._tag}`, + code: code ?? input.error.reason._tag, + }) +} + +export const responseStream = (response: HttpClientResponse.HttpClientResponse): Stream.Stream => + response.stream.pipe( + Stream.mapError((error) => + httpError({ error, request: response.request, operation: "read", http: responseHttp(response) }), + ), + ) + +export const responseBytes = (response: HttpClientResponse.HttpClientResponse): Effect.Effect => + response.arrayBuffer.pipe( + Effect.map((buffer) => new Uint8Array(buffer)), + Effect.mapError((error) => + httpError({ error, request: response.request, operation: "read", http: responseHttp(response) }), + ), + ) + +export const responseText = (response: HttpClientResponse.HttpClientResponse): Effect.Effect => + response.text.pipe( + Effect.mapError((error) => + httpError({ error, request: response.request, operation: "read", http: responseHttp(response) }), + ), + ) diff --git a/packages/ai/src/route/executor.ts b/packages/ai/src/route/executor.ts index f9b97c257f03..36cdf53117ae 100644 --- a/packages/ai/src/route/executor.ts +++ b/packages/ai/src/route/executor.ts @@ -1,4 +1,4 @@ -import { Cause, Effect, Layer, Option, Schema, Stream } from "effect" +import { Cause, Clock, Duration, Effect, Layer, Stream } from "effect" import { FetchHttpClient, Headers, @@ -7,25 +7,43 @@ import { HttpClientRequest, HttpClientResponse, } from "effect/http" -import { HttpContext, HttpRateLimitDetails, AIError, TransportError } from "../schema/index.js" +import { + AIError, + DEFAULT_CHUNK_TIMEOUT_MS, + DEFAULT_HTTP_TIMEOUT_MS, + HttpContext, + HttpRateLimitDetails, + timeoutConfig, + TransportError, + type ClientTls, + type HttpTimeout, + type RequestTimeout, +} from "../schema/index.js" import { classifyProviderFailure, providerErrorMessage } from "../provider-error.js" import { composeMiddleware, CurrentMiddleware, + CurrentTimeout, CurrentTls, headerDetails, - responseHttp, + httpError, + responseStream, + rootCause, Service, type HttpMiddleware, + type HttpOperation, type Interface, } from "./executor-service.js" -import type { ClientTls } from "../schema/options.js" export { composeMiddleware, CurrentMiddleware, + CurrentTimeout, CurrentTls, + responseBytes, responseHttp, + responseStream, + responseText, Service, withMiddleware, } from "./executor-service.js" @@ -116,7 +134,7 @@ const statusError = (response: HttpClientResponse.HttpClientResponse) => status: response.status, responseHeaders: headerDetails(response.headers), responseBody: result._tag === "Success" ? result.success : undefined, - cause: result._tag === "Failure" ? (result.failure.cause ?? result.failure) : undefined, + cause: result._tag === "Failure" ? rootCause(result.failure) : undefined, }) }) @@ -150,86 +168,74 @@ export const httpFailure = (input: { }) } -type HttpOperation = "request" | "read" - -const NativeTransportFailure = Schema.Struct({ - message: Schema.String, - code: Schema.optionalKey(Schema.String), - cause: Schema.optionalKey(Schema.Unknown), -}) -const decodeNativeTransportFailure = Schema.decodeUnknownOption(NativeTransportFailure) - -const nativeTransportFailure = (error: unknown) => { - const failure = Option.getOrUndefined(decodeNativeTransportFailure(error)) - if (!failure) return undefined - if (failure.code !== undefined) return failure - const cause = Option.getOrUndefined(decodeNativeTransportFailure(failure.cause)) - if (cause?.code !== undefined) return cause - return failure -} - -// HTTP hooks re-wrap response bodies, so a read failure can arrive as an HttpClientError caused by -// another HttpClientError. The innermost cause carries the native failure. -const rootCause = (error: unknown): unknown => - HttpClientError.isHttpClientError(error) && "cause" in error.reason && error.reason.cause !== undefined - ? rootCause(error.reason.cause) - : error - -const CONNECTION_LOST = "Connection lost while reading the response" - -const httpError = (input: { - readonly error: unknown - readonly request: HttpClientRequest.HttpClientRequest - readonly operation: HttpOperation - readonly http?: HttpContext -}) => { - const request = HttpClientError.isHttpClientError(input.error) ? input.error.request : input.request - const transportError = (failure: { readonly message: string; readonly code?: string | undefined }) => - new AIError({ - reason: new TransportError({ - message: failure.message, - cause: source, - http: input.http, - transport: "http", - operation: input.operation, - code: failure.code, - url: request.url, - }), - }) +const timeoutDuration = (value: HttpTimeout | undefined, fallback = DEFAULT_HTTP_TIMEOUT_MS) => + value === false ? Duration.infinity : Duration.millis(value ?? fallback) + +const timeoutError = (url: string, operation: HttpOperation, message: string, http?: HttpContext) => + new AIError({ + reason: new TransportError({ + message, + transport: "http", + operation, + code: "Timeout", + url, + http, + }), + }) - const source = rootCause(input.error) - const native = nativeTransportFailure(source) - const code = native?.code - const detail = - code && native?.message && !native.message.includes(code) ? `${code}: ${native.message}` : native?.message - const message = detail ?? (input.error instanceof Error ? input.error.message : undefined) - - if (Cause.isTimeoutError(input.error) || Cause.isTimeoutError(source)) - return transportError({ message: message ?? "HTTP transport timed out", code: code ?? "Timeout" }) - if (!HttpClientError.isHttpClientError(input.error)) - return transportError({ message: message ?? "HTTP transport failed", code }) - // Effect reports every response body read failure as a DecodeError, but the raw byte stream decodes - // nothing: provider output parsing happens later and fails as InvalidProviderOutput. - if (input.operation === "read" && input.error.reason._tag === "DecodeError") - return transportError({ message: detail ? `${CONNECTION_LOST}: ${detail}` : CONNECTION_LOST, code }) - if (input.error.reason._tag === "TransportError") { - return transportError({ - message: message ?? input.error.reason.description ?? "HTTP transport failed", - code: code ?? input.error.reason._tag, - }) - } - return transportError({ - message: message ?? `HTTP transport failed: ${input.error.reason._tag}`, - code: code ?? input.error.reason._tag, +const bodyTimeoutError = (response: HttpClientResponse.HttpClientResponse, message: string) => + new HttpClientError.HttpClientError({ + reason: new HttpClientError.DecodeError({ + request: response.request, + response, + cause: new Cause.TimeoutError(message), + }), }) -} -export const responseStream = (response: HttpClientResponse.HttpClientResponse): Stream.Stream => - response.stream.pipe( - Stream.mapError((error) => - httpError({ error, request: response.request, operation: "read", http: responseHttp(response) }), +// A response with one of these statuses has no body to re-wrap. +const NO_BODY = new Set([101, 204, 205, 304]) + +/** + * Re-wraps the body behind the chunk and whole-request limits, so every way of reading it (`stream`, `text`, `json`, + * `formData`, ...) fails cleanly once it stalls. + */ +const withBodyTimeouts = ( + raw: HttpClientResponse.HttpClientResponse, + limits: { readonly chunk: Duration.Duration; readonly deadline: number | undefined }, +): Effect.Effect => { + if (NO_BODY.has(raw.status) || (!Duration.isFinite(limits.chunk) && limits.deadline === undefined)) + return Effect.succeed(raw) + const chunked = raw.stream.pipe( + Stream.catchIf( + (error) => error.reason._tag === "EmptyBodyError", + () => Stream.empty, + ), + Stream.timeoutOrElse({ + duration: limits.chunk, + orElse: () => Stream.fail(bodyTimeoutError(raw, "Timed out waiting for response data")), + }), + ) + const deadline = limits.deadline + const body = + deadline === undefined + ? chunked + : Stream.unwrap( + Effect.map(Clock.currentTimeMillis, (now) => + chunked.pipe( + Stream.interruptWhen( + Effect.sleep(Duration.millis(Math.max(0, deadline - now))).pipe( + Effect.andThen(Effect.fail(bodyTimeoutError(raw, "Timed out waiting for the response to complete"))), + ), + ), + ), + ), + ) + return Stream.toReadableStreamEffect(body).pipe( + Effect.map((readable) => + HttpClientResponse.fromWeb(raw.request, new Response(readable, { status: raw.status, headers: raw.headers })), ), ) +} export const stream = ( executor: Interface, @@ -247,28 +253,48 @@ export const layer: Layer.Layer = Layer.e Service, Effect.gen(function* () { const http = yield* HttpClient.HttpClient - const executeOnce = (request: HttpClientRequest.HttpClientRequest, middleware?: HttpMiddleware) => + const executeOnce = ( + request: HttpClientRequest.HttpClientRequest, + middleware: HttpMiddleware | undefined, + timeout: RequestTimeout | undefined, + ) => Effect.gen(function* () { - if (!middleware) - return yield* http.execute(request).pipe( - Effect.mapError((error) => httpError({ error, request, operation: "request" })), - Effect.flatMap(statusError), - ) - - const response = yield* middleware(request, (input) => - http - .execute(input) - .pipe(Effect.mapError((cause) => (cause instanceof Error ? cause : new Error(String(cause))))), - ).pipe(Effect.mapError((error) => httpError({ error, request, operation: "request" }))) + const started = yield* Clock.currentTimeMillis + const limits = timeoutConfig(timeout) + // Unlike the header and chunk limits, the whole-request budget has no default. + const total = limits.total ? Duration.millis(limits.total) : Duration.infinity + const headersLimit = Duration.min(timeoutDuration(limits.headers), total) + const send = !middleware + ? http.execute(request).pipe(Effect.mapError((error) => httpError({ error, request, operation: "request" }))) + : middleware(request, (input) => + http + .execute(input) + .pipe(Effect.mapError((cause) => (cause instanceof Error ? cause : new Error(String(cause))))), + ).pipe(Effect.mapError((error) => httpError({ error, request, operation: "request" }))) + const raw = yield* send.pipe( + Effect.timeoutOrElse({ + duration: headersLimit, + orElse: () => Effect.fail(timeoutError(request.url, "request", "Timed out waiting for response headers")), + }), + ) + const deadline = Duration.isFinite(total) ? started + Duration.toMillis(total) : undefined + const response = yield* withBodyTimeouts(raw, { + chunk: timeoutDuration(limits.chunk, DEFAULT_CHUNK_TIMEOUT_MS), + deadline, + }) return yield* statusError(response) }) return Service.of({ - // Scoped middleware runs outside per-call middleware. It is cleared while the request runs, so a request a - // middleware makes itself isn't wrapped again. + // Scoped middleware and timeouts are cleared while the request runs, so a request a middleware makes itself + // isn't wrapped again and starts with default timeouts. execute: (request, next) => Effect.gen(function* () { const middleware = composeMiddleware(yield* CurrentMiddleware, next) - return yield* executeOnce(request, middleware).pipe(Effect.provideService(CurrentMiddleware, undefined)) + const timeout = yield* CurrentTimeout + return yield* executeOnce(request, middleware, timeout).pipe( + Effect.provideService(CurrentMiddleware, undefined), + Effect.provideService(CurrentTimeout, undefined), + ) }), }) }), @@ -283,6 +309,15 @@ export const fetchLayer = layer.pipe(Layer.provide(FetchHttpClient.layer)) export const withTls = (execute: Interface["execute"], tls: ClientTls | undefined): Interface["execute"] => tls ? (request, middleware) => execute(request, middleware).pipe(Effect.provideService(CurrentTls, tls)) : execute +/** Sends through `execute` with `timeout` applied to the request and its response body. */ +export const withTimeout = ( + execute: Interface["execute"], + timeout: RequestTimeout | undefined, +): Interface["execute"] => + timeout === undefined + ? execute + : (request, middleware) => execute(request, middleware).pipe(Effect.provideService(CurrentTimeout, timeout)) + /** * Per-call middleware that sends through `fetch` instead of the executor's HTTP client. Executor middleware and * `middleware` still wrap the call, and status classification still applies. diff --git a/packages/ai/src/route/media-protocol.ts b/packages/ai/src/route/media-protocol.ts index 3abcb69cea20..60361d5f65f7 100644 --- a/packages/ai/src/route/media-protocol.ts +++ b/packages/ai/src/route/media-protocol.ts @@ -206,15 +206,6 @@ export const identity = (input: { readonly id: string; readonly name: string; re const provider = ProviderID.make(input.provider) const frameError = (message: string, body?: string, cause?: unknown) => new AIError({ reason: new InvalidProviderOutputError({ route: input.id, message, body, cause }) }) - const readError = (http: HttpContext) => (cause: unknown) => - new AIError({ - reason: new InvalidProviderOutputError({ - route: input.id, - message: `Failed to read the ${input.name} response`, - http, - cause, - }), - }) /** * Read a text body while retaining the original payload and HTTP context on every downstream error. `invalid` is a @@ -225,7 +216,7 @@ export const identity = (input: { readonly id: string; readonly name: string; re */ const text = Effect.fn("MediaProtocol.text")(function* (response: HttpClientResponse.HttpClientResponse) { const http = RequestExecutor.responseHttp(response) - const body = yield* response.text.pipe(Effect.mapError(readError(http))) + const body = yield* RequestExecutor.responseText(response) return { body, http, @@ -263,11 +254,7 @@ export const identity = (input: { readonly id: string; readonly name: string; re } /** Read a raw binary body, for providers that answer with the media bytes themselves. */ - const bytes = (response: HttpClientResponse.HttpClientResponse) => - response.arrayBuffer.pipe( - Effect.map((buffer) => new Uint8Array(buffer)), - Effect.mapError(readError(RequestExecutor.responseHttp(response))), - ) + const bytes = RequestExecutor.responseBytes return { id: input.id, diff --git a/packages/ai/src/route/media.ts b/packages/ai/src/route/media.ts index c68aa219aa6c..c1947dec6876 100644 --- a/packages/ai/src/route/media.ts +++ b/packages/ai/src/route/media.ts @@ -16,8 +16,9 @@ import { mergeProviderOptions, mergeTransport, type BaseRequest, - type HttpOptions, type ProviderOptions, + type RequestTimeout, + type TransportOptions, } from "../schema/index.js" import { encodeJson } from "../utils/json.js" import { sanitizeSurrogates } from "../utils/sanitize.js" @@ -28,29 +29,29 @@ export type Execute = Interface["execute"] export type MediaRequest = BaseRequest<{ readonly id: string readonly provider: ProviderID - readonly http?: HttpOptions + readonly transport?: TransportOptions readonly providerOptions?: ProviderOptions }> /** What every HTTP exchange of one generation shares. */ -type Exchange = Pick +type Exchange = Pick /** Deployment inputs every media model factory accepts; provider facades fill these from `configure(...)`. */ export interface ModelInput { readonly id: string readonly auth: Auth.Definition readonly baseURL?: string - readonly headers?: Record - readonly http?: HttpOptions + /** Deployment headers, timeouts and `http` overlays every request of the model starts from. */ + readonly transport?: TransportOptions /** Defaults under each request's `providerOptions`. */ readonly providerOptions?: ProviderOptions } /** A provider facade's `configure(...)` input as the `ModelInput` every media selector shares, minus the model id. */ export const deployment = ( - input: { readonly baseURL?: string; readonly headers?: Record; readonly http?: HttpOptions }, + input: TransportOptions & { readonly baseURL?: string }, auth: Auth.Definition, -): Omit => ({ auth, baseURL: input.baseURL, headers: input.headers, http: input.http }) +): Omit => ({ auth, baseURL: input.baseURL, transport: mergeTransport(input) }) // --------------------------------------------------------------------------- // Routes @@ -104,7 +105,7 @@ export type AnyRoute = export interface Composition { readonly endpoint: Endpoint.Definition readonly auth: Auth.Definition - /** Deployment headers applied before transport authentication. */ + /** Headers the protocol requires on every call; the model's transport headers win. */ readonly headers?: Record } @@ -343,6 +344,7 @@ const makeTransport = ( readonly headers: Headers.Headers readonly request: AuthInput["request"] readonly body?: MediaProtocol.Body + readonly timeout?: RequestTimeout }, fetch: typeof globalThis.fetch | undefined, execute: Execute, @@ -356,7 +358,10 @@ const makeTransport = ( body: encoded.text, headers: encoded.headers, }) - const response = yield* RequestExecutor.withTls(execute, call.request.http?.tls)( + const response = yield* RequestExecutor.withTimeout( + RequestExecutor.withTls(execute, call.request.http?.tls), + call.timeout, + )( encoded.apply(HttpClientRequest.make(call.method)(url).pipe(HttpClientRequest.setHeaders(headers))), RequestExecutor.withFetch(fetch), ) @@ -364,7 +369,7 @@ const makeTransport = ( }) return { /** Route and model overlays; `start` additionally merges the request's own. */ - exchange: (model: MediaRequest["model"]): Exchange => mergeTransport({ headers: input.headers, http: model.http }), + exchange: (model: MediaRequest["model"]): Exchange => mergeTransport({ headers: input.headers }, model.transport), /** POST the protocol body to the route endpoint. */ submit: Effect.fn("MediaRoute.submit")(function* ( request: Request, @@ -376,8 +381,12 @@ const makeTransport = ( execute: Execute, ) { yield* rejectUnsupported(input.protocol.id, input.protocol.provider, request, protocol.unsupported) - const { headers: merged, http } = mergeTransport({ headers: input.headers, http: request.model.http }, request) - const exchange = { headers: merged, http, fetch: request.fetch } + const { + headers: merged, + timeout, + http, + } = mergeTransport({ headers: input.headers }, request.model.transport, request) + const exchange = { headers: merged, timeout, http, fetch: request.fetch } const providerOptions = mergeProviderOptions(request.model.providerOptions, request.providerOptions) const headers = Headers.fromInput(merged) const prepared = @@ -385,7 +394,7 @@ const makeTransport = ( ? request : yield* protocol.prepare(request, (path, body) => send( - { method: "POST", url: baseURL(path), headers, request: { ...request, http }, body }, + { method: "POST", url: baseURL(path), headers, request: { ...request, http }, body, timeout }, request.fetch, execute, ).pipe(Effect.map((sent) => sent.response)), @@ -403,7 +412,11 @@ const makeTransport = ( ), http?.query, ) - const sent = yield* send({ method: "POST", url, headers, request: resolved, body }, request.fetch, execute) + const sent = yield* send( + { method: "POST", url, headers, request: resolved, body, timeout }, + request.fetch, + execute, + ) return { response: sent.response, context: { request: resolved, body }, exchange } }), /** @@ -426,7 +439,11 @@ const makeTransport = ( const url = withQuery(/^https?:\/\//.test(path) ? new URL(path) : baseURL(path), exchange.http?.query) for (const [key, value] of Object.entries(input.endpoint.query ?? {})) url.searchParams.set(key, value) const headers = Headers.fromInput(exchange.headers) - return send({ method, url, headers, request: { http: exchange.http } }, exchange.fetch, execute) + return send( + { method, url, headers, request: { http: exchange.http }, timeout: exchange.timeout }, + exchange.fetch, + execute, + ) }, } } diff --git a/packages/ai/src/route/transport/http.ts b/packages/ai/src/route/transport/http.ts index daca308c6312..2b6418dc9c32 100644 --- a/packages/ai/src/route/transport/http.ts +++ b/packages/ai/src/route/transport/http.ts @@ -1,21 +1,11 @@ -import { Clock, Duration, Effect, Stream } from "effect" +import { Effect } from "effect" import { Headers, HttpClientRequest } from "effect/http" import { Auth } from "../auth.js" import { render as renderEndpoint } from "../endpoint.js" import { Framing } from "../framing.js" import type { HttpMiddleware, Transport, TransportPrepareInput } from "./index.js" import * as ProviderShared from "../../protocols/shared.js" -import { - AIError, - DEFAULT_CHUNK_TIMEOUT_MS, - DEFAULT_HTTP_TIMEOUT_MS, - mergeJsonRecords, - timeoutConfig, - TransportError, - type HttpContext, - type HttpTimeout, - type LLMRequest, -} from "../../schema/index.js" +import { mergeJsonRecords, type LLMRequest } from "../../schema/index.js" import { RequestExecutor } from "../executor.js" export type JsonRequestInput = TransportPrepareInput @@ -94,56 +84,19 @@ export const httpJson = (input: HttpJsonInput): HttpJs }), execute: (prepared, request, runtime) => Effect.gen(function* () { - const timeout = (operation: "request" | "read", message: string, http?: HttpContext) => - new AIError({ - reason: new TransportError({ - message, - transport: "http", - operation, - code: "Timeout", - url: prepared.request.url, - http, - }), - }) - const started = yield* Clock.currentTimeMillis - const limits = timeoutConfig(request.timeout) - // Unlike the header and chunk limits, the whole-request budget has no default. - const total = limits.total ? Duration.millis(limits.total) : Duration.infinity - const response = yield* RequestExecutor.withTls(runtime.http.execute, request.http?.tls)( - prepared.request, - prepared.middleware, - ).pipe( - Effect.timeoutOrElse({ - duration: Duration.min(timeoutDuration(limits.headers), total), - orElse: () => timeout("request", "Timed out waiting for response headers"), - }), - ) - const http = RequestExecutor.responseHttp(response) - const remaining = Duration.subtract(total, Duration.millis((yield* Clock.currentTimeMillis) - started)) + const response = yield* RequestExecutor.withTimeout( + RequestExecutor.withTls(runtime.http.execute, request.http?.tls), + request.timeout, + )(prepared.request, prepared.middleware) return { - frames: prepared.framing.frame( - RequestExecutor.responseStream(response).pipe( - Stream.timeoutOrElse({ - duration: timeoutDuration(limits.chunk, DEFAULT_CHUNK_TIMEOUT_MS), - orElse: () => Stream.fail(timeout("read", "Timed out waiting for response data", http)), - }), - Stream.interruptWhen( - Effect.sleep(remaining).pipe( - Effect.andThen(Effect.fail(timeout("read", "Timed out waiting for the response to complete", http))), - ), - ), - ), - ), - http, + frames: prepared.framing.frame(RequestExecutor.responseStream(response)), + http: RequestExecutor.responseHttp(response), body: prepared.framing.body, raw: prepared.framing.raw, } }), }) -const timeoutDuration = (value: HttpTimeout | undefined, fallback = DEFAULT_HTTP_TIMEOUT_MS) => - value === false ? Duration.infinity : Duration.millis(value ?? fallback) - export const sseJson = { id: "http-json/sse", with: () => httpJson({ framing: Framing.sse }), diff --git a/packages/ai/src/schema/errors.ts b/packages/ai/src/schema/errors.ts index aab00a83a18f..56ba1135bc09 100644 --- a/packages/ai/src/schema/errors.ts +++ b/packages/ai/src/schema/errors.ts @@ -206,7 +206,8 @@ export class AIError extends Schema.TaggedError()("AI.Error", { // Read failures can still recover; the caller chooses retry versus continuation from durable output. case "Transport": return ( - this.reason.delivery !== "rejected" && (this.reason.delivery !== "accepted" || this.reason.operation === "read") + this.reason.delivery !== "rejected" && + (this.reason.delivery !== "accepted" || this.reason.operation === "read") ) case "InvalidProviderOutput": return this.reason.classification === "incomplete-stream" diff --git a/packages/ai/src/schema/options.ts b/packages/ai/src/schema/options.ts index bfe88ad7a8ef..5e58b80aa52f 100644 --- a/packages/ai/src/schema/options.ts +++ b/packages/ai/src/schema/options.ts @@ -100,7 +100,7 @@ export type RequestTimeout = HttpTimeout | TimeoutConfig export interface TransportOptions { /** Merged over the provider's headers; these win. */ readonly headers?: Record - /** Applied to text requests; media requests do not apply it yet. */ + /** Applied to every HTTP request. */ readonly timeout?: RequestTimeout readonly http?: HttpOptions } diff --git a/packages/ai/src/speech.ts b/packages/ai/src/speech.ts index 50d54de03d9d..950abc0865e7 100644 --- a/packages/ai/src/speech.ts +++ b/packages/ai/src/speech.ts @@ -51,7 +51,7 @@ export class SpeechModel extends return new SpeechModel({ id: input.id, provider: route.protocol.provider, - http: input.http, + transport: input.transport, providerOptions: input.providerOptions, route: composeRoute(route, input, collectResponse) as SpeechRoute, }) diff --git a/packages/ai/src/transcription.ts b/packages/ai/src/transcription.ts index d9f7d4b0a542..9486259f144a 100644 --- a/packages/ai/src/transcription.ts +++ b/packages/ai/src/transcription.ts @@ -52,7 +52,7 @@ export class TranscriptionModel({ id: input.id, provider: route.protocol.provider, - http: input.http, + transport: input.transport, providerOptions: input.providerOptions, route: composeRoute(route, input, collectResponse) as TranscriptionRoute, }) diff --git a/packages/ai/src/video.ts b/packages/ai/src/video.ts index 0365e5d62a1e..4c20fbc27f82 100644 --- a/packages/ai/src/video.ts +++ b/packages/ai/src/video.ts @@ -33,7 +33,7 @@ export class VideoModel extends Med return new VideoModel({ id: input.id, provider: route.protocol.provider, - http: input.http, + transport: input.transport, providerOptions: input.providerOptions, route: composeQueuedRoute(route, input) as VideoRoute, }) diff --git a/packages/ai/test/fixtures/recordings/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-5-nano-text.json b/packages/ai/test/fixtures/recordings/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-5-nano-text.json index b84a73eda4c1..caefcd97a912 100644 --- a/packages/ai/test/fixtures/recordings/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-5-nano-text.json +++ b/packages/ai/test/fixtures/recordings/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-5-nano-text.json @@ -23,7 +23,7 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-5-nano\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly with: Hello!\"}]}],\"instructions\":\"You are concise.\",\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":2000,\"stream\":true}" + "body": "{\"model\":\"gpt-5-nano\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"You are concise.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly with: Hello!\"}]}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":2000,\"stream\":true}" }, "response": { "status": 200, diff --git a/packages/ai/test/fixtures/recordings/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-5-nano-tool-loop.json b/packages/ai/test/fixtures/recordings/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-5-nano-tool-loop.json index 559e6fbc1863..b917b369b957 100644 --- a/packages/ai/test/fixtures/recordings/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-5-nano-tool-loop.json +++ b/packages/ai/test/fixtures/recordings/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-5-nano-tool-loop.json @@ -24,7 +24,7 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-5-nano\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":2000,\"stream\":true}" + "body": "{\"model\":\"gpt-5-nano\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":2000,\"stream\":true}" }, "response": { "status": 200, @@ -42,7 +42,7 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-5-nano\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"reasoning\",\"id\":\"rs_06bc195765a8c9c7016abc91ce881c87d18e71310b9a21b3ca\",\"summary\":[],\"encrypted_content\":\"gAAAAABqvJHSN68IWwhWq9YTPxs-e-OeLdOqfdkkIEP_1hc9f7k6yH9tGZKLUC2OPF0avZ7xaJQp8iOR_gPt3z0TGQ1T0e4M9OR6boMFOA_C4TwinAF1POgbZLI-0SUDkAm1PZSaO0Ic7DBh1rRT6biled_-iWs0ke3FP3nFZit5Ve16AI1TdL4c9QERNCcZFsD5neV8eBeABWarZ8SMFfxcYJ5y8QkpDOL1ShqenD22Df7fDy8cdkYWybEEZcAfgXWSfQK2hRwSNYN_BDV9CfKj-cUTePwf0D2vLm-2xd9LGt-KiLPbsp9EpGXP41ra6-qHRLeu7MO64XWIu2vsf9qAflOjp7MOSuTJ3ZvDQoTNRs-pEam8-kRYRC07Hj9IzC0sjreE1NPVzz-Yuw79gqaQokfVmuznok8XoBFKLjQ1Sa9-i8Ano4lXOKz6APnXXBdbbSUBvN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BLSWWyrA6gYQwpEiJHFrQMDetsaFFL-A5188dSPLjtXi9KkxGsA5wEbA1FcvABrHOBo_Ws8V3wzIuHl7uo7PO6FGIZB-d0RZiAw7AP5cVjG0udCWmQPpS0WVF5slSNmKgZjr9WD20w9yaliZOiPN_2A2w9Zx_ca4YBceORZ69irPy0xCKQJBlq0HMeZV_WzQATzbV0n8oyfx3CB12oF9JYn_4C5vqC_QnlGmUMFno3F1ZP94Tv7XqyDTt_JTAK_xppfVJEX7018apcF2w40aM5kp6_Clv0lb7AOkGWFKOAI7qOoraTldZh6ik_1DuJqKno7k0Qtc8RnRdQjNRhXJDfb1oqRBYvBfNQkROULiOoNx2yJdp7wvMjqah7WYE1wnKbftTPLjPDQDoc=\"},{\"type\":\"function_call\",\"id\":\"fc_06bc195765a8c9c7016abc91d247ec87d19e4f16354641a20f\",\"call_id\":\"call_RN4tTgQaJ61I5FoTePK9mpHu\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_RN4tTgQaJ61I5FoTePK9mpHu\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":2000,\"stream\":true}" + "body": "{\"model\":\"gpt-5-nano\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"reasoning\",\"id\":\"rs_06bc195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QlYj_WdPdZ13HpGZyj7ZfIPRazmYlw-EBURIYzOHlilo0Hk7pLZ5Im7E5XtLXjb0r4MaUZltViFS7Za7lm1yeVmrA0k-X4T8lgTqaBpr5BnnVVTPUNB2701N4_Z3tPxFxO3Bi_wGVVqB19D1hZGyNCXHqxlvvvPozHi3gV6Oh5ElPb4_wWTJeXJTqPI_gcnExs8Z-AnwTST6Dbw1u4EBUapdXDNcC3PD6YHlQ2Cn0lUD3TMFjGZiTL3UQADwKHEtH8R45QIEadT7O8p1pVWhzFsdOZbNdc160iViD3A920MHSRcJ_pLhxwuyndMEfzJEInv3s7lIxcJtc_VVruYr-ce24eD57jf23TsXgBEkFBsGFvORSUtds_eviuK4_wjijz33Aeydm3SqMi_DfFoy0CDSLe7qnvWBda9IF4MRlvcR-N8qgZW_vjx3OkfiUUF2PDlw1tmXhSuiF1IoPusUWZQ7QD2aEEBD_RXaipdCy_Lh7yDEw9CtdEb332MLvzFgUPBLSWWyrA6gYQwpEiJHFrQMDetsaFFL-A5188dSPLjtXi9KkxGsA5wEbA1FcvABrHOBo_Ws8V3wzIuHl7uo7PO6FGIZB-d0RZiAw7AP5cVjG0udCWmQPpS0WVF5slSNmKgZjr9WD20w9yaliZOiPN_2A2w9Zx_ca4YBceORZ69irPy0xCKQJBlq0HMeZV_WzQATzbV0n8oyfx3CB12oF9JYn_4C5vqC_QnlGmUMFno3F1ZP94Tv7XqyDTt_JTAK_xppfVJEX7018apcF2w40aM5kp6_Clv0lb7AOkGWFKOAI7qOoraTldZh6ik_1DuJqKno7k0Qtc8RnRdQjNRhXJDfb1oqRBYvBfNQkROULiOoNx2yJdp7wvMjqah7WYE1wnKbftTPLjPDQDoc=\"},{\"type\":\"function_call\",\"id\":\"fc_06bc195765a8c9c7016abc91d247ec87d19e4f16354641a20f\",\"call_id\":\"call_RN4tTgQaJ61I5FoTePK9mpHu\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_RN4tTgQaJ61I5FoTePK9mpHu\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":2000,\"stream\":true}" }, "response": { "status": 200, diff --git a/packages/ai/test/fixtures/recordings/digitalocean-responses/continues-a-tool-call.json b/packages/ai/test/fixtures/recordings/digitalocean-responses/continues-a-tool-call.json index b98204264e66..3bdb0d829f10 100644 --- a/packages/ai/test/fixtures/recordings/digitalocean-responses/continues-a-tool-call.json +++ b/packages/ai/test/fixtures/recordings/digitalocean-responses/continues-a-tool-call.json @@ -21,7 +21,7 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"openai-gpt-5.4-mini\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" + "body": "{\"model\":\"openai-gpt-5.4-mini\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool, then answer in one short sentence.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, @@ -39,7 +39,7 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"openai-gpt-5.4-mini\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"function_call\",\"id\":\"fc_0031a269e9107542016ae249045c3c87d19f19bd114c7ae0f4\",\"call_id\":\"call_vjbwbCiWRxwHDUuuGaOR3wCv\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_vjbwbCiWRxwHDUuuGaOR3wCv\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" + "body": "{\"model\":\"openai-gpt-5.4-mini\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool, then answer in one short sentence.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"function_call\",\"id\":\"fc_0031a269e9107542016ae249045c3c87d19f19bd114c7ae0f4\",\"call_id\":\"call_vjbwbCiWRxwHDUuuGaOR3wCv\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_vjbwbCiWRxwHDUuuGaOR3wCv\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, diff --git a/packages/ai/test/fixtures/recordings/openai-responses-cache/caches-the-system-prompt-on-gpt-6-2-sol.json b/packages/ai/test/fixtures/recordings/openai-responses-cache/caches-the-system-prompt-on-gpt-6-2-sol.json new file mode 100644 index 000000000000..993f912b1abc --- /dev/null +++ b/packages/ai/test/fixtures/recordings/openai-responses-cache/caches-the-system-prompt-on-gpt-6-2-sol.json @@ -0,0 +1,51 @@ +{ + "version": 1, + "metadata": { + "tags": [ + "prefix:openai-responses-cache", + "provider:openai", + "protocol:openai-responses", + "cache" + ], + "name": "openai-responses-cache/caches-the-system-prompt-on-gpt-6-2-sol", + "recordedAt": "2026-11-17T23:30:48.552Z" + }, + "interactions": [ + { + "transport": "http", + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/responses", + "headers": { + "content-type": "application/json" + }, + "body": "{\"model\":\"gpt-6.2-sol\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Say hi.\"}]}],\"stream\":true,\"max_output_tokens\":64,\"store\":false,\"prompt_cache_key\":\"recorded-cache-test-gpt-6-2\",\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"}}" + }, + "response": { + "status": 200, + "headers": { + "content-type": "text/event-stream; charset=utf-8" + }, + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_07f67ae2da8229ab016afce3a6e30c87d18c59ea60dda09c48\",\"object\":\"response\",\"created_at\":1794958246,\"status\":\"in_progress\",\"access_programs\":{\"cyber\":\"standard\"},\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":64,\"max_tool_calls\":null,\"model\":\"gpt-6.2-sol\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test-gpt-6-2\",\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"all_turns\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_07f67ae2da8229ab016afce3a6e30c87d18c59ea60dda09c48\",\"object\":\"response\",\"created_at\":1794958246,\"status\":\"in_progress\",\"access_programs\":{\"cyber\":\"standard\"},\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":64,\"max_tool_calls\":null,\"model\":\"gpt-6.2-sol\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test-gpt-6-2\",\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"all_turns\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_07f67ae2da8229ab016afce3a78ed087d194f941cb61d22e2d\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_07f67ae2da8229ab016afce3a78ed087d194f941cb61d22e2d\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Hi\",\"item_id\":\"msg_07f67ae2da8229ab016afce3a78ed087d194f941cb61d22e2d\",\"logprobs\":[],\"obfuscation\":\"hZqFjhc61fDhsR\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"!\",\"item_id\":\"msg_07f67ae2da8229ab016afce3a78ed087d194f941cb61d22e2d\",\"logprobs\":[],\"obfuscation\":\"H9XOiwc1H6mzOje\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_07f67ae2da8229ab016afce3a78ed087d194f941cb61d22e2d\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Hi!\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_07f67ae2da8229ab016afce3a78ed087d194f941cb61d22e2d\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi!\"},\"sequence_number\":7}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_07f67ae2da8229ab016afce3a78ed087d194f941cb61d22e2d\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":8}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_07f67ae2da8229ab016afce3a6e30c87d18c59ea60dda09c48\",\"object\":\"response\",\"created_at\":1794958246,\"status\":\"completed\",\"access_programs\":{\"cyber\":\"standard\"},\"background\":false,\"completed_at\":1794958247,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":64,\"max_tool_calls\":null,\"model\":\"gpt-6.2-sol\",\"moderation\":null,\"output\":[{\"id\":\"msg_07f67ae2da8229ab016afce3a78ed087d194f941cb61d22e2d\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test-gpt-6-2\",\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"all_turns\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":4764,\"input_tokens_details\":{\"cache_write_tokens\":4761,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":4761},\"cached_tokens\":0},\"output_tokens\":6,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":4770},\"user\":null,\"metadata\":{}},\"sequence_number\":9}\n\n" + } + }, + { + "transport": "http", + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/responses", + "headers": { + "content-type": "application/json" + }, + "body": "{\"model\":\"gpt-6.2-sol\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Say hi.\"}]}],\"stream\":true,\"max_output_tokens\":64,\"store\":false,\"prompt_cache_key\":\"recorded-cache-test-gpt-6-2\",\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"}}" + }, + "response": { + "status": 200, + "headers": { + "content-type": "text/event-stream; charset=utf-8" + }, + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_0f113cfa2e480b83016afce3a7d6d087d1903f6e8f57f0fc11\",\"object\":\"response\",\"created_at\":1794958247,\"status\":\"in_progress\",\"access_programs\":{\"cyber\":\"standard\"},\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":64,\"max_tool_calls\":null,\"model\":\"gpt-6.2-sol\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test-gpt-6-2\",\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"all_turns\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0f113cfa2e480b83016afce3a7d6d087d1903f6e8f57f0fc11\",\"object\":\"response\",\"created_at\":1794958247,\"status\":\"in_progress\",\"access_programs\":{\"cyber\":\"standard\"},\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":64,\"max_tool_calls\":null,\"model\":\"gpt-6.2-sol\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test-gpt-6-2\",\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"all_turns\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0f113cfa2e480b83016afce3a85ba487d1ab8e8301eab241de\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0f113cfa2e480b83016afce3a85ba487d1ab8e8301eab241de\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Hi\",\"item_id\":\"msg_0f113cfa2e480b83016afce3a85ba487d1ab8e8301eab241de\",\"logprobs\":[],\"obfuscation\":\"zE268aneFhwDHI\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"!\",\"item_id\":\"msg_0f113cfa2e480b83016afce3a85ba487d1ab8e8301eab241de\",\"logprobs\":[],\"obfuscation\":\"jbLZWJZBccm65UK\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0f113cfa2e480b83016afce3a85ba487d1ab8e8301eab241de\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Hi!\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0f113cfa2e480b83016afce3a85ba487d1ab8e8301eab241de\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi!\"},\"sequence_number\":7}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0f113cfa2e480b83016afce3a85ba487d1ab8e8301eab241de\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":8}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0f113cfa2e480b83016afce3a7d6d087d1903f6e8f57f0fc11\",\"object\":\"response\",\"created_at\":1794958247,\"status\":\"completed\",\"access_programs\":{\"cyber\":\"standard\"},\"background\":false,\"completed_at\":1794958248,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":64,\"max_tool_calls\":null,\"model\":\"gpt-6.2-sol\",\"moderation\":null,\"output\":[{\"id\":\"msg_0f113cfa2e480b83016afce3a85ba487d1ab8e8301eab241de\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test-gpt-6-2\",\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"all_turns\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":4764,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":4761},\"output_tokens\":6,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":4770},\"user\":null,\"metadata\":{}},\"sequence_number\":9}\n\n" + } + } + ] +} diff --git a/packages/ai/test/fixtures/recordings/openai-responses-cache/reports-cached-tokens-on-identical-second-call.json b/packages/ai/test/fixtures/recordings/openai-responses-cache/reports-cached-tokens-on-identical-second-call.json index db58bd86a60b..e4314409148f 100644 --- a/packages/ai/test/fixtures/recordings/openai-responses-cache/reports-cached-tokens-on-identical-second-call.json +++ b/packages/ai/test/fixtures/recordings/openai-responses-cache/reports-cached-tokens-on-identical-second-call.json @@ -8,7 +8,7 @@ "cache" ], "name": "openai-responses-cache/reports-cached-tokens-on-identical-second-call", - "recordedAt": "2026-09-15T04:25:37.715Z" + "recordedAt": "2026-11-17T23:30:46.756Z" }, "interactions": [ { @@ -19,14 +19,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-4.1-mini\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Say hi.\"}]}],\"instructions\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \",\"store\":false,\"prompt_cache_key\":\"recorded-cache-test\",\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":16,\"temperature\":0,\"stream\":true}" + "body": "{\"model\":\"gpt-4.1-mini\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Say hi.\"}]}],\"stream\":true,\"max_output_tokens\":16,\"temperature\":0,\"store\":false,\"prompt_cache_key\":\"recorded-cache-test\",\"include\":[\"reasoning.encrypted_content\"]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_0b544db5a96e4900016aa8c8bf38d087d1ab898859128ff682\",\"object\":\"response\",\"created_at\":1789446335,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \",\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0b544db5a96e4900016aa8c8bf38d087d1ab898859128ff682\",\"object\":\"response\",\"created_at\":1789446335,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \",\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0b544db5a96e4900016aa8c8c0aa1c87d196a81ae2ce3dc7b6\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0b544db5a96e4900016aa8c8c0aa1c87d196a81ae2ce3dc7b6\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Hi\",\"item_id\":\"msg_0b544db5a96e4900016aa8c8c0aa1c87d196a81ae2ce3dc7b6\",\"logprobs\":[],\"obfuscation\":\"E3sTmu2LSf1Te7\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_0b544db5a96e4900016aa8c8c0aa1c87d196a81ae2ce3dc7b6\",\"logprobs\":[],\"obfuscation\":\"GizZlllSxHuQ4QH\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0b544db5a96e4900016aa8c8c0aa1c87d196a81ae2ce3dc7b6\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Hi.\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0b544db5a96e4900016aa8c8c0aa1c87d196a81ae2ce3dc7b6\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"},\"sequence_number\":7}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0b544db5a96e4900016aa8c8c0aa1c87d196a81ae2ce3dc7b6\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"}],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":8}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0b544db5a96e4900016aa8c8bf38d087d1ab898859128ff682\",\"object\":\"response\",\"created_at\":1789446335,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446336,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \",\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[{\"id\":\"msg_0b544db5a96e4900016aa8c8c0aa1c87d196a81ae2ce3dc7b6\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":4765,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":3,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":4768},\"user\":null,\"metadata\":{}},\"sequence_number\":9}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_07d2a26a74e404a9016afce3a5b93c87d194dc67e44da02c05\",\"object\":\"response\",\"created_at\":1794958245,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_07d2a26a74e404a9016afce3a5b93c87d194dc67e44da02c05\",\"object\":\"response\",\"created_at\":1794958245,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_07d2a26a74e404a9016afce3a60cf887d1929fc2720c5a44fa\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_07d2a26a74e404a9016afce3a60cf887d1929fc2720c5a44fa\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Hi\",\"item_id\":\"msg_07d2a26a74e404a9016afce3a60cf887d1929fc2720c5a44fa\",\"logprobs\":[],\"obfuscation\":\"nUShzSC9RixM7N\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_07d2a26a74e404a9016afce3a60cf887d1929fc2720c5a44fa\",\"logprobs\":[],\"obfuscation\":\"Yvo045qoMRGzrAU\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_07d2a26a74e404a9016afce3a60cf887d1929fc2720c5a44fa\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Hi.\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_07d2a26a74e404a9016afce3a60cf887d1929fc2720c5a44fa\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"},\"sequence_number\":7}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_07d2a26a74e404a9016afce3a60cf887d1929fc2720c5a44fa\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"}],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":8}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_07d2a26a74e404a9016afce3a5b93c87d194dc67e44da02c05\",\"object\":\"response\",\"created_at\":1794958245,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958246,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[{\"id\":\"msg_07d2a26a74e404a9016afce3a60cf887d1929fc2720c5a44fa\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":4765,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":3,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":4768},\"user\":null,\"metadata\":{}},\"sequence_number\":9}\n\n" } }, { @@ -37,14 +37,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-4.1-mini\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Say hi.\"}]}],\"instructions\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \",\"store\":false,\"prompt_cache_key\":\"recorded-cache-test\",\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":16,\"temperature\":0,\"stream\":true}" + "body": "{\"model\":\"gpt-4.1-mini\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Say hi.\"}]}],\"stream\":true,\"max_output_tokens\":16,\"temperature\":0,\"store\":false,\"prompt_cache_key\":\"recorded-cache-test\",\"include\":[\"reasoning.encrypted_content\"]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_053d4a7b88999ef8016aa8c8c0f5a087d186ed7e97388c2864\",\"object\":\"response\",\"created_at\":1789446336,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \",\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_053d4a7b88999ef8016aa8c8c0f5a087d186ed7e97388c2864\",\"object\":\"response\",\"created_at\":1789446336,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \",\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_053d4a7b88999ef8016aa8c8c1adb487d1b1b13a2da82cb0f5\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_053d4a7b88999ef8016aa8c8c1adb487d1b1b13a2da82cb0f5\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Hi\",\"item_id\":\"msg_053d4a7b88999ef8016aa8c8c1adb487d1b1b13a2da82cb0f5\",\"logprobs\":[],\"obfuscation\":\"8eVetcYuxED1zq\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_053d4a7b88999ef8016aa8c8c1adb487d1b1b13a2da82cb0f5\",\"logprobs\":[],\"obfuscation\":\"aCJ0ajC8AIMHUby\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_053d4a7b88999ef8016aa8c8c1adb487d1b1b13a2da82cb0f5\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Hi.\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_053d4a7b88999ef8016aa8c8c1adb487d1b1b13a2da82cb0f5\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"},\"sequence_number\":7}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_053d4a7b88999ef8016aa8c8c1adb487d1b1b13a2da82cb0f5\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"}],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":8}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_053d4a7b88999ef8016aa8c8c0f5a087d186ed7e97388c2864\",\"object\":\"response\",\"created_at\":1789446336,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446337,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. You are a concise, factual assistant. Answer precisely and avoid filler. Cite numbers when known. \",\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[{\"id\":\"msg_053d4a7b88999ef8016aa8c8c1adb487d1b1b13a2da82cb0f5\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":4765,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":4608},\"output_tokens\":3,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":4768},\"user\":null,\"metadata\":{}},\"sequence_number\":9}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_039431d5da8d96ce016afce3a650fc87d1ba7bb0b18ef308eb\",\"object\":\"response\",\"created_at\":1794958246,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_039431d5da8d96ce016afce3a650fc87d1ba7bb0b18ef308eb\",\"object\":\"response\",\"created_at\":1794958246,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_039431d5da8d96ce016afce3a69fbc87d1bf6f0e0f34a931bc\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_039431d5da8d96ce016afce3a69fbc87d1bf6f0e0f34a931bc\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Hi\",\"item_id\":\"msg_039431d5da8d96ce016afce3a69fbc87d1bf6f0e0f34a931bc\",\"logprobs\":[],\"obfuscation\":\"8ZI76K05Su283K\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_039431d5da8d96ce016afce3a69fbc87d1bf6f0e0f34a931bc\",\"logprobs\":[],\"obfuscation\":\"r2U6cKZy1cQX4M6\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_039431d5da8d96ce016afce3a69fbc87d1bf6f0e0f34a931bc\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Hi.\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_039431d5da8d96ce016afce3a69fbc87d1bf6f0e0f34a931bc\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"},\"sequence_number\":7}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_039431d5da8d96ce016afce3a69fbc87d1bf6f0e0f34a931bc\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"}],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":8}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_039431d5da8d96ce016afce3a650fc87d1ba7bb0b18ef308eb\",\"object\":\"response\",\"created_at\":1794958246,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958246,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":16,\"max_tool_calls\":null,\"model\":\"gpt-4.1-mini-2025-04-14\",\"moderation\":null,\"output\":[{\"id\":\"msg_039431d5da8d96ce016afce3a69fbc87d1bf6f0e0f34a931bc\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hi.\"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":\"recorded-cache-test\",\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":4765,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":4608},\"output_tokens\":3,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":4768},\"user\":null,\"metadata\":{}},\"sequence_number\":9}\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/openai-responses-websocket/continues-a-tool-call-over-one-socket.json b/packages/ai/test/fixtures/recordings/openai-responses-websocket/continues-a-tool-call-over-one-socket.json index cef2a9b8b3cb..a88739ea5dd6 100644 --- a/packages/ai/test/fixtures/recordings/openai-responses-websocket/continues-a-tool-call-over-one-socket.json +++ b/packages/ai/test/fixtures/recordings/openai-responses-websocket/continues-a-tool-call-over-one-socket.json @@ -12,7 +12,7 @@ "continuation" ], "name": "openai-responses-websocket/continues-a-tool-call-over-one-socket", - "recordedAt": "2026-09-15T04:26:14.118Z" + "recordedAt": "2026-11-17T23:30:52.894Z" }, "interactions": [ { @@ -30,562 +30,557 @@ { "direction": "client", "kind": "text", - "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"instructions\":\"Call get_weather once, then reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":50}" + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Call get_weather once, then reply exactly: Paris is sunny.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"max_output_tokens\":50,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_0d9a44b6df400533016aa8c8e36de887d1be260913d131b2ca\",\"object\":\"response\",\"created_at\":1789446371,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Call get_weather once, then reply exactly: Paris is sunny.\",\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" + "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_04f4a0827f8a3b8e016afce3a96c8487d1ac58d6f60a6967db\",\"object\":\"response\",\"created_at\":1794958249,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0d9a44b6df400533016aa8c8e36de887d1be260913d131b2ca\",\"object\":\"response\",\"created_at\":1789446371,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Call get_weather once, then reply exactly: Paris is sunny.\",\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" + "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_04f4a0827f8a3b8e016afce3a96c8487d1ac58d6f60a6967db\",\"object\":\"response\",\"created_at\":1794958249,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMjkTDRDSH8NF87_7rVqaYHPh3s50_dKjFuErKXNrbllU6-WO1sUja3OI9tItISMP9vJRuGv8TUe66uEuA7qdzaqiRMMG56QOmtV8_4ZJahMhjV52nZM1ESM88nTdzb3vgzdYQoWJrOObr4jfCdc_UAiz9eDLjXJU822aIZQQ5lK4Awc0c9b8jCar9Sk9H9PizctBYHemxHYFYQl2bsNV6vaAnVn_E2jhRRcMSy5HVbpqsN2177lCJl_A21cXqMQchf8yrnXMB2MrZg8jbmEWWzwsdmaAq40D_JT7w_tbMGvUqY_rVxVFFeZrD_mXJrtVgG9oqNUdNs6EvkTfwLsnw-FzXiXlCcRTZOIc1WH7vimC-PFNO8cO8Fh7kedeDILI41LG1zjDo8DMoNsuDzd1fYchC-o6BSPSi2yFFMIPgUWCOM-76vO-j5l44eWOPUETj850_1a8tbpA-GLeXVIwm8BBvbP9wz74I0zXSDCjPMdfueH5FFriArRVB1n2VAKdwmN5uQuRjjIdqFXTQrHCQVZSVgFO4o8MluptmbPnvkvExnXaNqwT-W2znRGr3R7Tx4kgylIKgrgfVbZAiKU4NMyx1nV1EXjVpMbW_08wwVV7ZdziDKVsscbCNorWofFw-6ha7MQpX16eP6Hreb88vnE8LRhLB6XetNe12kHjjqmchR9gQk4M4JdF9n682XTUm0EREfU7zmzTDwROOoJJPurasF7x8dtTs8-S5hRBZxY3m2yZlNoO6xHdvc_ysJ1WaAtBcRDJ_-MaetWwIKWHta6sw5ra93W5DplJdK7WJAyAknqXUt42kNKYJxQ5anuesm1i9cgN854tc_j0-cb6wVKXrNto5CVV4xYrGtrbb0xQKHx5bcjeRVRtuJZH_KyQMe1Ct_7U-VCiVKBlf8T0vBCB2O3MQZ3xkLRE8JwV7Z-4PuRG39-qe3Hwpikntq6JAdQSy9qDZ4_mtJ_NPThI_livwLBd1_oAG9_iizrO3hccKDxhsFXtDa8Nlk-X4SnvR7HMFo5rrSXyan5f1VWq02rrUF4lp19cEuGvgpJX2J94ytbwcs1l0w2PXE--AAjFuB1UtM2rCaPI8KQ6Sa3LFG399HlyqnuIZIbr4SDJvshCpy4uEO_avpF8_kusO-Mnavk9tEGoTOE0pKWKn3U-rQKKA==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}" + "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OOq6oY6me7LANPRRMG4F-z9bCn1LcCu-ch7rIZAp6C2VbTGlUe5Hgl-SVdvwHUxE_yKGc1-xhAd_l3QFuFuxLCyZwbKehKYzu7J5gnJGLf8JHL1e1mumq-PtIILnjsptYqnwU0C5WyQnoxcKX3Ua5UYJvIZS2TorAMKqdkKKuToI4zKT2PKvTpOuSLyLQKMnqQHGYhGFBY2fZRuHD_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cXeebbwPZ1yH8LeglEuJv6nug6f7WiZmqPOCN7-OaCWiImFbR1c1vFtq-v0uigu3WFqauH55BEsN1e680T3FQ07B9aeyRZSrFmn1okbOh5C6avaxSSEcG0QAbwylAHXjjI9rsZUQ\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_part.added\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"output_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"\"},\"sequence_number\":3,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_part.added\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"output_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"\"},\"sequence_number\":3,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"**Implementing weather response**\\n\\nI\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"TbCJpsdDvQ3o\",\"output_index\":0,\"sequence_number\":4,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"**Responding about Paris weather**\\n\\nI\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"TxOun6MvZo7\",\"output_index\":0,\"sequence_number\":4,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" need\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"3NIheDr1kOF\",\"output_index\":0,\"sequence_number\":5,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" need\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"FXHFrDE0vbQ\",\"output_index\":0,\"sequence_number\":5,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"MbC15foL7SIw7\",\"output_index\":0,\"sequence_number\":6,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"UU290KtHgXWP6\",\"output_index\":0,\"sequence_number\":6,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" follow\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"We9s1kCww\",\"output_index\":0,\"sequence_number\":7,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" make\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"YRkDilmzSrx\",\"output_index\":0,\"sequence_number\":7,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"Kgi3ip1iR2ZT\",\"output_index\":0,\"sequence_number\":8,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" sure\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"GFklqIzhcWn\",\"output_index\":0,\"sequence_number\":8,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" developer\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"KFxLc4\",\"output_index\":0,\"sequence_number\":9,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"jZTkuTMwFRtQwU\",\"output_index\":0,\"sequence_number\":9,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"'s\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"ERgA3Gaiks0yYV\",\"output_index\":0,\"sequence_number\":10,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" call\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"o01fX1nsM6M\",\"output_index\":0,\"sequence_number\":10,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" instructions\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"Iw8\",\"output_index\":0,\"sequence_number\":11,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"nM1Xpql0EbwU\",\"output_index\":0,\"sequence_number\":11,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" and\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"CbL5c4Exf10E\",\"output_index\":0,\"sequence_number\":12,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" get\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"KDfoZHUgJyYZ\",\"output_index\":0,\"sequence_number\":12,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" call\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"panR6nMaWqv\",\"output_index\":0,\"sequence_number\":13,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"_weather\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"k9KlqLmS\",\"output_index\":0,\"sequence_number\":13,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"sxlbh7P7akjF\",\"output_index\":0,\"sequence_number\":14,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" function\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"PHVbPyi\",\"output_index\":0,\"sequence_number\":14,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" weather\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"ku1RV4qB\",\"output_index\":0,\"sequence_number\":15,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"hdtbzReFTCBka\",\"output_index\":0,\"sequence_number\":15,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" tool\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"Vlu0g7WGuY3\",\"output_index\":0,\"sequence_number\":16,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" check\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"JaEKNRO5pL\",\"output_index\":0,\"sequence_number\":16,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" just\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"gh23NDqizMl\",\"output_index\":0,\"sequence_number\":17,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"jMtlnzBOEZOO\",\"output_index\":0,\"sequence_number\":17,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" once\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"TQdqoWkbZrk\",\"output_index\":0,\"sequence_number\":18,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" weather\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"7qFMM8NB\",\"output_index\":0,\"sequence_number\":18,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" for\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"xyhpMfVjyqq5\",\"output_index\":0,\"sequence_number\":19,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" for\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"ANiQmyjin4G5\",\"output_index\":0,\"sequence_number\":19,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"vqbXSgY6GLKp\",\"output_index\":0,\"sequence_number\":20,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" Paris\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"x0LGZ4hW7S\",\"output_index\":0,\"sequence_number\":20,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" data\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"k8i4o9tjubR\",\"output_index\":0,\"sequence_number\":21,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"S9YsNRWhsJWIITI\",\"output_index\":0,\"sequence_number\":21,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"Cp81EzNFyVcTaDG\",\"output_index\":0,\"sequence_number\":22,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" It\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"0TIMRm04DVL1q\",\"output_index\":0,\"sequence_number\":22,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" After\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"gZvjSHmOcX\",\"output_index\":0,\"sequence_number\":23,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’s\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"obeXkMcrS7dnb0\",\"output_index\":0,\"sequence_number\":23,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" that\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"WAdp4PoJOHO\",\"output_index\":0,\"sequence_number\":24,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" essential\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"csRSWT\",\"output_index\":0,\"sequence_number\":24,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\",\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"RixHPsXTUsaOO70\",\"output_index\":0,\"sequence_number\":25,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"RkwlsD6dtlcg4\",\"output_index\":0,\"sequence_number\":25,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"C22hnkcv3owo0d\",\"output_index\":0,\"sequence_number\":26,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" do\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"GYGuyvPqny9C4\",\"output_index\":0,\"sequence_number\":26,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’ll\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"PlVRoVD38Fzc1\",\"output_index\":0,\"sequence_number\":27,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" this\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"ptaqJLlGZnT\",\"output_index\":0,\"sequence_number\":27,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" be\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"hPrJxA6NlRIGZ\",\"output_index\":0,\"sequence_number\":28,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" before\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"ZfPa7DSp7\",\"output_index\":0,\"sequence_number\":28,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" ready\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"B19EzScDoZ\",\"output_index\":0,\"sequence_number\":29,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" providing\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"yIUHlz\",\"output_index\":0,\"sequence_number\":29,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"9UPFCS4mptILJ\",\"output_index\":0,\"sequence_number\":30,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" any\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"kBbcLJyCZxOO\",\"output_index\":0,\"sequence_number\":30,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" respond\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"wM6fcu6j\",\"output_index\":0,\"sequence_number\":31,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" commentary\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"CKPte\",\"output_index\":0,\"sequence_number\":31,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" in\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"Q6aijntRNsTdM\",\"output_index\":0,\"sequence_number\":32,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" on\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"pyYR6jdcKfvYq\",\"output_index\":0,\"sequence_number\":32,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" a\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"j3odkTfYv8dDPp\",\"output_index\":0,\"sequence_number\":33,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" it\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"oARznnWjmOdJ6\",\"output_index\":0,\"sequence_number\":33,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" straightforward\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"\",\"output_index\":0,\"sequence_number\":34,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"goAXTxTRhJelO3n\",\"output_index\":0,\"sequence_number\":34,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" manner\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"BGJ8SDV9I\",\"output_index\":0,\"sequence_number\":35,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" Once\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"H5f2BBJXYEF\",\"output_index\":0,\"sequence_number\":35,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" by\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"lM69n9Hu3r1YG\",\"output_index\":0,\"sequence_number\":36,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"sjbbyKGFID0l29\",\"output_index\":0,\"sequence_number\":36,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" saying\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"zYkNnOIOm\",\"output_index\":0,\"sequence_number\":37,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" get\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"D0VPhN6QrScc\",\"output_index\":0,\"sequence_number\":37,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\",\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"z6nCAycYSFfJFZA\",\"output_index\":0,\"sequence_number\":38,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"q9Xz63YO4vYy\",\"output_index\":0,\"sequence_number\":38,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" “\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"yYE1PTF5KvQRn5\",\"output_index\":0,\"sequence_number\":39,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" information\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"ExkS\",\"output_index\":0,\"sequence_number\":39,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"Paris\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"zlWVqe3y8Q6\",\"output_index\":0,\"sequence_number\":40,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\",\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"jpclyQ8a1cIDidU\",\"output_index\":0,\"sequence_number\":40,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" is\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"4DAQpZBUFnFZO\",\"output_index\":0,\"sequence_number\":41,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"RjqHdd1pJUmW7p\",\"output_index\":0,\"sequence_number\":41,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" sunny\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"urn1MrxoKY\",\"output_index\":0,\"sequence_number\":42,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’ll\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"Nlq8YM1s5R5AS\",\"output_index\":0,\"sequence_number\":42,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".”\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"LhcYABogHBOAwH\",\"output_index\":0,\"sequence_number\":43,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" report\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"J6N6Oczs7\",\"output_index\":0,\"sequence_number\":43,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" It\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"35qoo13EcH3X7\",\"output_index\":0,\"sequence_number\":44,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" back\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"rc2wDB7zo9Q\",\"output_index\":0,\"sequence_number\":44,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’s\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"8hjeaSFDVMzBvP\",\"output_index\":0,\"sequence_number\":45,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" that\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"dRHYuqDwSAK\",\"output_index\":0,\"sequence_number\":45,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" essential\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"Rm9Bwp\",\"output_index\":0,\"sequence_number\":46,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" it\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"gg2rVCiibjWys\",\"output_index\":0,\"sequence_number\":46,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"7HFMBnHcZbacD\",\"output_index\":0,\"sequence_number\":47,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’s\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"VCWDCnCpIDR0f2\",\"output_index\":0,\"sequence_number\":47,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" make\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"nI7WmQUCakM\",\"output_index\":0,\"sequence_number\":48,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" sunny\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"bpOICh88bJ\",\"output_index\":0,\"sequence_number\":48,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"6mbcq3VEkBwZ\",\"output_index\":0,\"sequence_number\":49,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" in\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"R8y354jpywgmb\",\"output_index\":0,\"sequence_number\":49,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" call\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"KPrqt6D9EsE\",\"output_index\":0,\"sequence_number\":50,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" Paris\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"HkyNSmcLDq\",\"output_index\":0,\"sequence_number\":50,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\",\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"GRYEOxIsz2HS8w0\",\"output_index\":0,\"sequence_number\":51,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"rwMGpb5Dng03IZ9\",\"output_index\":0,\"sequence_number\":51,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" then\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"Xkl9XYMfWN7\",\"output_index\":0,\"sequence_number\":52,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"kxiPsnvrRi4iQh\",\"output_index\":0,\"sequence_number\":52,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" provide\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"KLDzW6ZT\",\"output_index\":0,\"sequence_number\":53,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" want\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"8OJeWCa1PE1\",\"output_index\":0,\"sequence_number\":53,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" that\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"x6PcDZl3shp\",\"output_index\":0,\"sequence_number\":54,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"cYaLOkTW0Iwr7\",\"output_index\":0,\"sequence_number\":54,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" exact\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"YHWDXsg0BV\",\"output_index\":0,\"sequence_number\":55,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" make\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"zrhoxR4WuQ9\",\"output_index\":0,\"sequence_number\":55,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" information\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"RAzc\",\"output_index\":0,\"sequence_number\":56,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" sure\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"kgCoQrpQpnq\",\"output_index\":0,\"sequence_number\":56,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" without\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"FLlSX8hW\",\"output_index\":0,\"sequence_number\":57,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"cAd56PoeHpsjLs\",\"output_index\":0,\"sequence_number\":57,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" any\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"vCUqWUWWDTW6\",\"output_index\":0,\"sequence_number\":58,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" get\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"SoHSW5zjcpka\",\"output_index\":0,\"sequence_number\":58,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" additional\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"QOcjY\",\"output_index\":0,\"sequence_number\":59,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" every\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"hOWGZNhkff\",\"output_index\":0,\"sequence_number\":59,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" fluff\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"4N5N79MGrj\",\"output_index\":0,\"sequence_number\":60,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" detail\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"Z0I0DSOfY\",\"output_index\":0,\"sequence_number\":60,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"—\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"RC7OofXAZPgzwg4\",\"output_index\":0,\"sequence_number\":61,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" right\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"nv6Eu0caca\",\"output_index\":0,\"sequence_number\":61,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"keeping\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"r3W2LbFFc\",\"output_index\":0,\"sequence_number\":62,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" and\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"pM5pn0X2zSqz\",\"output_index\":0,\"sequence_number\":62,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" it\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"FfX7i9BVTzP0c\",\"output_index\":0,\"sequence_number\":63,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" keep\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"TlG6U1VDs60\",\"output_index\":0,\"sequence_number\":63,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" clear\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"CrbdwCSLpZ\",\"output_index\":0,\"sequence_number\":64,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"OKcq1O0R1U6K\",\"output_index\":0,\"sequence_number\":64,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" and\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"owo3yXXSQ6jZ\",\"output_index\":0,\"sequence_number\":65,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" user\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"aCrYIelV6NK\",\"output_index\":0,\"sequence_number\":65,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" direct\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"gt5hFKptL\",\"output_index\":0,\"sequence_number\":66,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" informed\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"9Xl5FDJ\",\"output_index\":0,\"sequence_number\":66,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"!\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"7Yo2k8CiX6rZK3k\",\"output_index\":0,\"sequence_number\":67,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" in\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"eY8UD8HO9UL3M\",\"output_index\":0,\"sequence_number\":67,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"RAcZYrckPw8dh3\",\"output_index\":0,\"sequence_number\":68,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" a\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"79ReeWDf7Mh1RU\",\"output_index\":0,\"sequence_number\":68,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’ll\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"CR9GWOnHlEkV9\",\"output_index\":0,\"sequence_number\":69,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" clear\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"R5TPiDWgoz\",\"output_index\":0,\"sequence_number\":69,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" make\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"GufKyMsROBB\",\"output_index\":0,\"sequence_number\":70,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" and\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"kp12sKRlo5tu\",\"output_index\":0,\"sequence_number\":70,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" sure\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"UhvVD6VIeLd\",\"output_index\":0,\"sequence_number\":71,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" friendly\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"rLiMNbk\",\"output_index\":0,\"sequence_number\":71,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"ziUpHNR0ZHr4\",\"output_index\":0,\"sequence_number\":72,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" way\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"CqkKJEwnu3en\",\"output_index\":0,\"sequence_number\":72,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" tool\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"ZjPg0mkR8Nq\",\"output_index\":0,\"sequence_number\":73,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"!\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"BZesWxQUFe0XBqY\",\"output_index\":0,\"sequence_number\":73,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" call\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"x6DFe0sU1Mv\",\"output_index\":0,\"sequence_number\":74,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" Let's\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"lPXRaDKRFh\",\"output_index\":0,\"sequence_number\":74,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" is\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"R6f2YO4oPLB81\",\"output_index\":0,\"sequence_number\":75,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" confirm\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"JffaxeTH\",\"output_index\":0,\"sequence_number\":75,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" done\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"cf2CMjdUYdG\",\"output_index\":0,\"sequence_number\":76,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" that\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"MvqgF7TG6HK\",\"output_index\":0,\"sequence_number\":76,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" properly\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"cnYHDGP\",\"output_index\":0,\"sequence_number\":77,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" sunshine\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"TxX0i4h\",\"output_index\":0,\"sequence_number\":77,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" and\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"W6cdOAi9VvWn\",\"output_index\":0,\"sequence_number\":78,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" part\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"GctUcwaCZFv\",\"output_index\":0,\"sequence_number\":78,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" use\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"PGTdQ0QwpnyX\",\"output_index\":0,\"sequence_number\":79,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" once\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"wAel6F9Yii5\",\"output_index\":0,\"sequence_number\":79,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"2QX1s43jqUIk\",\"output_index\":0,\"sequence_number\":80,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"jzOQHr0tBEg8M5\",\"output_index\":0,\"sequence_number\":80,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" commentary\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"qKkgA\",\"output_index\":0,\"sequence_number\":81,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" fetch\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"LfcLtFQVos\",\"output_index\":0,\"sequence_number\":81,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" for\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"pFbEEeKNZj2h\",\"output_index\":0,\"sequence_number\":82,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"ONQu05QzdItR\",\"output_index\":0,\"sequence_number\":82,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"OIt5IE0Qo6aX\",\"output_index\":0,\"sequence_number\":83,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" data\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"9RQxeFkiDCa\",\"output_index\":0,\"sequence_number\":83,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" call\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"fEv5R2QxzLt\",\"output_index\":0,\"sequence_number\":84,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"obfuscation\":\"UXAAcyDJ04UkOeO\",\"output_index\":0,\"sequence_number\":84,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"obfuscation\":\"uCr3VWty9DouhDW\",\"output_index\":0,\"sequence_number\":85,\"summary_index\":0}" + "body": "{\"type\":\"response.reasoning_summary_text.done\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"output_index\":0,\"sequence_number\":85,\"summary_index\":0,\"text\":\"**Responding about Paris weather**\\n\\nI need to make sure I call the get_weather function to check the weather for Paris. It’s essential to do this before providing any commentary on it. Once I get the information, I’ll report back that it’s sunny in Paris. I want to make sure I get every detail right and keep the user informed in a clear and friendly way! Let's confirm that sunshine part once I fetch the data.\"}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_text.done\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"output_index\":0,\"sequence_number\":86,\"summary_index\":0,\"text\":\"**Implementing weather response**\\n\\nI need to follow the developer's instructions and call the weather tool just once for the data. After that, I’ll be ready to respond in a straightforward manner by saying, “Paris is sunny.” It’s essential to make the call, then provide that exact information without any additional fluff—keeping it clear and direct! I’ll make sure the tool call is done properly and use the commentary for the call.\"}" + "body": "{\"type\":\"response.reasoning_summary_part.done\",\"item_id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"output_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"**Responding about Paris weather**\\n\\nI need to make sure I call the get_weather function to check the weather for Paris. It’s essential to do this before providing any commentary on it. Once I get the information, I’ll report back that it’s sunny in Paris. I want to make sure I get every detail right and keep the user informed in a clear and friendly way! Let's confirm that sunshine part once I fetch the data.\"},\"sequence_number\":86,\"summary_index\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.reasoning_summary_part.done\",\"item_id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"output_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"**Implementing weather response**\\n\\nI need to follow the developer's instructions and call the weather tool just once for the data. After that, I’ll be ready to respond in a straightforward manner by saying, “Paris is sunny.” It’s essential to make the call, then provide that exact information without any additional fluff—keeping it clear and direct! I’ll make sure the tool call is done properly and use the commentary for the call.\"},\"sequence_number\":87,\"summary_index\":0}" + "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OOrT7qXE2O6RNycJD3REopr6BtyBUbAZkYK601P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XnQ6pkdizQdcMTafF6lANSUQU8_K0lXNt1v4421_-EKT9bjT6wpw3t_XIBxB1xhUjWs7H65fD7zSxp1Hku9imIh81jNqO-8kgLy1WZWpX0ZuKDYzupn4KwdTEySTAssxazkl5-4wtFgEOyZuDbVX_QRGEPV4v4ULinrE53d7FUjJs5KPkOosmuXgxEf8NuKW2Wi42nOuNvl11L1YZTjEaKqkchhojmXZ8GGar3TcllrqOAmpqlmvGMvZxpJo5jWejhAlYL7pM-ddhzB49DhFBGg0a-LuDMsViHkSq3wqA60jgotJrY_SXo__-XRKNgDCqoj5m-mLeRWibXAeY1XZyiI9Qeo8DvhJDyibEsGWd1-t22N8gGAc_eMmZGf02YSnCwSQ0tSpRvZ170yeU-3tHDq6N_bzT3NPPQNjYE0ZZUo5uMP3WVv4TQ3lGasuSYWy0CoBvssMiQVT7FSoptVQrB9sDJwwnqsDzxE2zP0lB2Tl2a6bygyB2c6QYvrciLCLW7kxJWNPhcMsH42S60Y53aarS1PYp0g_ZRJfTWJrm9VssGwhM-K_bol1ZJHQXzIi0CogOo3W_OlJnTGzP0MVLVlgyisQNSqPcMwSSntvrDIVPceWQ3EXRVWZIYy86EJ2eLJBaCqLghvka1tgdn3Wr4VZYywpusYvQkNoJ6iLLOjkLxA880jMSvvFEqDeJekbID8jlhZ7h0NX0NnBMFF-Jsn53zFgHmaNLjj1m-UU_ARYXX3ow4W-O0hrEiJvM00jQ5BlHE5nCOZV1NoYgSUjzgUn18Uc7UTC5ZO8yQ62\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"**Responding about Paris weather**\\n\\nI need to make sure I call the get_weather function to check the weather for Paris. It’s essential to do this before providing any commentary on it. Once I get the information, I’ll report back that it’s sunny in Paris. I want to make sure I get every detail right and keep the user informed in a clear and friendly way! Let's confirm that sunshine part once I fetch the data.\"}]},\"output_index\":0,\"sequence_number\":87}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_0d9a44b6df400533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xpl6rinOgnEAKGPUUr52KYqA7tVuXZUk2JQOOZqV7vAKzpVs5mDfj6s14s1sHF4zJE5AnBqlppcDA46MOkzBvDdfdaczWY8GA-DCBRAjfFfIBP5l9z3iwbPt7R5s3vqIpxJ2P7FoemX-0PjAcCDxGaCWRS5M_D6ONGrJ-mbmk7lp9rmGTvMleTf1RoK7b87Rh1TLRmudLMnmDmxDapNN8g-c7YtmFgl7LL9D2yPpqUcrZpTQAkwbX9i4mIUIIkLgDCtjoVvs2LNSxVutJ9yHxgel9g7mSZdpu03muIGbRj-K44IuEIq4gSM_H8rz2OR9YizsZG_19b\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"**Implementing weather response**\\n\\nI need to follow the developer's instructions and call the weather tool just once for the data. After that, I’ll be ready to respond in a straightforward manner by saying, “Paris is sunny.” It’s essential to make the call, then provide that exact information without any additional fluff—keeping it clear and direct! I’ll make sure the tool call is done properly and use the commentary for the call.\"}]},\"output_index\":0,\"sequence_number\":88}" + "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"fc_04f4a0827f8a3b8e016afce3abe81887d1847d6fa13858cf38\",\"type\":\"function_call\",\"status\":\"in_progress\",\"arguments\":\"\",\"call_id\":\"call_DJQAwSFM5bP1y7IGXWQdk1bq\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":88}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"fc_0d9a44b6df400533016aa8c8e5585c87d189ec09ea7ce4c445\",\"type\":\"function_call\",\"status\":\"in_progress\",\"arguments\":\"\",\"call_id\":\"call_hejtTYDa1IfLyNIzb3fq9gJs\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":89}" + "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"{\\\"\",\"item_id\":\"fc_04f4a0827f8a3b8e016afce3abe81887d1847d6fa13858cf38\",\"obfuscation\":\"yF4YgtKWJvwqi8\",\"output_index\":1,\"sequence_number\":89}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"{\\\"\",\"item_id\":\"fc_0d9a44b6df400533016aa8c8e5585c87d189ec09ea7ce4c445\",\"obfuscation\":\"eKg7OGvtGwDIwu\",\"output_index\":1,\"sequence_number\":90}" + "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"city\",\"item_id\":\"fc_04f4a0827f8a3b8e016afce3abe81887d1847d6fa13858cf38\",\"obfuscation\":\"sihthzk7zqIa\",\"output_index\":1,\"sequence_number\":90}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"city\",\"item_id\":\"fc_0d9a44b6df400533016aa8c8e5585c87d189ec09ea7ce4c445\",\"obfuscation\":\"DJy8TaXOhtLi\",\"output_index\":1,\"sequence_number\":91}" + "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\":\\\"\",\"item_id\":\"fc_04f4a0827f8a3b8e016afce3abe81887d1847d6fa13858cf38\",\"obfuscation\":\"KQyoZcgt9cHpV\",\"output_index\":1,\"sequence_number\":91}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\":\\\"\",\"item_id\":\"fc_0d9a44b6df400533016aa8c8e5585c87d189ec09ea7ce4c445\",\"obfuscation\":\"lq8D2NWvjwgHm\",\"output_index\":1,\"sequence_number\":92}" + "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"Paris\",\"item_id\":\"fc_04f4a0827f8a3b8e016afce3abe81887d1847d6fa13858cf38\",\"obfuscation\":\"QpPOlgGsh6J\",\"output_index\":1,\"sequence_number\":92}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"Paris\",\"item_id\":\"fc_0d9a44b6df400533016aa8c8e5585c87d189ec09ea7ce4c445\",\"obfuscation\":\"4fgqE1jlq41\",\"output_index\":1,\"sequence_number\":93}" + "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\"}\",\"item_id\":\"fc_04f4a0827f8a3b8e016afce3abe81887d1847d6fa13858cf38\",\"obfuscation\":\"CM49xHftG89QOv\",\"output_index\":1,\"sequence_number\":93}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\"}\",\"item_id\":\"fc_0d9a44b6df400533016aa8c8e5585c87d189ec09ea7ce4c445\",\"obfuscation\":\"bass2ZeGpJKxwf\",\"output_index\":1,\"sequence_number\":94}" + "body": "{\"type\":\"response.function_call_arguments.done\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"item_id\":\"fc_04f4a0827f8a3b8e016afce3abe81887d1847d6fa13858cf38\",\"output_index\":1,\"sequence_number\":94}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.function_call_arguments.done\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"item_id\":\"fc_0d9a44b6df400533016aa8c8e5585c87d189ec09ea7ce4c445\",\"output_index\":1,\"sequence_number\":95}" + "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"fc_04f4a0827f8a3b8e016afce3abe81887d1847d6fa13858cf38\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_DJQAwSFM5bP1y7IGXWQdk1bq\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":95}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"fc_0d9a44b6df400533016aa8c8e5585c87d189ec09ea7ce4c445\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_hejtTYDa1IfLyNIzb3fq9gJs\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":96}" - }, - { - "direction": "server", - "kind": "text", - "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0d9a44b6df400533016aa8c8e36de887d1be260913d131b2ca\",\"object\":\"response\",\"created_at\":1789446371,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446373,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Call get_weather once, then reply exactly: Paris is sunny.\",\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_0d9a44b6df400533016aa8c8e446bc87d1964263dc3d1fff1e\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMjl2oviigMd2ielExmi3PWYcBUFDcQ53qvDsLPaN2vKin-hLCGpa1fMvdgOrtutnq5n4qp3vuN3PdndXOjozyqJMkyftlgaziR6v7DsgV_0Mlu5zQAPANgTC7Z4TUyf7BOoQDbac0W4TOeFMFv_5n0l50r4xNufMY9aBMwqCikz0NUdicv5YOCjoZ-IqP8F0vGlLD7cTg8wtvlLfwoTBA5zC8PntTaAcDLv3_jPvaQ2zwZC0nXg6J-ZfaaFGAJ2vcCLTau3ekfrEWItpKl8iv1AULUUKMbsKjWOvGa19--y5Tqym36-K_isbGYVDPe8mXdF4iFV-zhOF4FclILAic28QQHIygG-9stVy2XBSF7UEa-svIrckG3xS3Gq8XA3mKA5Y5GLLKJiviZviMVCQAoatDHLO5f8RmkipKnJSPgL8c5DZp2tNBadst2ndClzvxaZGjZD6EN98ZF8Ha0HMW-6oKhxpLOdqVEOApquMBZHsRy9_ubPP-ar7tzYm9RVDmDcc1exNg1i8sFbSLUoxF8xw-OHY6fuvqq0XqZR_FvysYp1qdIAwFRgbHAgLP8KK3j15eyx8aRXP6sW98p6z7kw1SC-osDQQpz6yp-YYgtReKKAgYHFHCLax8ryCZCd3nMZi0rzG4dZhiQ3-2ousEb1ELB3BWG43ejzKyp5iQjIbOCbPbOB208ryQAvkV7mn7KaDvBZ_LRCXnhn8hZ13pAq4k78aCWIBs3R2G4i56QMD7CDeUs9XWTMMJltsPz1gl-Tv0gaO8r5HNVXaJlXob4NgdU7fiOtzIVR0kdSknBPJPKbcQesBRJJkcJ62qTWiycXWLGlg5bIaCPbFCePe-eYuIzg5KUQUbp8o09MxF-g6SXe_Z0BPbA3vfldKkcPQfJeH4EVw8HbhsCoPFTwwMTnVuUnwItBUEvIU-ALNVP1ZamN7htnjDLX3CtzEXC0VteGFoCXZukH_F44EC-p8JFs2RmzzYveTHfEohBBQZwM-w7Uoj4VDNuI7dQ8VztxD20xfkZ_sLbA7WhZEwer_XcgaHPmLDCp8NgtZqQ2LaMcAUs3Avx65ew_dcMufgeSiUTMOWF3oABuoLQaOVBLdlW8e1bIAUqgUuNVjqvxS50LYksBAodl0QgU0PjmnAELP73IU2lekCG6nazXwdNzBLLLvRfcjSxgDpqR4KHAsyKleazTFh9OsFBms1ixz3EH1bzT0s4g3E3ZuGsovHAyNvNUCcufgjX_gLbpT1HRzDAc-YjRtwoKR5xNIJkVqIXW7Oluhj-2wcH7s5c2noQVIx_h83RQex6yXAfTdmQKjbuEhKHI841kQA9jpzPwxbMenP2c\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"**Implementing weather response**\\n\\nI need to follow the developer's instructions and call the weather tool just once for the data. After that, I’ll be ready to respond in a straightforward manner by saying, “Paris is sunny.” It’s essential to make the call, then provide that exact information without any additional fluff—keeping it clear and direct! I’ll make sure the tool call is done properly and use the commentary for the call.\"}]},{\"id\":\"fc_0d9a44b6df400533016aa8c8e5585c87d189ec09ea7ce4c445\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_hejtTYDa1IfLyNIzb3fq9gJs\",\"name\":\"get_weather\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":67,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":47,\"output_tokens_details\":{\"reasoning_tokens\":27},\"total_tokens\":114},\"user\":null,\"metadata\":{}},\"sequence_number\":97}" + "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_04f4a0827f8a3b8e016afce3a96c8487d1ac58d6f60a6967db\",\"object\":\"response\",\"created_at\":1794958249,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958251,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_04f4a0827f8a3b8e016afce3aa3e0c87d195dfc9320bb8130d\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OOrqpSauiK5hRBBTsQEuCeQ5M4K4VHUUKWmHq0tCqCy1VMUFgW7mJdbwwAV8D-ixBjtyazk0lYB8cpAts0k6pVUziKppOzB2zsM_CJgAj_hmhIyXhfCWGi04xwWZauI3YNd2LRCIq0zD7Csx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gatrP51CvkrGhH7IpHSbzNhtuRA4_elCae_8LJnWHkwz6n2hFKnXcqGPzFzLaT8syelZP8yjPj6U0smdsKk4E13VjWs4202_Hkd4v7hdkZR99QbrwAvpLr1a0oNQQTy1abTDL83ow8uEUxUkBzGb9p1k-i48ZADCgT-m_uEM7EtDqiESzvgN4q_74GwpGgmbcAk1t42e_K81tynUNUTvFenVO5cNiNu7PdFOtcOKkYTxYk2Ygj1sFTe-4X5UCvM2W-USWimX_F1fz3__1ICc386WE00MpgWrhwKeynDVTnDnkT3OTusHmaLZBXU3LfbOWj3f2jDuZbNn_5fOugLPRimlJ9vnHZ_12LK2kpU9iPDKRUnNbJzv24iqqqam3dySQ9sc1d-qpQqLhtZLZIgblIemt2InHIolv4qhVyK4wUX8BSKH2fwKZk-7Wwu1yL5P9AMMWMLFhiI672-v_XEbn3rMTWU1YRHHBALcqP3SJS_VfGgx5FeEIb_3Zt7xlF7RvnpG58wo3CUjwQcft9fvhyGz_-bHA2TW8fMbHext2b0dpBfouCDxQXz8Gpe4PflsIq2KmkXCu31DnTdIsd2zLcNqhUJeaC9bXy1_bSikKuBJOBzd9dH0tlK3DDHMTCvVg5KIKYoskqdKHbrVJx-jQExVkkIEzdj8oYBpNy2RicMoiMP-LRnvfhFkL6m5rcPcjFua\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"**Responding about Paris weather**\\n\\nI need to make sure I call the get_weather function to check the weather for Paris. It’s essential to do this before providing any commentary on it. Once I get the information, I’ll report back that it’s sunny in Paris. I want to make sure I get every detail right and keep the user informed in a clear and friendly way! Let's confirm that sunshine part once I fetch the data.\"}]},{\"id\":\"fc_04f4a0827f8a3b8e016afce3abe81887d1847d6fa13858cf38\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_DJQAwSFM5bP1y7IGXWQdk1bq\",\"name\":\"get_weather\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":67,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":42,\"output_tokens_details\":{\"reasoning_tokens\":22},\"total_tokens\":109},\"user\":null,\"metadata\":{}},\"sequence_number\":96}" }, { "direction": "client", "kind": "text", - "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"function_call_output\",\"call_id\":\"call_hejtTYDa1IfLyNIzb3fq9gJs\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"instructions\":\"Call get_weather once, then reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":50,\"previous_response_id\":\"resp_0d9a44b6df400533016aa8c8e36de887d1be260913d131b2ca\"}" + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"function_call_output\",\"call_id\":\"call_DJQAwSFM5bP1y7IGXWQdk1bq\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"max_output_tokens\":50,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"previous_response_id\":\"resp_04f4a0827f8a3b8e016afce3a96c8487d1ac58d6f60a6967db\"}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_0d9a44b6df400533016aa8c8e57f0c87d1be4c46b4c1d01c71\",\"object\":\"response\",\"created_at\":1789446373,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Call get_weather once, then reply exactly: Paris is sunny.\",\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":\"resp_0d9a44b6df400533016aa8c8e36de887d1be260913d131b2ca\",\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" + "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_04f4a0827f8a3b8e016afce3ac12dc87d1987174e0da115318\",\"object\":\"response\",\"created_at\":1794958252,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":\"resp_04f4a0827f8a3b8e016afce3a96c8487d1ac58d6f60a6967db\",\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0d9a44b6df400533016aa8c8e57f0c87d1be4c46b4c1d01c71\",\"object\":\"response\",\"created_at\":1789446373,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Call get_weather once, then reply exactly: Paris is sunny.\",\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":\"resp_0d9a44b6df400533016aa8c8e36de887d1be260913d131b2ca\",\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" + "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_04f4a0827f8a3b8e016afce3ac12dc87d1987174e0da115318\",\"object\":\"response\",\"created_at\":1794958252,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":\"resp_04f4a0827f8a3b8e016afce3a96c8487d1ac58d6f60a6967db\",\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}" + "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}" + "body": "{\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Paris\",\"item_id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"logprobs\":[],\"obfuscation\":\"Dyae6fOTpWJ\",\"output_index\":0,\"sequence_number\":4}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Paris\",\"item_id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"logprobs\":[],\"obfuscation\":\"DFfdu8DrQb4\",\"output_index\":0,\"sequence_number\":4}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" is\",\"item_id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"logprobs\":[],\"obfuscation\":\"jQkWZ9QLds7oL\",\"output_index\":0,\"sequence_number\":5}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" is\",\"item_id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"logprobs\":[],\"obfuscation\":\"MEEdDTt7DkYp7\",\"output_index\":0,\"sequence_number\":5}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" sunny\",\"item_id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"logprobs\":[],\"obfuscation\":\"qnUKuAqamJ\",\"output_index\":0,\"sequence_number\":6}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" sunny\",\"item_id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"logprobs\":[],\"obfuscation\":\"1soDfm1Z3x\",\"output_index\":0,\"sequence_number\":6}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"logprobs\":[],\"obfuscation\":\"75jYC4tq0LAyGLi\",\"output_index\":0,\"sequence_number\":7}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"logprobs\":[],\"obfuscation\":\"Cq6GmUYh9srbx8l\",\"output_index\":0,\"sequence_number\":7}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":8,\"text\":\"Paris is sunny.\"}" + "body": "{\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":8,\"text\":\"Paris is sunny.\"}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"},\"sequence_number\":9}" + "body": "{\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"},\"sequence_number\":9}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":10}" + "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":10}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0d9a44b6df400533016aa8c8e57f0c87d1be4c46b4c1d01c71\",\"object\":\"response\",\"created_at\":1789446373,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446374,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Call get_weather once, then reply exactly: Paris is sunny.\",\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"msg_0d9a44b6df400533016aa8c8e61a4487d1b1f1c08b9d79b591\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":\"resp_0d9a44b6df400533016aa8c8e36de887d1be260913d131b2ca\",\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":135,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":8,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":143},\"user\":null,\"metadata\":{}},\"sequence_number\":11}" + "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_04f4a0827f8a3b8e016afce3ac12dc87d1987174e0da115318\",\"object\":\"response\",\"created_at\":1794958252,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958252,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":50,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"msg_04f4a0827f8a3b8e016afce3acb60087d183086babf6065dfe\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":\"resp_04f4a0827f8a3b8e016afce3a96c8487d1ac58d6f60a6967db\",\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":130,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":8,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":138},\"user\":null,\"metadata\":{}},\"sequence_number\":11}" } ] } diff --git a/packages/ai/test/fixtures/recordings/openai-responses-websocket/reconstructs-full-context-after-reconnect.json b/packages/ai/test/fixtures/recordings/openai-responses-websocket/reconstructs-full-context-after-reconnect.json index bfc89f85e084..91d86f6a48e4 100644 --- a/packages/ai/test/fixtures/recordings/openai-responses-websocket/reconstructs-full-context-after-reconnect.json +++ b/packages/ai/test/fixtures/recordings/openai-responses-websocket/reconstructs-full-context-after-reconnect.json @@ -12,7 +12,7 @@ "full-context" ], "name": "openai-responses-websocket/reconstructs-full-context-after-reconnect", - "recordedAt": "2026-09-15T04:27:52.291Z" + "recordedAt": "2026-11-17T23:30:55.708Z" }, "interactions": [ { @@ -30,67 +30,67 @@ { "direction": "client", "kind": "text", - "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Alpha.\"}]}],\"instructions\":\"Follow the user's exact reply instruction.\",\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":30}" + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Follow the user's exact reply instruction.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Alpha.\"}]}],\"max_output_tokens\":30,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_0a6277dd90b94da1016aa8c94635e487d1b05f52fdfb9b7de3\",\"object\":\"response\",\"created_at\":1789446470,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" + "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_0e0f29ff016b0ff3016afce3ad315087d1a354ba9bba8f9227\",\"object\":\"response\",\"created_at\":1794958253,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0a6277dd90b94da1016aa8c94635e487d1b05f52fdfb9b7de3\",\"object\":\"response\",\"created_at\":1789446470,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" + "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0e0f29ff016b0ff3016afce3ad315087d1a354ba9bba8f9227\",\"object\":\"response\",\"created_at\":1794958253,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_0a6277dd90b94da1016aa8c946e33487d1b725d8e9dc874d82\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMlGU6VDsubzNyei9ZguJbtE8djsfaMGt1HYio6WGnP-8LNkfhUm9xhUBGxB8oqGcXBiqzUQa-aVgxTrxguZC_iD3ZyML4xXDWadyHkkZNerJyLBz8vTrFoZTnSBIVl460rTHLNoaUGTKlCHPMh_JsUtqN2tm4QG-6uYfNA7B5Mo-2JX-0Y3OoTOJsBwCgyTAcN_r_R9DCsXiuo_DemYFtjHlkurYc4wEaKAZ5EL9LHR3DhiSqXqJbO06zn_fSUKeMLxwK1TIHir88CV-b44rQcR5FCPX_PYfmWLXUbKtq6r_gsP1QFLRMOv90IQuVMpwSOa13tRbEDXN1ALNsbrFJDhzV1X2wKW7ovUiQoSLva0uKWqhjLo3VycjTksIBejFA3UeBEzSgrP_Kgiqk3FhTBFQAuEoeRMd4slQkL_kWZiOhcAnTRgW5VS-o9HaRR_-SgVFnXat8nxBgrv-eWocnKwEAU8NK-ZgS0IjJxNkuB3BPjFhNXljd0Ywaty4AITNfTE34yS_1zf3s9yIIQY8fd8lG6UeSU_WhjHBwmWpmMwZJHpzNGQquINGdGRZePCEptlilZquQkwgtI1UQbpG70uA-rvBtANpzBCV07oQl-MAgC6_PKXNrKt6njmyICJqvtiGhi9nl9B8rfktxoJqLtk8GUQpmRg-D8Xu5nQp_l6qg5jcyQm8rE3WHiHVUgQkPpjpmyIdypqH4PMOxJ2Qw-tXl9wMhQ9VdsFWHM81IBm5QDyGTl4yqiAasa-zz0kgj_ilAGuAyI4Y0xSAUELK6F_sAAlAGRdq0w3q_XPrMrdTuZfoBfsACoNxT4qawaU0VXhVb_6PuJAPjNIH8GFNMKATuQLOFvB3cuS6yraaAQa4G2YkGSVTiwZDVcoGWQRdLaLlUMpSQFuzO3Q_VlB3ZnOqcGXhdctGKiiln3ant8LT9LEqjb2s_uYP3vgbJi-QYkjsWud_35rNhyTgXg1rlVRrJ4Sd0UCtWD5fnrrhCgtr_oqPmefzCuhOrULpudQSkzYl8EAIkSjcV-NdfwQdar5GCmluHnGQ8qUcWRsEGmZF1ZX2b_Ni5HQhPvVWn-7283HKUy0Mqxl25ZPNRXq8XErU06N6bZvm5lQbdOjz06DzsPYRm1MkOsnW8wb9QzGlk_ZO_j_ROuh51nyMRmB1-r-tA==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}" + "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_0e0f29ff016b0ff3016afce3adfec887d184c3c5feb39a556b\",\"type\":\"reasoning\",\"content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ZMr1GQljynz_dPTgrjjoa71mUpwIGNBMCmnH1EUW22sdx5KA06o-TzXi_dKK8ydaveef_7lf4SS2BM0uUeu6kVAv0nzpnjRJVO6kPQBKdRUSfARP6b-plWUCf4A9mnZjxRlH7rhAgmxyZwOb1m6lGSFhG6Cx6rxRrt9BEpGAs0CVChtqwo0jl02tKJxaql5SzsYLVCYm0DjSk92_p-gfTMaEiIgBINQtQl53jSylKeNFp3SevSLV0Gw3wKzLx310GdpMiCEhq78ih5x6_dLNkhUngU6XGXmuKy83QabcJgn-LG1-33FWKw9j4CaleSShKZEcpYKimnkaA-zp9vX8AEet0WfAYoGfz1\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_0a6277dd90b94da1016aa8c946e33487d1b725d8e9dc874d82\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMlHtG6yltzgW_UjUcYxvl2hoMkk7cSEH5SJMe9CR5gKIaCwCh4peUo8XZrd-EU-tPCXthv7JzHxYXGVG1fIgTJ7BjBoOh-jgd_oGlyCHj2jVPj7nVoB763tZHdyw_ovL3V7GpJ6VeLGIsRGqNTnBz47ZuKikTKrbTDupn6fT2wOM_69zwdg4-UVnoF2J9E_jIS0E5XRtRwOidqANl61HCwo7LV-Ut1aqCbXb-59vkrVGWPxD_8n4smf7Qjywc0FCH9zwuEDX4cPdqj3MmjvYPrn0jand9LKkAy9rblaKFJSQfVuritbHrdQrnF7hLxu7QCpehOzNXOkpNEqTmXnAZjfMc53hq-ahH6_KoyYlZpompwyGPngFeI2fKRqP8rlpDilD1BHBsh-bl7kXzI8HQ_jameXwPZ1La6gjtFkThXp53BD6BOx11SB9Nypqolu2at5rR32UYcGrYeGtTu-HmYGp0oHVFkHumTNuHKmGXV14dI9swgryfygLhX8EAJrWrjm3e8rvAkHKpAZ0IkmlCcp15UCFDKNeS560fQVRaKXWnQ7m0Ih3C1xG0ifJ89j27c8GHo1kAhEJk-lSB1-FZr9Ls_w7N772kmZ2a7LLswu3kNW78kPas_CtcOnBOHwE1DhcVh5YpxwNftOHZnK1v8NPNF8EWqio4ArZy1thMCzH5zXBNcFzgd8tePMFukBblSP8QGQoVYRqTne2sFoOZXjslXnDvEe-Ycj8X38zWgRiwAk7guOloFC7Se36KCDP357773Vah86gWCt55mSEyhVW_GF1oTuHvJ18GZsXcyN21scF1PSr8YaCM_jR7ZkU1GYXbQK2Y4oTAV9XDptQA5YzEREnn7muC_6v5ZTAglZF1lhn9Q0NwmylZEAXJdSGHaqXt1Hv-vQlprA_9m22vrreBOTLPnVK946J8absKrwfe-jK_1n_9YQR43uwH8XwFBFND0c4lICCQGbxwM8pX4ACWR0c19aORCYm-M5FrJsxmG29_aDVNhcvkoQ3mlP7ITQeqzkrjfytSwLb2BYpXYZKjEHNfV9j3JoxJobUkK5hrxXBhTvZzbVBnE0LSXQNwR-JAcOliP_jXBEeQ-28B-aGW8TI1vEP2i260QKgzOzPC-pOoFp0-vCvxojNO0kE16ECVTLfDNLNGSMZs9vekdLJP2akBp6PsUXsQUTbWO_wr1E2oNU7ctfMRxoh-yP0ZW2_xz_NjE72O5LF_6zuDVV7Q==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}" + "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_0e0f29ff016b0ff3016afce3adfec887d184c3c5feb39a556b\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OOuSWTghhtDWAy9G-pCjupOxwifhT4q0mGk_1cgs6AV1N-YnWqtPAl367hTxKGBFavR2x_dgSGS9zb-MZBnlkBegBAmI3gXwkpmOy_4HBHNn-EY-3ciIKrf0AWe036tnzga2sJMzEqBXqyelqoAJa2tsKu9isQYcBjmIlmkDJ1LpxzyzfBdJhmxEIUANvh-kT6i9fXtlaGyDz9rPmyuURRg-fgBy3EKREdlfiZl8z6MgTj7IM6vKs_SpKcVDISea7jZWFeq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YJ64sMPDzLWeMrOKmBPthEL4z3jiGB6FPWHCy8OyzgUzIp55Bm8IkTqVezZqG8OBe-84QVvvrRPWGeQ5ajDwzvN2pOwjWA5F87OODYRD4sdpRteLC9A_sRytEbES5peiiuCPb5-7HsFwMBsZnbw9DTv_PlXYvijERq4KHFhInSCCnSC66CZJIyv2OzaLTYLGBlzHUim9XCJU88s0BbSWCOSXTcujQUJKEBLQ87k6nO9syCXBFIlt2Psdm2NOqwpboxZBlSWJgU8OVtTptrDvJnW3uiS1Z7Tq_jXe8khncMJdu8radr0UCuMWE_9n-pCz5Gs-U8aDFpUsvTuWviV-9-iU-zTe6-ZjimevxOKbUOrg9oXlVsIvMjSb2QThDcQ1gLcMlae0xppFWW-FWb1A==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0a6277dd90b94da1016aa8c947253887d184c150fcbcbcd8da\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":4}" + "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0e0f29ff016b0ff3016afce3ae934087d1a19b115424465ffd\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":4}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0a6277dd90b94da1016aa8c947253887d184c150fcbcbcd8da\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":5}" + "body": "{\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0e0f29ff016b0ff3016afce3ae934087d1a19b115424465ffd\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":5}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Alpha\",\"item_id\":\"msg_0a6277dd90b94da1016aa8c947253887d184c150fcbcbcd8da\",\"logprobs\":[],\"obfuscation\":\"wGOuc4A33dI\",\"output_index\":1,\"sequence_number\":6}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Alpha\",\"item_id\":\"msg_0e0f29ff016b0ff3016afce3ae934087d1a19b115424465ffd\",\"logprobs\":[],\"obfuscation\":\"2iNpfphmlJA\",\"output_index\":1,\"sequence_number\":6}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_0a6277dd90b94da1016aa8c947253887d184c150fcbcbcd8da\",\"logprobs\":[],\"obfuscation\":\"KCxWfYMrSVrn8yA\",\"output_index\":1,\"sequence_number\":7}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_0e0f29ff016b0ff3016afce3ae934087d1a19b115424465ffd\",\"logprobs\":[],\"obfuscation\":\"MP8gn22q3Q3dG42\",\"output_index\":1,\"sequence_number\":7}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0a6277dd90b94da1016aa8c947253887d184c150fcbcbcd8da\",\"logprobs\":[],\"output_index\":1,\"sequence_number\":8,\"text\":\"Alpha.\"}" + "body": "{\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0e0f29ff016b0ff3016afce3ae934087d1a19b115424465ffd\",\"logprobs\":[],\"output_index\":1,\"sequence_number\":8,\"text\":\"Alpha.\"}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0a6277dd90b94da1016aa8c947253887d184c150fcbcbcd8da\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Alpha.\"},\"sequence_number\":9}" + "body": "{\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0e0f29ff016b0ff3016afce3ae934087d1a19b115424465ffd\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Alpha.\"},\"sequence_number\":9}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0a6277dd90b94da1016aa8c947253887d184c150fcbcbcd8da\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Alpha.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":10}" + "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0e0f29ff016b0ff3016afce3ae934087d1a19b115424465ffd\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Alpha.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":10}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0a6277dd90b94da1016aa8c94635e487d1b05f52fdfb9b7de3\",\"object\":\"response\",\"created_at\":1789446470,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446471,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_0a6277dd90b94da1016aa8c946e33487d1b725d8e9dc874d82\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMlHAUEp7fOISGE4K9cq9a5CnGGpEQfe8UAd2LG_ZPCXUTjxIXWjHlK4WTB2a3HuGTI0Xe04whY-De7v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StJgK_SSH5VOfpULDIDrCOBVXAx7w8avQUTYLdTnaBMdtWFbwHD8LfictodLw==\",\"summary\":[]},{\"id\":\"msg_0a6277dd90b94da1016aa8c947253887d184c150fcbcbcd8da\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Alpha.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":22,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":18,\"output_tokens_details\":{\"reasoning_tokens\":10},\"total_tokens\":40},\"user\":null,\"metadata\":{}},\"sequence_number\":11}" + "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0e0f29ff016b0ff3016afce3ad315087d1a354ba9bba8f9227\",\"object\":\"response\",\"created_at\":1794958253,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958254,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_0e0f29ff016b0ff3016afce3adfec887d184c3c5feb39a556b\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OOuw0e526L55w5w5iwuzLbaNa0HHypjJBcloRBzX1gwRjGJ8X46tgOzhaF_6T2-ma7AzeEXMhsibog_-0xJP0AWlZY6fXBsyEh_QfHHtsxpA9KWbeFyuazJghK8Hxl_P3bsJC_PZV7ozqoxfgqWUHkiiVlELrc891iKDTVlCRuYwRzm-tBA2yJeNfUf_3iXo-Af-KTbg4c4ngX_WApOrDfCZ3g8hNYXgDmOgeaiwCD4VagwhcXQuO89lMqwR07g5c43RVjAwTE73zLV-oeabAks50-FXCZAKtNs_L54gj51b-25miLHQVSo-eJlnHK1huwcPYaSW0XHFrbnwEaLssn-PzdMLyHZtrlDrsaa3OtcBNp7Gzf3NXrMoLlRhGjpjbL5lVLuy1K7DrVciTpMi2swBhIpSTWLYrzbBgiP06yAsDz7hZ0cNbV-40pfnEDpgttWPczcJNLHpX0FYY4Ymrh-CxMR4zcte_xOQNnSsxoryYU8BR8AoHBeqPSi9KmUxmRT91Rd-xZkkr1GFo1iW1EP_geGfOj1GR6pgvbUWxeu_3g8H2cKMfY1TEmyAsOU-g2v0SiNSXlLXQ8qJMXxmW-sb6AR5GA4pPlggl1JK0dHV8tmaXpixNp3D0Iidl2eL2q0YJU1z2vPrLNMcTfkIzc5L-aNdiepMsjsPxMgV0g-oTpQa7aSKbwFw2Ty8dla2zzRnNbyOaw5EyD5A-TQfowGq03NpsVqqgvQUbYY2onHM5XChv1niTpXLf_WwQykuoc3K_UGBXM62HDlGzmVK97F7WI1D3jU0Fx3TJKZLgS4e_xJtbjW6hwI5kT6vS_ZISOpQeuPJtLrAnh8iA55OtLnW2kU_BQqB8ORJm1iWp-I5QBMFhucTrsy7LYcnF7qeJElpK2-vCNG-1CKQ06BQEtylwDDa74e8rbfzbvdM2ZMKSvaIN2Dwg9FsPTKy7wN6hEOlwRD-_OaPO1NZplc6DrZhRyIPfSaMSDHU8I_s70W3G7ca-eGoN33qGlLMGnWsEiZw7fjCBLFayAA6OodyU-GIaPWrPHg2CkdpiuT6V88ne_DPLEY5RU9lx6LcBil-aCCP8tbriwi0ZA778Xjyd5fbap39SDJapvq7kLEMIImHRnNMPO9uRb-DbDMaW5-YNBhJMn6OnUE9Rq_ryZJBqmI12ut1TFHMuwZZfN4Z4mVkafbCCEbdNiby4U3KBTjAaavnEabAthBt3WjuSGEAqTZ0pBwGcT1nI0bVgIY09xzMbfhHs-kFtcFMCQ5giiaVfFFyCCruDq0PtAFS_jETnc69zjpoJxyXMzegw4ReMg7n6Z-REtOUZWv7Xt7vnBLbLZCpu_DGlSS92viZQedNMikwXymkcWEVxHvp0PB_kZTtCaJm8haQT1bfJb1QMFhwDbCme6erEFITI6g6hiApT6R5mbsKT5jyFHunccsiYJBRJ6W8PhDPpB7VjFp1QRcdFFB850AmVEntt7m2uodq-O1pdyqXpb8amnmbVhYTwybl_Rlnt5PZ-gK4nGN2QSnQeDyJuQ4agkPFOFCpERe1W3ZvPrX-dNbzVrITKRifxGMyLhYYVAjbCJYTZmsmjOD80N8b2zMHbyoRBV9fSjB57BSaDZ_XUbTPK5tviMGdWICWuWj_SiVEeUxSPeO9tE58R47DQFeCdRahTSrdN5fL87h5PF1fPDo14zDqzDH8me6tpjU41inuABW9XCeQ2phA8BlKfXHPJ4MIplaSyEnLZlCuw==\",\"summary\":[]},{\"id\":\"msg_0e0f29ff016b0ff3016afce3ae934087d1a19b115424465ffd\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Alpha.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":22,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":18,\"output_tokens_details\":{\"reasoning_tokens\":10},\"total_tokens\":40},\"user\":null,\"metadata\":{}},\"sequence_number\":11}" } ] }, @@ -109,67 +109,57 @@ { "direction": "client", "kind": "text", - "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Alpha.\"}]},{\"type\":\"reasoning\",\"id\":\"rs_0a6277dd90b94da1016aa8c946e33487d1b725d8e9dc874d82\",\"summary\":[],\"encrypted_content\":\"gAAAAABqqMlHtG6yltzgW_UjUcYxvl2hoMkk7cSEH5SJMe9CR5gKIaCwCh4peUo8XZrd-EU-tPCXthv7JzHxYXGVG1fIgTJ7BjBoOh-jgd_oGlyCHj2jVPj7nVoB763tZHdyw_ovL3V7GpJ6VeLGIsRGqNTnBz47ZuKikTKrbTDupn6fT2wOM_69zwdg4-UVnoF2J9E_jIS0E5XRtRwOidqANl61HCwo7LV-Ut1aqCbXb-59vkrVGWPxD_8n4smf7Qjywc0FCH9zwuEDX4cPdqj3MmjvYPrn0jand9LKkAy9rblaKFJSQfVuritbHrdQrnF7hLxu7QCpehOzNXOkpNEqTmXnAZjfMc53hq-ahH6_KoyYlZpompwyGPngFeI2fKRqP8rlpDilD1BHBsh-bl7kXzI8HQ_jameXwPZ1La6gjtFkThXp53BD6BOx11SB9Nypqolu2at5rR32UYcGrYeGtTu-HmYGp0oHVFkHumTNuHKmGXV14dI9swgryfygLhX8EAJrWrjm3e8rvAkHKpAZ0IkmlCcp15UCFDKNeS560fQVRaKXWnQ7m0Ih3C1xG0ifJ89j27c8GHo1kAhEJk-lSB1-FZr9Ls_w7N772kmZ2a7LLswu3kNW78kPas_CtcOnBOHwE1DhcVh5YpxwNftOHZnK1v8NPNF8EWqio4ArZy1thMCzH5zXBNcFzgd8tePMFukBblSP8QGQoVYRqTne2sFoOZXjslXnDvEe-Ycj8X38zWgRiwAk7guOloFC7Se36KCDP357773Vah86gWCt55mSEyhVW_GF1oTuHvJ18GZsXcyN21scF1PSr8YaCM_jR7ZkU1GYXbQK2Y4oTAV9XDptQA5YzEREnn7muC_6v5ZTAglZF1lhn9Q0NwmylZEAXJdSGHaqXt1Hv-vQlprA_9m22vrreBOTLPnVK946J8absKrwfe-jK_1n_9YQR43uwH8XwFBFND0c4lICCQGbxwM8pX4ACWR0c19aORCYm-M5FrJsxmG29_aDVNhcvkoQ3mlP7ITQeqzkrjfytSwLb2BYpXYZKjEHNfV9j3JoxJobUkK5hrxXBhTvZzbVBnE0LSXQNwR-JAcOliP_jXBEeQ-28B-aGW8TI1vEP2i260QKgzOzPC-pOoFp0-vCvxojNO0kE16ECVTLfDNLNGSMZs9vekdLJP2akBp6PsUXsQUTbWO_wr1E2oNU7ctfMRxoh-yP0ZW2_xz_NjE72O5LF_6zuDVV7Q==\"},{\"type\":\"message\",\"id\":\"msg_0a6277dd90b94da1016aa8c947253887d184c150fcbcbcd8da\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Alpha.\"}],\"phase\":\"final_answer\",\"status\":\"completed\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Beta.\"}]}],\"instructions\":\"Follow the user's exact reply instruction.\",\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":30}" + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Follow the user's exact reply instruction.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Alpha.\"}]},{\"type\":\"reasoning\",\"id\":\"rs_0e0f29ff016b0ff3016afce3adfec887d184c3c5feb39a556b\",\"summary\":[],\"encrypted_content\":\"gAAAAABq_OOuSWTghhtDWAy9G-pCjupOxwifhT4q0mGk_1cgs6AV1N-YnWqtPAl367hTxKGBFavR2x_dgSGS9zb-MZBnlkBegBAmI3gXwkpmOy_4HBHNn-EY-3ciIKrf0AWe036tnzga2sJMzEqBXqyelqoAJa2tsKu9isQYcBjmIlmkDJ1LpxzyzfBdJhmxEIUANvh-kT6i9fXtlaGyDz9rPmyuURRg-fgBy3EKREdlfiZl8z6MgTj7IM6vKs_SpKcVDISea7jZWFeq1LzW6EvEPg20CCTmGV1MW2M9hDD1Lx7cH_YXB54E__AMKWoscBz9P59dXybMAg0MVM2iYJS_-hdA0qDK32oNbsGfBmTRHc98dPDJYmaWz_tkZgSemeplufd2J9lj9lsQXR-0mDyvHudZpdSTfiObCyyci8GUdXbfr7pi-XRGQNe4hs5_8E0guwUmeQPvHlvXzCHkzDeqy737znp-v1tHXMLqrlMPJsDCauT1jaJnsr7BTOoydguzEdRtJkop6WAuRpLKiZK4Lq_GyfSYsMPCIJSlf45aoC4XCGBFxWJSo4fhlPpVudS6VEzI-XXmpNRqQKhbHOkb_mGiCGAV5GeuGTjcIm2fjWRCGjH5twxQ1mEjSyQ_aOPjjJRIB7h4Rc2-S1_iA9RoE-Eoopjj-EiaN8epjhO5w2q7gU0fQR0_RdOfpXs4KUZF0GGoM8wA-My-YglgO7RJ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424465ffd\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Alpha.\"}],\"phase\":\"final_answer\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Beta.\"}]}],\"max_output_tokens\":30,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_0a6277dd90b94da1016aa8c94776f487d19683416e4d24a143\",\"object\":\"response\",\"created_at\":1789446471,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" + "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_0e0f29ff016b0ff3016afce3aef3c487d1817a2c83fb04ce79\",\"object\":\"response\",\"created_at\":1794958255,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0a6277dd90b94da1016aa8c94776f487d19683416e4d24a143\",\"object\":\"response\",\"created_at\":1789446471,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" + "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0e0f29ff016b0ff3016afce3aef3c487d1817a2c83fb04ce79\",\"object\":\"response\",\"created_at\":1794958255,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[{\"id\":\"rs_0e0f29ff016b0ff3016afce3adfec887d184c3c5feb39a556b\",\"type\":\"reasoning\",\"action\":\"removed\",\"reason\":\"turn_boundary\"}],\"instructions\":null,\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_0a6277dd90b94da1016aa8c9480f6487d1a070a12dafc69e6a\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMlI9VZgFUiN_kctOUHXqwezRPZvkNVoD0xlUTiMU0SRYwrKB81mG-G3pcMVbgzfSb9WZ4Zywz-aEFa3nEsGGqi9W6UfFwKGM-APFrQkCxKkP43x230UnhDfb8Kf3yw-KB0o2OJFSgUxd2tJP1xo6JYbwubAv7IhrjZPESbWuAR0wfqGwmorHOvUmHIQr0XCTdtDlVcfopybb-ZTIo1UhCnAud48ze73p6K_yNU12k6auOpIu8prj2bn4O5kNS8tNIO5YsSVtaUqAMyUG6XmWCB0XiYerjvIYBSQb526_ex79YZrNwsQNE76iGO_sT-Vy2F36nqBhgAlHZBRxL2CWYEDgCehrNDktz3CUFKrahuLYBUk6oJb-85sZfAZO-MY6UqlkXZqTHcwBHGJdj8bkl8XTGUmOgAQC3StISb3zXYGtj8Vtdl5eYNh3Vhm2sSGrsgYOAlELTo-tqi4QtmrX1AHYbGPCmuj1sNieV7RcKSVaalHCj1WmCDbRGVPKgvRnQQ8WK5VnN_CPUL3pKJO3b617Yx1wneNzUsVFaUVOemkXd8G81qEZr_YmGBW-dSFqkNiSJH06ULFNvrmkFPhlEHtaiTC8lJFC45aGlM7BGm-cGw1ONt199FtL56t6u8p32wx2C6BvhvxiAyBeJpMQQw_I1NBBPO9REHtTbI0jtGClP9g5BBV0rzWlMsmjhyVwSC7d7xyqLIDuMuZ9nq11SA2BZDZtTQRryZU2DAUuJ6Cu_CAbPxmmscCEScVUJXUq8Y4rupf6GRrch6yocWn409ybBWzsUDXf9omAllM-FEWeLAH3Yg2BVVfBiHUblDgWpz2wXO9HIxY6amt7N8GpNiUYBl4c8EvalyoD7j7eLGqsdwrneS5mMMaozsnXw4bTcCYSMZ8yhtOWHeG7OLAGeb4gVwUFbH7LUz6A8cLKftljtshRFBm9E41NQ6J-KEG2Ia_AjOVgA0zCFZsaJFZ_LP-KVoj4At9k1yvSZyWSOJX_hfazXo3eHsi5p3j4wHz9U_ogQYPRkiMqQvUCtwwX_R7GX2D29NPSI4MlGKLoVhETUBcTOvTf4_6RxWhnBjl-1flGo6BtOMZ_s_mamho7jj8w3F_excGoM1NyvrM7fTy1-kCDMm48q1QyANxHCuQ9TwOgXJnmK3J-rWVNjuTCAKNdQ==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}" + "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0e0f29ff016b0ff3016afce3af9b2887d1a3fc2031876d7301\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_0a6277dd90b94da1016aa8c9480f6487d1a070a12dafc69e6a\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMlIaef7g4rrAJk05lFmziUYNLhpLqHcXC0CflH7X2Khf98dbAp53eKCZdS1vUdbbqBmIbW5av324WBrWupcwKKNZUxqUBcHBuI6VxqI6Wi95Z8jHkWUBUXPlgHB3KshumV-AhNKhagzdoe9NVgbTV4ki2Y6EwW-xM2yCKAtl7U05G9W8xq37MmmRL2PM68eIMYPjq7rLU24bEOC6yCs1Z708MTAAwKiCZY93q1pkOOl7dMkm82HmnmN_0tgKIT9UgX9tH2LUgKEmYj_xVWAArMvK1aujod6HtoA2E3P0Dcq_pkR49WdNENaFY4NWikxDeTfqw7xNCSmBZ5oo00sAnCndYhwPvvXy6dvnz66_-Tl6-uOxWmcFVedLiic0yML1O8MT7x6lz63vR1fjFqimo0_3ik-fqkXtQrxVSJpY_FTJH3rsAHiCSu0K9G6tytat3m-VrgxXyHguL-xn6JkXoBUFv-njlWc9R9DVIQFPPQLGwFxmQPwBYGlQRroU6q81C81ALkwvvbHws8a3lzRgJeSQFJNnzaHEFbdMyIW9Rem7wNISJyaZgcqRT531BCB-0UfVZTOUtl1eugXV0w_uvaLUcrGoA-beAaN6XbcTEuhQ5oXNiXdEQpt94glIwEd32oa3Ly3Sdb7-VcsOtKWfLHE4CnVDHv5Q4bx8GYTIkov4ZX6Y3lBB1G0xnAS45ucZZSi_crYa4c4dL2QY_LMqJgfZBdopttKrV43toK3aB2BjiehyP_2EjuK26S6UqiB-BDCX59LNu8cd3Ye-GK_bceFTPEbsoKIHn4Ne_DQgnVMKQ0M66jcoMuVXMhkoCjsAkTkVNM_rXbSFDxcnI6pGtliyGpeTNVs2LmSqpaTAJ1WywhPCP5jPL_1Xk2uXg3iS_EWJ0pDUOmpv1SKkWAkL-I_3y9IzcG4KB5bfJAf4SASB3GaAHfWPmFT70nVD5TtuEuxrhqXP1h9U0AAc4Y2aX9kSEIEJ4TWILyZfBN-7YKbH1R-LftmeccJsNfPAHjVHvMb2RLKjedFU3jhxHGblPDWAibkcQEv4ZOND3mhomtjqM8HaB2bhiVYl5KT9RqjcJGimgOr5-xbkyvHiojkZkl35doEHuuaF6b3_wibYpJANpBxFN0cDBZ0bAmBdx452c20EDsdHPvYWapI-gdYx2aHHMIgk-Xx9iZx1t1bnbY5yeKxJeZoFH4pV0vB01DZPmw-CpCRnOGp96Zdu26rjp4F9w==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}" + "body": "{\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0e0f29ff016b0ff3016afce3af9b2887d1a3fc2031876d7301\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0a6277dd90b94da1016aa8c948516487d1a9818eaf4845bd4f\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":4}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Beta\",\"item_id\":\"msg_0e0f29ff016b0ff3016afce3af9b2887d1a3fc2031876d7301\",\"logprobs\":[],\"obfuscation\":\"CfuVn5DpzDRf\",\"output_index\":0,\"sequence_number\":4}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0a6277dd90b94da1016aa8c948516487d1a9818eaf4845bd4f\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":5}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_0e0f29ff016b0ff3016afce3af9b2887d1a3fc2031876d7301\",\"logprobs\":[],\"obfuscation\":\"J3DsPiOUgcHuOac\",\"output_index\":0,\"sequence_number\":5}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Beta\",\"item_id\":\"msg_0a6277dd90b94da1016aa8c948516487d1a9818eaf4845bd4f\",\"logprobs\":[],\"obfuscation\":\"WqDiBoHEYYfz\",\"output_index\":1,\"sequence_number\":6}" + "body": "{\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0e0f29ff016b0ff3016afce3af9b2887d1a3fc2031876d7301\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Beta.\"}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_0a6277dd90b94da1016aa8c948516487d1a9818eaf4845bd4f\",\"logprobs\":[],\"obfuscation\":\"PIv3yLskbYILa6g\",\"output_index\":1,\"sequence_number\":7}" + "body": "{\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0e0f29ff016b0ff3016afce3af9b2887d1a3fc2031876d7301\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Beta.\"},\"sequence_number\":7}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0a6277dd90b94da1016aa8c948516487d1a9818eaf4845bd4f\",\"logprobs\":[],\"output_index\":1,\"sequence_number\":8,\"text\":\"Beta.\"}" + "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0e0f29ff016b0ff3016afce3af9b2887d1a3fc2031876d7301\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Beta.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":8}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0a6277dd90b94da1016aa8c948516487d1a9818eaf4845bd4f\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Beta.\"},\"sequence_number\":9}" - }, - { - "direction": "server", - "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0a6277dd90b94da1016aa8c948516487d1a9818eaf4845bd4f\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Beta.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":10}" - }, - { - "direction": "server", - "kind": "text", - "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0a6277dd90b94da1016aa8c94776f487d19683416e4d24a143\",\"object\":\"response\",\"created_at\":1789446471,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446472,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_0a6277dd90b94da1016aa8c9480f6487d1a070a12dafc69e6a\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMlI1N6KzakCxDtgF9wHTAVvBjMChBW3G-Ys0eorlfORBx5SY6N5M_jQQ0xsc0C9iOJOsp1PFw68lHqNXrGBmmZ-Vh6LqYK20Wp7kX6oy2hizTvdgzZtszGxl56mES1XdVU7H1CdtX5ycdgwvE9vkx0to5Y-K1S_y2VPC1TluybnftIQkuKRs-97xQNeNH6hXq_YaMukTbzr-OKn28tYPx7k2u1oY5LeNCpYGTOtEyRFc56uzy66Z3bVpRVk0huvB43_NiA3p43coZVyKMQ0k3yzli1GqNaup1riouQRuqGXVgvN_Eix8oE6QaaOj4h3PaS6Z25Map-SAxq-3FMOiCGWwewjMvWYp3VmrvHOLfXzzUMIcYBRBdlNlvfMhT0dWhTS9_YR4QFixdCVemIUg4nv6292K1FHeXDT3HWGoJPsq4I3hLpqSd0PIXImJ3NVHchhV6KhV98Entde92sZv_y8f2JUvXRhPKsuC5uDIHHPoGl81AiDWNLyyu6SzBHFolHrLWH-lsqH-wHPl03qfh7dE_IcAVkyQl5UK1oHwsa7xEZsK2VoZvkUneUyYyGVT6H2uXKQEU4veY5HhWAoRq7lqgBqN7dD2xQelACMvYupUKB_bEJFSRiD3Rrkfhb-VItgbUjj44-T_DnYB5T8kjnWEWx767BPM1dmNrJK1NI5hD1vBVcrVknblccJDGlsBPSing24UGtkNJqJyclKUNBN9umZq7inBs-XDnqzMPfPX9X1nSP1cLGqbDlYNvDWgRritY3rySUZcu4rFRZ7J2RyiAuc7RgJTUXCyzouLVpGqfyWhDlFRJxS20zQfKUBHbywZ8pkcVav7TCdvIPXy7MMdxqJY8m3uhw2sLYvWs--U20fGVTY8_X3LN8ShyNbHQNj5OYMrG4uyrALiDtKbSTGgaC0uX0I6Ovu3OFrheLyWG9GNlAGn2ob5eZXPGq1uB-fJjnTftwQ8B3feDYq7SyBT5-LnBDd93QDdBvtsyHQHvtqv8c-S0ntAtcqP9lDNd1OkLjiFd7qcEDcq1Nxyn_9d2cPjYgGdiASW8X9FIE8Kf4nNTC9omgzAdPyS7RPj6Ke271QrWhjTjUuhWGvsiN5JSfGTIqe_4e1A5k990n5Q97Mjg-63N9HNJmUm5bJ6vCbYzet-bg2-jD-4_eUdkA2h1pFO56rlWItR7uxrnEWBwVwY438KezON-wa51JBjnqGQRSsBXvLt4wOb0xyPXfXVQ==\",\"summary\":[]},{\"id\":\"msg_0a6277dd90b94da1016aa8c948516487d1a9818eaf4845bd4f\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Beta.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":39,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":18,\"output_tokens_details\":{\"reasoning_tokens\":10},\"total_tokens\":57},\"user\":null,\"metadata\":{}},\"sequence_number\":11}" + "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0e0f29ff016b0ff3016afce3aef3c487d1817a2c83fb04ce79\",\"object\":\"response\",\"created_at\":1794958255,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958255,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[{\"id\":\"rs_0e0f29ff016b0ff3016afce3adfec887d184c3c5feb39a556b\",\"type\":\"reasoning\",\"action\":\"removed\",\"reason\":\"turn_boundary\"}],\"instructions\":null,\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"msg_0e0f29ff016b0ff3016afce3af9b2887d1a3fc2031876d7301\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Beta.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":39,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":6,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":45},\"user\":null,\"metadata\":{}},\"sequence_number\":9}" } ] } diff --git a/packages/ai/test/fixtures/recordings/openai-responses-websocket/recovers-from-explicit-continuation-rejection.json b/packages/ai/test/fixtures/recordings/openai-responses-websocket/recovers-from-explicit-continuation-rejection.json index 46d4b9e9be28..fafb6c505d6c 100644 --- a/packages/ai/test/fixtures/recordings/openai-responses-websocket/recovers-from-explicit-continuation-rejection.json +++ b/packages/ai/test/fixtures/recordings/openai-responses-websocket/recovers-from-explicit-continuation-rejection.json @@ -12,7 +12,7 @@ "recovery" ], "name": "openai-responses-websocket/recovers-from-explicit-continuation-rejection", - "recordedAt": "2026-09-15T04:31:59.100Z" + "recordedAt": "2026-11-17T23:30:58.093Z" }, "interactions": [ { @@ -30,67 +30,57 @@ { "direction": "client", "kind": "text", - "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Ready.\"}]}],\"instructions\":\"Follow the user's exact reply instruction.\",\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":30}" + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Follow the user's exact reply instruction.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Ready.\"}]}],\"max_output_tokens\":30,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_01cc0cda24c36acf016aa8ca3c1d3c87d1853283f43675e411\",\"object\":\"response\",\"created_at\":1789446716,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" + "body": "{\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"input_transformations\":[],\"id\":\"resp_03204c2b957d40c0016afce3b018e087d1b333f8d8aaa47b13\",\"object\":\"response\",\"created_at\":1794958256,\"completed_at\":null,\"status\":\"in_progress\",\"background\":false,\"frequency_penalty\":0.0,\"presence_penalty\":0.0,\"moderation\":null,\"model\":\"gpt-5.5-2026-04-23\",\"access_programs\":null,\"previous_response_id\":null,\"instructions\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"top_p\":0.98,\"top_logprobs\":0,\"temperature\":1.0,\"reasoning\":{\"effort\":\"medium\",\"summary\":\"detailed\",\"context\":\"current_turn\",\"mode\":\"standard\"},\"user\":null,\"usage\":null,\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"text_tokens\":0,\"image_tokens\":0},\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0}},\"web_search\":{\"num_requests\":0}},\"safety_identifier\":null,\"store\":false,\"metadata\":{},\"max_output_tokens\":30,\"max_tool_calls\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"image\":{\"context_compression\":\"disabled\"}}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_01cc0cda24c36acf016aa8ca3c1d3c87d1853283f43675e411\",\"object\":\"response\",\"created_at\":1789446716,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" + "body": "{\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"input_transformations\":[],\"id\":\"resp_03204c2b957d40c0016afce3b018e087d1b333f8d8aaa47b13\",\"object\":\"response\",\"created_at\":1794958256,\"completed_at\":null,\"status\":\"in_progress\",\"background\":false,\"frequency_penalty\":0.0,\"presence_penalty\":0.0,\"moderation\":null,\"model\":\"gpt-5.5-2026-04-23\",\"access_programs\":null,\"previous_response_id\":null,\"instructions\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"top_p\":0.98,\"top_logprobs\":0,\"temperature\":1.0,\"reasoning\":{\"effort\":\"medium\",\"summary\":\"detailed\",\"context\":\"current_turn\",\"mode\":\"standard\"},\"user\":null,\"usage\":null,\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"text_tokens\":0,\"image_tokens\":0},\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0}},\"web_search\":{\"num_requests\":0}},\"safety_identifier\":null,\"store\":false,\"metadata\":{},\"max_output_tokens\":30,\"max_tool_calls\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"image\":{\"context_compression\":\"disabled\"}}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_01cc0cda24c36acf016aa8ca3ced8c87d1a14c5c6a2ced8544\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMo85QOkFAOiRbNGARO6tiDQnoZhPmdpq6tLJKMp5JE7PAThNVvyzKnxkYsSvaaNF0vh9uwCbaU2WjcPreWkg9govp2cRVGA83YD2p1J9p42ue_5_OepyoHti2_PprBOAWaGQuAImj_40hZrPYTciQYV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"{\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"message\",\"id\":\"msg_03204c2b957d40c0016afce3b0b64c87d1a18a548587b52c2e\",\"role\":\"assistant\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\"}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_01cc0cda24c36acf016aa8ca3ced8c87d1a14c5c6a2ced8544\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMo9M9B15LsV1CLsXpNJpI08GiwCAK97hTheQ2s1lAkKgARMs1HIIXVeAr-tbUq88yN51fiQE8HvGwdF9ZcNI6bZle8D2PS7m8O7UE7C1Z_HX_fz2f0pRHyRfWpVAT2gYQWIDeZu6UdgxbKPBW0lXWzlk_relHG5x6nXkYzZoEeVasqavWoyMMSX7cexe-IYJh6e_3DgRpOchueS8Z-70P0w5R83Ea7UXZQNhMA0yDEYu_td2PmE2Pd2PUTOB3mxF2pb1z7-2t6S0UryhHx0az7Gh2eT60GGUqz9CIZzNE_FX--tszeuO0eI92Cen5tirOUHBTyyDqE0eG26DRl_p_U-xDZwaQONbtYbvkvrj-G7FA2oZXxjJPHuQZsNgBslXS-H0KT1lx3Y8XJ9QMVjFLFaucFG64wCmXPfCH8dYtX_YqfYQR4lwNfiSbyJEX2oDvTVVD_aCJ9NRo7c0aCTtmKBvr6fvvAy3MAFxAp_Sm2nMx4P5GYO4qAmJDByywKw-VK1vHlv3NRmVsAgbArIFgm-axoCs2PLpvZjDqeQGPavaq8zKWTyZYqBsEzKZUtGOZfYjD4mud0Z08I4i2H4K-L00ccVauode3548ZipOIuslbhJxonQXsF6TFdW2Hj8E5JjoEr5IbmwHyI0PBcDWW5AmkjHLwr9v08mFppRoD-2wzPAd5igROAuUbvJhiQd2A-uOaohwMjdpFxrjyUqgGTlI5g7tmI1ceeQWms0bKm8Pd0wIqVM3Nq6YvV7XfEyeogfRMVUQezr_lES42ZMVAoKBSFzMysDwCFkhVNVclcTUpcUUbVp21FChG7Ag-xuq8Cl6OGLA8nWX1C0aCf2HNa-n3dkYr1DtUziurh1MD-UIs5jdGiq3ptrc0VaVZwNdD4jVfAoHB_Ws7GiISXuclfpqsG3DTJEfzlbukI1vxXrt3FArsHiQvQjW5UM7gGel32M6p8AlXRxnez9PgIuU1WrtBUJetk7m39AZwp_aqbqC-AJ-MF70xP1VJZwFN-GeNL3VZsRHePFG4h7Pj---CCZRGlmzuE1-b-sIE7Bn_gbue_qHFMZJhAY55MO25vfZbSoLWHZCGmLMjJVHOYCPoy6l7zyxNmoIcC58QILNWal31KLCDmCsASmZC-xQRjyFwt-kvLbvk38Dc02IKcP3ujhf6WRRr1A0hh1K-gXmv_XI_MUFDcOVIjjhB-rXgjWSCoKfaKI9GCIsb9mnNaBq65BWg==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}" + "body": "{\"type\":\"response.content_part.added\",\"sequence_number\":3,\"item_id\":\"msg_03204c2b957d40c0016afce3b0b64c87d1a18a548587b52c2e\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_01cc0cda24c36acf016aa8ca3d4a0087d1950121aed4802434\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":4}" + "body": "{\"type\":\"response.output_text.delta\",\"sequence_number\":4,\"item_id\":\"msg_03204c2b957d40c0016afce3b0b64c87d1a18a548587b52c2e\",\"output_index\":0,\"content_index\":0,\"delta\":\"Ready\",\"logprobs\":[],\"obfuscation\":\"CzuHakw7cQX\"}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3d4a0087d1950121aed4802434\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":5}" + "body": "{\"type\":\"response.output_text.delta\",\"sequence_number\":5,\"item_id\":\"msg_03204c2b957d40c0016afce3b0b64c87d1a18a548587b52c2e\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"PUTRwFGnbZQYEZv\"}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Ready\",\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3d4a0087d1950121aed4802434\",\"logprobs\":[],\"obfuscation\":\"yVIztfbsPuE\",\"output_index\":1,\"sequence_number\":6}" + "body": "{\"type\":\"response.output_text.done\",\"sequence_number\":6,\"item_id\":\"msg_03204c2b957d40c0016afce3b0b64c87d1a18a548587b52c2e\",\"output_index\":0,\"content_index\":0,\"text\":\"Ready.\",\"logprobs\":[]}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3d4a0087d1950121aed4802434\",\"logprobs\":[],\"obfuscation\":\"JCmv7pYK1A0iw4B\",\"output_index\":1,\"sequence_number\":7}" + "body": "{\"type\":\"response.content_part.done\",\"sequence_number\":7,\"item_id\":\"msg_03204c2b957d40c0016afce3b0b64c87d1a18a548587b52c2e\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"Ready.\",\"annotations\":[],\"logprobs\":[]}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3d4a0087d1950121aed4802434\",\"logprobs\":[],\"output_index\":1,\"sequence_number\":8,\"text\":\"Ready.\"}" + "body": "{\"type\":\"response.output_item.done\",\"sequence_number\":8,\"output_index\":0,\"item\":{\"type\":\"message\",\"id\":\"msg_03204c2b957d40c0016afce3b0b64c87d1a18a548587b52c2e\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Ready.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3d4a0087d1950121aed4802434\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Ready.\"},\"sequence_number\":9}" - }, - { - "direction": "server", - "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_01cc0cda24c36acf016aa8ca3d4a0087d1950121aed4802434\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Ready.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":10}" - }, - { - "direction": "server", - "kind": "text", - "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_01cc0cda24c36acf016aa8ca3c1d3c87d1853283f43675e411\",\"object\":\"response\",\"created_at\":1789446716,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446717,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_01cc0cda24c36acf016aa8ca3ced8c87d1a14c5c6a2ced8544\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMo9oK4vZmZaaep7pLFevWG5a8w530vO67UGYaUMhJxBeIdygArtXWAA7aPdnm5m7rnAIsynP6yKszDOlGUU4Yy2ozVYoTaB9xKu-q1TV4xwiw5B5-mD_xYgjOJsCG1UQMw-eKq886C7ZkEHk67DhT-LGHfNtaWbWmyZQVAul00QOB7hlj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36acf016aa8ca3d4a0087d1950121aed4802434\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Ready.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":22,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":20,\"output_tokens_details\":{\"reasoning_tokens\":12},\"total_tokens\":42},\"user\":null,\"metadata\":{}},\"sequence_number\":11}" + "body": "{\"type\":\"response.completed\",\"sequence_number\":9,\"response\":{\"input_transformations\":[],\"id\":\"resp_03204c2b957d40c0016afce3b018e087d1b333f8d8aaa47b13\",\"object\":\"response\",\"created_at\":1794958256,\"completed_at\":1794958256,\"status\":\"completed\",\"background\":false,\"frequency_penalty\":0.0,\"presence_penalty\":0.0,\"moderation\":null,\"model\":\"gpt-5.5-2026-04-23\",\"access_programs\":null,\"previous_response_id\":null,\"instructions\":null,\"output\":[{\"type\":\"message\",\"id\":\"msg_03204c2b957d40c0016afce3b0b64c87d1a18a548587b52c2e\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Ready.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}],\"error\":null,\"incomplete_details\":null,\"tools\":[],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"top_p\":0.98,\"top_logprobs\":0,\"temperature\":1.0,\"reasoning\":{\"effort\":\"medium\",\"summary\":\"detailed\",\"context\":\"current_turn\",\"mode\":\"standard\"},\"user\":null,\"usage\":{\"input_tokens\":22,\"input_tokens_details\":{\"cached_tokens\":0,\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_30m_tokens\":0,\"ttl_12h_tokens\":0}},\"output_tokens\":6,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":28},\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"text_tokens\":0,\"image_tokens\":0},\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0}},\"web_search\":{\"num_requests\":0}},\"safety_identifier\":null,\"store\":false,\"metadata\":{},\"max_output_tokens\":30,\"max_tool_calls\":null,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"image\":{\"context_compression\":\"disabled\"}}}" } ] }, @@ -109,77 +99,67 @@ { "direction": "client", "kind": "text", - "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Recovered.\"}]}],\"instructions\":\"Follow the user's exact reply instruction.\",\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":30,\"previous_response_id\":\"resp_01cc0cda24c36acf016aa8ca3c1d3c87d1853283f43675e411\"}" + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Recovered.\"}]}],\"max_output_tokens\":30,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"previous_response_id\":\"resp_03204c2b957d40c0016afce3b018e087d1b333f8d8aaa47b13\"}" }, { "direction": "server", "kind": "text", - "body": "{\n \"type\": \"error\",\n \"error\": {\n \"type\": \"invalid_request_error\",\n \"code\": \"previous_response_not_found\",\n \"message\": \"Previous response with id 'resp_01cc0cda24c36acf016aa8ca3c1d3c87d1853283f43675e411' not found.\",\n \"param\": \"previous_response_id\"\n },\n \"status\": 400\n}" + "body": "{\n \"type\": \"error\",\n \"error\": {\n \"type\": \"invalid_request_error\",\n \"code\": \"previous_response_not_found\",\n \"message\": \"Previous response with id 'resp_03204c2b957d40c0016afce3b018e087d1b333f8d8aaa47b13' not found.\",\n \"param\": \"previous_response_id\"\n },\n \"status\": 400\n}" }, { "direction": "client", "kind": "text", - "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Ready.\"}]},{\"type\":\"reasoning\",\"id\":\"rs_01cc0cda24c36acf016aa8ca3ced8c87d1a14c5c6a2ced8544\",\"summary\":[],\"encrypted_content\":\"gAAAAABqqMo9M9B15LsV1CLsXpNJpI08GiwCAK97hTheQ2s1lAkKgARMs1HIIXVeAr-tbUq88yN51fiQE8HvGwdF9ZcNI6bZle8D2PS7m8O7UE7C1Z_HX_fz2f0pRHyRfWpVAT2gYQWIDeZu6UdgxbKPBW0lXWzlk_relHG5x6nXkYzZoEeVasqavWoyMMSX7cexe-IYJh6e_3DgRpOchueS8Z-70P0w5R83Ea7UXZQNhMA0yDEYu_td2PmE2Pd2PUTOB3mxF2pb1z7-2t6S0UryhHx0az7Gh2eT60GGUqz9CIZzNE_FX--tszeuO0eI92Cen5tirOUHBTyyDqE0eG26DRl_p_U-xDZwaQONbtYbvkvrj-G7FA2oZXxjJPHuQZsNgBslXS-H0KT1lx3Y8XJ9QMVjFLFaucFG64wCmXPfCH8dYtX_YqfYQR4lwNfiSbyJEX2oDvTVVD_aCJ9NRo7c0aCTtmKBvr6fvvAy3MAFxAp_Sm2nMx4P5GYO4qAmJDByywKw-VK1vHlv3NRmVsAgbArIFgm-axoCs2PLpvZjDqeQGPavaq8zKWTyZYqBsEzKZUtGOZfYjD4mud0Z08I4i2H4K-L00ccVauode3548ZipOIuslbhJxonQXsF6TFdW2Hj8E5JjoEr5IbmwHyI0PBcDWW5AmkjHLwr9v08mFppRoD-2wzPAd5igROAuUbvJhiQd2A-uOaohwMjdpFxrjyUqgGTlI5g7tmI1ceeQWms0bKm8Pd0wIqVM3Nq6YvV7XfEyeogfRMVUQezr_lES42ZMVAoKBSFzMysDwCFkhVNVclcTUpcUUbVp21FChG7Ag-xuq8Cl6OGLA8nWX1C0aCf2HNa-n3dkYr1DtUziurh1MD-UIs5jdGiq3ptrc0VaVZwNdD4jVfAoHB_Ws7GiISXuclfpqsG3DTJEfzlbukI1vxXrt3FArsHiQvQjW5UM7gGel32M6p8AlXRxnez9PgIuU1WrtBUJetk7m39AZwp_aqbqC-AJ-MF70xP1VJZwFN-GeNL3VZsRHePFG4h7Pj---CCZRGlmzuE1-b-sIE7Bn_gbue_qHFMZJhAY55MO25vfZbSoLWHZCGmLMjJVHOYCPoy6l7zyxNmoIcC58QILNWal31KLCDmCsASmZC-xQRjyFwt-kvLbvk38Dc02IKcP3ujhf6WRRr1A0hh1K-gXmv_XI_MUFDcOVIjjhB-rXgjWSCoKfaKI9GCIsb9mnNaBq65BWg==\"},{\"type\":\"message\",\"id\":\"msg_01cc0cda24c36acf016aa8ca3d4a0087d1950121aed4802434\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Ready.\"}],\"phase\":\"final_answer\",\"status\":\"completed\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Recovered.\"}]}],\"instructions\":\"Follow the user's exact reply instruction.\",\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":30}" - }, - { - "direction": "server", - "kind": "text", - "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_01cc0cda24c36acf016aa8ca3de54c87d1b3f522e8bd2f6982\",\"object\":\"response\",\"created_at\":1789446717,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" - }, - { - "direction": "server", - "kind": "text", - "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_01cc0cda24c36acf016aa8ca3de54c87d1b3f522e8bd2f6982\",\"object\":\"response\",\"created_at\":1789446717,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Follow the user's exact reply instruction.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Ready.\"}]},{\"type\":\"message\",\"id\":\"msg_03204c2b957d40c0016afce3b0b64c87d1a18a548587b52c2e\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Ready.\"}],\"phase\":\"final_answer\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Recovered.\"}]}],\"max_output_tokens\":30,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"}}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_01cc0cda24c36acf016aa8ca3ebf4087d18e71282a5ea4bc04\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMo-dtBCl_gnEkmEpBqej9pZjra5vIb7stkXTCmIZF_R073a3SEI66YOhJlTwQOoLnzXCdKku5QKF3HWUTITgGcEYVoH9mR5b0iDs_KMJ5XSBr-TslHOj9msVlDvDeBbbXJ5Yuq0hfmZS7wwwyyR-D429_wvAR_sKJnnf_RbPSY9Wmd9EZciG7VOsBsBJg4hXiB8W_0LmbfxJgLpxubA69UTC8keEzfl6YNLdPH3MYpdclyuYWdnM9o1EG-kkcXjElN1ATS4lt2qTXFSmi2akPyDTQNRRiYAJxwmmf_bTotggvtW1EkGeuCUcet_8vzvG371m83kEQpCyhgXnofjdOyloVpcxwij6Avc63lD4oiHy4ic0em_BgmJfOTvEaBMBSuB8KM2lWscWRYfD_zgnifXYRVaLsZ9cRspJ2hO7-3pBu2_j_gLs8SAxW1YhHyY2rMbMNJbnSiEanCbATplivIc6wzB-41zR2h3U-wGwkv4pywLg0A_aMAnqypW7iYugtVoaFXYq7o24sW6JvkVLEpEXABpfbbjT_SdBfL08Ta-pwmptkKKmP4lzV38JgbXynB4N-pbSAD6Q5At79qn-0KETydNuyPNn-ymQQKOIidlRjXfb8Z8PGoaqmRXCkyxcXTD81EE5UVBWsJeQN6T5RzQYYUggo0KjshBr2FAub7b9MqBjUSXnsTxwcmPZFeP3WZfTbuT-r0qxH6Ni8BcTy5K4c0qmiEdzF2OvCFIwZOh__tprFFiiUmIxwKrcI-hMEU9ilq-nFzC5QleS31l8WkzpAKC2iWRpKz_EK5FJ-XoAFw3rtmAN-6mPt2_aZlZNdFAXn4JUr3lccT3jzyCN6-6WLorKHNpYgi715WfpQoDjYbGKwpCjvIj6R7Msw-QELH73FRL4dUj2R0kciA04KFIa_eFiS1mwSuVorX8WGM8bYkCrctkbeP4ExrUMoix4g-cMvryOvRG6cngk2PplXF67v8xL_0FtFYaxzK8OpEwDlUuEclqiJS-uF-kVcR_FE7sQgz6gUqfm2fCKq99bZ1K2ylyPd8jTFu3dcZ4gr1BOm9IHMTt3QBSV1l6q-A_6v6FBZoJrbty_x-hamWuWgpemzG0d9iF6MppFiSNd6PlrMH112Yp0Aqv8pJ1wyNOhWtWwcH6O-LD3K1vMNeRt3q13w==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}" + "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_03204c2b957d40c0016afce3b1434487d19dc4c2a672aaeaa3\",\"object\":\"response\",\"created_at\":1794958257,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_01cc0cda24c36acf016aa8ca3ebf4087d18e71282a5ea4bc04\",\"type\":\"re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So0RxfjwKSIvF2GCnR8jG7tKH5dYFgCeKWbzWFgX22Gg_4ZdLh5-kmMqEKIzQkqswOYmiCBvCzK7QZPl8KZkSpvmXkkQvKKlR7nakIdOpkqzb087KXWOxzkCc5uudq0nxPvGkMoDS1g1mEE4qFX5w_ZJYaW6ULENzcK8NR6BaMmwvU0L\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}" + "body": "{\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_03204c2b957d40c0016afce3b1434487d19dc4c2a672aaeaa3\",\"object\":\"response\",\"created_at\":1794958257,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_01cc0cda24c36acf016aa8ca3f17f887d1aa91596ed4fd7a68\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":4}" + "body": "{\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_03204c2b957d40c0016afce3b1f35c87d18864b2ae8ad4fb0f\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3f17f887d1aa91596ed4fd7a68\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":5}" + "body": "{\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_03204c2b957d40c0016afce3b1f35c87d18864b2ae8ad4fb0f\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Recovered\",\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3f17f887d1aa91596ed4fd7a68\",\"logprobs\":[],\"obfuscation\":\"Gd6uxmr\",\"output_index\":1,\"sequence_number\":6}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Recovered\",\"item_id\":\"msg_03204c2b957d40c0016afce3b1f35c87d18864b2ae8ad4fb0f\",\"logprobs\":[],\"obfuscation\":\"AhuVlUn\",\"output_index\":0,\"sequence_number\":4}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3f17f887d1aa91596ed4fd7a68\",\"logprobs\":[],\"obfuscation\":\"4yZd9PKDNMCzGFV\",\"output_index\":1,\"sequence_number\":7}" + "body": "{\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_03204c2b957d40c0016afce3b1f35c87d18864b2ae8ad4fb0f\",\"logprobs\":[],\"obfuscation\":\"nHyFm9UJxskeaE3\",\"output_index\":0,\"sequence_number\":5}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3f17f887d1aa91596ed4fd7a68\",\"logprobs\":[],\"output_index\":1,\"sequence_number\":8,\"text\":\"Recovered.\"}" + "body": "{\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_03204c2b957d40c0016afce3b1f35c87d18864b2ae8ad4fb0f\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Recovered.\"}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_01cc0cda24c36acf016aa8ca3f17f887d1aa91596ed4fd7a68\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Recovered.\"},\"sequence_number\":9}" + "body": "{\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_03204c2b957d40c0016afce3b1f35c87d18864b2ae8ad4fb0f\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Recovered.\"},\"sequence_number\":7}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_01cc0cda24c36acf016aa8ca3f17f887d1aa91596ed4fd7a68\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Recovered.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":10}" + "body": "{\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_03204c2b957d40c0016afce3b1f35c87d18864b2ae8ad4fb0f\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Recovered.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":8}" }, { "direction": "server", "kind": "text", - "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_01cc0cda24c36acf016aa8ca3de54c87d1b3f522e8bd2f6982\",\"object\":\"response\",\"created_at\":1789446717,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446719,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Follow the user's exact reply instruction.\",\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_01cc0cda24c36acf016aa8ca3ebf4087d18e71282a5ea4bc04\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMo_tTrOofpc1jivBwgDV6YyVCiZNC4DHnW2mXBF8Yaw6kA3-psWdVLAwpZiAYNDSlXLdFZlYfiBGuT7StE00bzH5sXfOz9ioSiCr-GMdJ74UEw_V6OeuRwTEcPHh2ILuKI4o4U0eP1xg7fye14XhnOAEwbd1kkkP2nl6llT-nixDOj7eGVgl4MdVbVnp__XVkio7trNK1EoZO4zc9SN7MRU-EbBxjFJPXZNey3jsv2rNjsfzbI7pEMFAS9OwY9FpX1r-8p1l2MBOeiSPl4eFLBou0ACrfiray-WHQ-d6Mkxzjgx268oLrfqIv_DGLVZOISC09kWUoqXSqqRBKV_IM-0lHqUx5pUUi9l4reUQzH9EynPvIMOHD_FapHVI8--CJp-Bkm8qbBKVclonOXqaZtGQ8N0Dnp-1WwSrt_5dE8-k7aU1gQABgfs1g_EaE09tnjfld64jgTwZrfFP4WxhzyINnTXpPtX8Lwf3Cjlu2_xbu0VEy2i4_s7rZ2IIu7zDN-yakOkiqbe38xT5KX2YRPCeB88pdSM17hjIjbyKDFx1TZbZyTSSGvs9XjyaEDr899CeMjNyMaBfJwhrMdFW5P7H6BlIASKVJhJw27RYW4EuQtslXVFzpzmtRnqebPLtijXT_krg7icWL7a5YAS2q5V-XXmWLSuKJW6wNpp1vdHpxl8ZOWfeNvkKlqO0cd8grYBd_l9Evx4EoF0YSIXXUCWpMIMhJgLEPt8eOW4RBG3aPk83C8FINyReXl3Rq9aVYcEowwKAxIGHyuXRjnx-Di2JqmtaH_G5kpuPkACEhSKjWp7Sv175lWdBpUvGAKDA6GDSHLz5vtJsPDFIyYecAxLyDZ0VYVosaIfW6otisr6sIWuxL4AXoLAD9fiXh6y_s2Gbb-DSQesjF7oJvftcHMxnL2j5gZ6_Z1d03C4UjbqYS9vy2vSOOQ4VR8CX4QhNIXbYeEUhxWdmtWM27zcJ_yCm_H4hmo4QAAv83C64qP9eVZ3Z7g84T-IYz8C-8oM9n8ceitghRZ-G7X6uVUUiOUj1Tmx1uekDrFNEbHg9XeWGMua2z7Y3UUl9iq0r_oJwBxxBY3QEk03Pwulk6cx6LRDoP_30MHV-oLRcHKeWKBjIld4qio5z_xoDZKD2b_KB5i43gfPk8B-vzI9tBmtNLsPKOIsbSyj8Oo9CJv_1sXgU8IoM1uxtPDpg2W8pGL4rkEC\",\"summary\":[]},{\"id\":\"msg_01cc0cda24c36acf016aa8ca3f17f887d1aa91596ed4fd7a68\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Recovered.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":40,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":17,\"output_tokens_details\":{\"reasoning_tokens\":9},\"total_tokens\":57},\"user\":null,\"metadata\":{}},\"sequence_number\":11}" + "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_03204c2b957d40c0016afce3b1434487d19dc4c2a672aaeaa3\",\"object\":\"response\",\"created_at\":1794958257,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958258,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":30,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"msg_03204c2b957d40c0016afce3b1f35c87d18864b2ae8ad4fb0f\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Recovered.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":40,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":6,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":46},\"user\":null,\"metadata\":{}},\"sequence_number\":9}" } ] } diff --git a/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-image-tool-result.json b/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-image-tool-result.json index 7f22029af73a..98fbe3c8d12a 100644 --- a/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-image-tool-result.json +++ b/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-image-tool-result.json @@ -17,7 +17,7 @@ "golden" ], "name": "openai-responses/openai-responses-gpt-5-5-image-tool-result", - "recordedAt": "2026-09-15T04:26:03.214Z" + "recordedAt": "2026-11-17T23:31:06.120Z" }, "interactions": [ { @@ -28,14 +28,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Use the read_screenshot tool, then reply with the words shown.\"}]},{\"type\":\"function_call\",\"call_id\":\"call_screenshot_1\",\"name\":\"read_screenshot\",\"arguments\":\"{}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_screenshot_1\",\"output\":[{\"type\":\"input_text\",\"text\":\"Image read successfully\"},{\"type\":\"input_image\",\"image_url\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnYAAACKCAYAAAAnmweyAAACKWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAA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AKCgCAgCLhHQIidewylBkFAEBAEBAFBQBAQBDyBgBA7T3SDNEIQEAQEAUFAEBAEBAH3CAixc4+h1CAICAKCgCAgCAgCgoAnEBBi54lukEYIAoKAICAICAKCgCDgHgEhdu4xlBoEAUFAEBAEBAFBQBDwBAJC7DzRDdIIQUAQEAQEAUFAEBAE3CMgxM49hlKDICAICAKCgCAgCAgCnkBAiJ0nukEaIQgIAoKAICAICAKCgHsEhNi5x1BqEAQEAUFAEBAEBAFBwBMICLHzRDdIIwQBQUAQEAQEAUFAEHCPgBA79xhKDYKAICAICAKCgCAgCHgCASF2nugGaYQgIAgIAoKAICAICALuERBi5x5DqUEQEAQEAUFAEBAEBAFPICDEzhPdII0QBAQBQUAQEAQEAUHAPQJC7NxjKDUIAoKAICAICAKCgCDgCQSE2HmiG6QRgoAgIAgIAoKAICAIuEdAiJ17DKUGQUAQEAQEAUFAEBAEPIGAEDtPdIM0QhAQBAQBQUAQEAQEAfcICLFzj6HUIAgIAoKAICAICAKCgCcQEGLniW6QRggCgoAgIAgIAoKAIOAeASF27jGUGgQBQUAQEAQEAUFAEPAEAkLsPNEN0ghBQBAQBAQBQUAQEATcIyDEzj2GUoMgIAgIAoKAICAICAKeQECInSe6QRohCAgCgoAgIAgIAoKAewQcid1fN65Ts4Hl/a6QMlVGvzRJEAQEAUFAEBAEBAFBQBCIfwT+D/zF7ZhlIKO3AAAAAElFTkSuQmCC\"}]}],\"instructions\":\"Read images carefully. Reply only with the visible text, lowercase, no punctuation.\",\"tools\":[{\"type\":\"function\",\"name\":\"read_screenshot\",\"description\":\"Capture a screenshot of the current screen.\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":40,\"stream\":true}" + "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Read images carefully. Reply only with the visible text, lowercase, no punctuation.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Use the read_screenshot tool, then reply with the words shown.\"}]},{\"type\":\"function_call\",\"call_id\":\"call_screenshot_1\",\"name\":\"read_screenshot\",\"arguments\":\"{}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_screenshot_1\",\"output\":[{\"type\":\"input_text\",\"text\":\"Image read successfully\"},{\"type\":\"input_image\",\"image_url\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnYAAACKCAYAAAAnmweyAAACKWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNi4wLjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjYzMCIKICAgZXhpZjpVc2VyQ29tbWVudD0iU2NyZWVuc2hvdCIKICAgZXhpZjpQaXhlbFlEaW1lbnNpb249IjEzOCIKICAgdGlmZjpZUmVzb2x1dGlvbj0iMTQ0LzEiCiAgIHRpZmY6WFJlc29sdXRpb249IjE0NC8xIgogICB0aWZmOlJlc29sdXRpb25Vbml0PSIyIi8+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgo8P3hwYWNrZXQgZW5kPSJyIj8+at0SpgAACrhpQ0NQSUNDI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FBQBCIfwT+D/zF7ZhlIKO3AAAAAElFTkSuQmCC\"}]}],\"stream\":true,\"max_output_tokens\":40,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"tools\":[{\"type\":\"function\",\"name\":\"read_screenshot\",\"description\":\"Capture a screenshot of the current screen.\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_03c1d75034b03b6b016aa8c8da598087d1a7161f931c2cc271\",\"object\":\"response\",\"created_at\":1789446362,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Read images carefully. Reply only with the visible text, lowercase, no punctuation.\",\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Capture a screenshot of the current screen.\",\"name\":\"read_screenshot\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_03c1d75034b03b6b016aa8c8da598087d1a7161f931c2cc271\",\"object\":\"response\",\"created_at\":1789446362,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Read images carefully. Reply only with the visible text, lowercase, no punctuation.\",\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Capture a screenshot of the current screen.\",\"name\":\"read_screenshot\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"j\",\"item_id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"logprobs\":[],\"obfuscation\":\"xWt6tyKjFoqM7NL\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"igg\",\"item_id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"logprobs\":[],\"obfuscation\":\"3RfuIOHyRt1Hy\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"ling\",\"item_id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"logprobs\":[],\"obfuscation\":\"CmIbNuLAmRuE\",\"output_index\":0,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" restroom\",\"item_id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"logprobs\":[],\"obfuscation\":\"50aPEH4\",\"output_index\":0,\"sequence_number\":7}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" prison\",\"item_id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"logprobs\":[],\"obfuscation\":\"AQpMPDtIp\",\"output_index\":0,\"sequence_number\":8}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":9,\"text\":\"jiggling restroom prison\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"jiggling restroom prison\"},\"sequence_number\":10}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"jiggling restroom prison\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":11}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_03c1d75034b03b6b016aa8c8da598087d1a7161f931c2cc271\",\"object\":\"response\",\"created_at\":1789446362,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446363,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Read images carefully. Reply only with the visible text, lowercase, no punctuation.\",\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"msg_03c1d75034b03b6b016aa8c8daf82087d186de5aa58eb2d036\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"jiggling restroom prison\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Capture a screenshot of the current screen.\",\"name\":\"read_screenshot\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":227,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":9,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":236},\"user\":null,\"metadata\":{}},\"sequence_number\":12}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_0430afe2f9e71321016afce3b924b887d18616e6433a9686a2\",\"object\":\"response\",\"created_at\":1794958265,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Capture a screenshot of the current screen.\",\"name\":\"read_screenshot\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0430afe2f9e71321016afce3b924b887d18616e6433a9686a2\",\"object\":\"response\",\"created_at\":1794958265,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Capture a screenshot of the current screen.\",\"name\":\"read_screenshot\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"j\",\"item_id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"logprobs\":[],\"obfuscation\":\"MbCGg5lwPnbhwlS\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"igg\",\"item_id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"logprobs\":[],\"obfuscation\":\"gsmFJJulp1XPB\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"ling\",\"item_id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"logprobs\":[],\"obfuscation\":\"lEmJKoDr1Udb\",\"output_index\":0,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" restroom\",\"item_id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"logprobs\":[],\"obfuscation\":\"ia9QFRV\",\"output_index\":0,\"sequence_number\":7}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" prison\",\"item_id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"logprobs\":[],\"obfuscation\":\"PGBmpfXGr\",\"output_index\":0,\"sequence_number\":8}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":9,\"text\":\"jiggling restroom prison\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"jiggling restroom prison\"},\"sequence_number\":10}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"jiggling restroom prison\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":11}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0430afe2f9e71321016afce3b924b887d18616e6433a9686a2\",\"object\":\"response\",\"created_at\":1794958265,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958266,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"msg_0430afe2f9e71321016afce3b9e38c87d1a3762eeecaf6bf33\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"jiggling restroom prison\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Capture a screenshot of the current screen.\",\"name\":\"read_screenshot\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":227,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":9,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":236},\"user\":null,\"metadata\":{}},\"sequence_number\":12}\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-reasoning-continuation.json b/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-reasoning-continuation.json index 44a1c8daf495..73fbd284c6d6 100644 --- a/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-reasoning-continuation.json +++ b/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-reasoning-continuation.json @@ -15,7 +15,7 @@ "golden" ], "name": "openai-responses/openai-responses-gpt-5-5-reasoning-continuation", - "recordedAt": "2026-09-15T04:25:59.634Z" + "recordedAt": "2026-11-17T23:31:02.118Z" }, "interactions": [ { @@ -26,14 +26,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Think briefly, then reply exactly with: Hello!\"}]}],\"instructions\":\"Show concise reasoning when the provider supports visible reasoning summaries.\",\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\",\"summary\":\"auto\"},\"max_output_tokens\":120,\"stream\":true}" + "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Show concise reasoning when the provider supports visible reasoning summaries.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Think briefly, then reply exactly with: Hello!\"}]}],\"stream\":true,\"max_output_tokens\":120,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\",\"summary\":\"auto\"}}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_052e7ec551f55289016aa8c8d588bc87d199a65aeae48c0c3e\",\"object\":\"response\",\"created_at\":1789446357,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Show concise reasoning when the provider supports visible reasoning summaries.\",\"max_output_tokens\":120,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_052e7ec551f55289016aa8c8d588bc87d199a65aeae48c0c3e\",\"object\":\"response\",\"created_at\":1789446357,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Show concise reasoning when the provider supports visible reasoning summaries.\",\"max_output_tokens\":120,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_052e7ec551f55289016aa8c8d63eac87d19d6b921611f123e7\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMjWJYMGneVoO9mSCj9Y3-WuHt03avXUyUwFFRAa-4gNNQe1k0zuJ7yDBi-WfoxEm7s-K8TlDpb0YvNtnIyTvi4Sd5_GZNduifyMp9Z0Sl2lO1gQYk-eLkVrCnBIaBbijPxbSAoM42ED1LUmcdT4WoNIqEmD9z92ACIi4MABekibX-5viu2yMZb29dq-4P_kFa0A4lmEBNdxzI5G0evDGc9JzxV8Xz3OTDsh213my9sPzvv2tfOtBRXNfzG5F8ojDbEerSLiUIJH1O7obYP487y8dznOhqoIerITqZ2Jc5SZffrFm1VapO6VapDzhirhiscD6zU528tuogwtppThXqCCPZnNe2qR9BkV0dJUK5HFAJHLBCVCf9JUawQhiJ7VanSmnF_lXN9XTj4p-BroSFGL6-xqiU8e5fDgSvKf6j_TrxPyO_VruzpZzDXBM8hbtf20K6IA4PsHTKGDsWI9l9oJUMMXZfD-tweeTf6TVE5KSwpEHBZ1qElLLnLKqjEHtDSe8YXo9EeLXW58XIPzZdxK7XJSyD_fcWsqOrCFPfkwXy9AmjI-tD8hDHu0eo3NZkRjtWx_WKXSeeRZtdmUgDOWgQSoAEychUl-x357mmGaQIwLrN32YO_jZjTp_Mzy-IUr7G4kcqyMx87HkZZ-OzzPW3yjJFYfBOQAdbo4yXQwwQ7bcAujPy2X-iRfgHiPkV80f_N4QK6l6c_zXvad0bV10GY25gV5SLrVTNAWENM8vV3X5LLeSLJG-wKI6e1wSFE9giWIdQnRenepLfcEwwJUIq7QTM_phbRip5gSIw1VswCm3ILqc9jJ5FuO3CqRzGoLEKGtuy-EdTxIDwun9uYoj-AOMEl5Fh3LWcBeZpqBh7ToU8XXFbYMjFz9HHmQDiVLOGa3mtzS1Y7nzan368-kO2Jxe-Kn1GNfdBuleswq7I8UW_7DSDUyeyoYCaNLEcU4VPU0iQdPb463KGg_1TCEzdRVd6MqL4AR-xe4Yhyfl_MZgWz1ytVSR4dirfu3wAJ7dVuYWH3NsA9ki_OqWWutOtZ0i-oVtxJy8l1mUBOCJMAJ9zpKS1UU3RH2VYn_A6GYGMhpU3y2VgprQU6uBl2TI5dM5sZ243gIdZzru7SpSG4pjjf58ijEPSvDDl9IN60gNN1_eFSdiHFP7BjbMxmtqQ==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_052e7ec551f55289016aa8c8d63eac87d19d6b921611f123e7\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMjWZ2Eei8_Gf-5FeEFAYp-gSzFL4D4lQBKL_fyyTYXv5iJ-2jql1mOq0wZpqHL8O9MWxebQGW56Ahd-p21qrDD52CyUBqKKlF87eC1d-cTgjXQlFMsPxvwyQeuU6A2l8tanTtJ48sKtzZtHrDuBXZ35u-lONnovjFGMX3Q83xoqG_um_w5rT420TA_SyU4fGt7oiQvOPS1q4PNo97O824oRnI7n_BC1jPYCaJhl2I1rPJg4afuOpjG-u7JcXRD4JPwZdqMa5o2d0uDKHuUYwP25qiPKKDqTTqFka5cDJjZNPF3ZkVHR-cagjZGvMnizXXxgUpPJ9j83gqY4QJLKCkzcaBj9H7mAL-v9yl4I5kn_9_DhpMILs2SZkC8AvIYNgmel3sDV_BG4XZ2JXciZz86ukQ6DwXgQqS4HOB91g-sGHOWMU1ohsZlEvvJBjGkJ_rAdXVMqAbvi2zvE3_NI4sTAGUrIugGJePrQYTe8gqL8f9NsYac6pzHNQL1e_jQNUvp49bu7EsPzCP3KPYVvZCFohDdwe7sMd6wrztrCJwM4CLdAQK61A7sYzU0HyglLtPidmS5QkSmV6U_xgih7JbKnY0oAeCyYw4ADYqdNTi0axmBErh-lbh-XKNG_TnoMa-2IS3X041N8OsDfSdQp3QsAm53fF8seQuLFa27Iaq2etMj3yGeqWVjA-Mae3K34mt2YPGjQ-HbIOMVmYXBLzNr-s2fT35Sp6SDEsFyvzXb0Vij58s1wW5zkuKgaJiroGgkY86NImuaa3_-wpMK3_9O_wwAbRwV4uBCVzT_rY6rDQHR9-VkM0MbGK8drbdtjXwy3KtAzkux4N4g2nadYU0IIIEUNj_JChUFSHC7VRg7L7LpZMgAFGwHmaUyzQt31LyiVix9WFtcKfBgzehoRV6vstln-oBRd-vFjUW-7WLm7R_lFNHQZ0CKUvKCSpQxdIevczpYT0_lQiDU7Rfp1UBBnicndpq4YQwgRppdZX-QHG5IZxxHNWYdIBtn3eO3ooDXmI-rYryyVcFG6VY5xqssf8GgXqgNy84X_SgYfhGmNiPPQTl5wIBa49f1sxAI-7ri1xLr6FJhQMasOoxm_VuZYNkq6NrAXprtKa70cBRpm1wWBNcPdMul4GNMDQatQZRDENcNLe45iMX-HB1YYSvyc-y5rfSJkP4EgKXC-OqcrzxAlRfB3Bm4jOQL_PSsNBbh26CWAdAYSftM88fbnuqZX2w==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_052e7ec551f55289016aa8c8d6855487d19d0444fc7c0583e1\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":4}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_052e7ec551f55289016aa8c8d6855487d19d0444fc7c0583e1\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Hello\",\"item_id\":\"msg_052e7ec551f55289016aa8c8d6855487d19d0444fc7c0583e1\",\"logprobs\":[],\"obfuscation\":\"8lAZc6nT7SC\",\"output_index\":1,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"!\",\"item_id\":\"msg_052e7ec551f55289016aa8c8d6855487d19d0444fc7c0583e1\",\"logprobs\":[],\"obfuscation\":\"MpO2YGJHKyWqq0E\",\"output_index\":1,\"sequence_number\":7}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_052e7ec551f55289016aa8c8d6855487d19d0444fc7c0583e1\",\"logprobs\":[],\"output_index\":1,\"sequence_number\":8,\"text\":\"Hello!\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_052e7ec551f55289016aa8c8d6855487d19d0444fc7c0583e1\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hello!\"},\"sequence_number\":9}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_052e7ec551f55289016aa8c8d6855487d19d0444fc7c0583e1\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hello!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":10}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_052e7ec551f55289016aa8c8d588bc87d199a65aeae48c0c3e\",\"object\":\"response\",\"created_at\":1789446357,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446358,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Show concise reasoning when the provider supports visible reasoning summaries.\",\"max_output_tokens\":120,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_052e7ec551f55289016aa8c8d63eac87d19d6b921611f123e7\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMjWZwrSFdOW6JTnL2aJFBYb5IOACW3CdzR4d-MVwkjS05AUZx_9vhMdYv4N0qCK4nhFmMXTByvgRQiA0GwQ9iUM8To5-fRbPn87bDwiwHq2INgkgNAncMCGbrPeGbWK6bl7lW1xpWYGhPREeEYRhXznHKxQmpVfAm4mmkb7caWj7yOdnrY0m6L4MZSR51_N4ossNOETph969m-mMfzYz7p2tek3uk_Mne5yI8z5FIx6upO0xbKLVty5k2CYfT-TjgdyN-quunY_uCkEPhxNnaEh2N6jrdtZUZg7HxP-VEoHnnOY-k8_oQjq5HRlQpuCz2bLPrLfAbrYtgam90jojtK0kn6vxDBXPYSc-jJhq_Hxt_HUFHV48W2d5LjAaF8G5vm04RfMaxVBvUAZ-68VjnkNcZbSbdNPESgcEqBqzxMaPU9T8YRfiZzAgonnFbT3K5G76yhbb83bJqtMJEnOHslLWQIpmDl00SpRXyMfD2XyjM7PrZ14Zt4tkttJOEhqxCv1ARAq1uABII6TmJhW7cMgJEiwSn-_9I0dQF_mhD4M_N97C7L68zpTmAM4HbXbU3GtNaHo1vP7R2kso3SZREqOOq7gDEzh4YxgngxJjkUqdyHBlK_zD8BaMWQyq7lnIhtI71zRbqSvEsobaHd1Rik7SNK3IJ21oBkWCb9ms0fq1OGjUNPWtumKUKgkUfCu5qa6UfuPHBK_ItYDQRq1HRP29xQuHY53ctuo8tdENSN4uj3nVRtV3TDVHN3Wyn5_0n5UWgKSyoghT1kknqsaZOJZqkx2L0fJKZHoy0v8jkB9dCv_wMn8rCag76p2VKXZgzOQuJcUgFILdNXdY3d0Y5RHCD0FeaeNFJLucDeOmCWAmzjxu_UnrwJFJDXXjoxkQWViokmED8nebRFeSqIaAd8lNxMdODfGSEOaDtE1ngGT3S2nmeISKPeusGgO4FDHPNrhzyniIAsTc-Yf7-L_zUXWTQR3JS_rByVICChLiMnd7XLDNvFA-HkDbQjD21kz14g6Z_9fEMXzNyK85NtizsqYnKh1k39wUVdf88_7P9HmyqWFtlsOJKtlXbSOjj2ettwTUcYJArDeBW3W01Y7fFHHEJF1Pe4bxwkjR3xmrO5C1MD5_HEmjctPD29ga154VEmWTi9m5waSkXCHEN2yZ10RgpnX3nsJj-isxVEp55_L1JpfObMUu_9FQHbTnjBETW6qRnshH5y_8-1G3DqxRR1Pew==\",\"summary\":[]},{\"id\":\"msg_052e7ec551f55289016aa8c8d6855487d19d0444fc7c0583e1\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hello!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":31,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":20,\"output_tokens_details\":{\"reasoning_tokens\":12},\"total_tokens\":51},\"user\":null,\"metadata\":{}},\"sequence_number\":11}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_0ed7902c618e813b016afce3b400f487d1b207a39905206e83\",\"object\":\"response\",\"created_at\":1794958260,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":120,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0ed7902c618e813b016afce3b400f487d1b207a39905206e83\",\"object\":\"response\",\"created_at\":1794958260,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":120,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_0ed7902c618e813b016afce3b4960887d189d3207b37a51bd5\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OO0Cl9lhBh9SfjDOTxnlCj7saWLr_YVzGSPeKZbxZ1gOMTM2hSEjeXRZtLZMULKp_WjlRCHxLjqPlyM_xAQ5plSyJqSDDQHR73Uk4Zl44s_-Kg8QPMJ8lKedpWzMLNQNYvsrq2voUeAPeMEJn5FQBmwTnjblXlbhFQ5AZc9I73NS65Z4TRFlwbFOTINqk0VaPz8lhOI8pLawIMbFbbgts3PDm2Xvuhi5dZ3SOnwld_gJ2rDuy-9v9BJSCWW4qPqLj_uwHlr4LUzAGuvwL__vLvsunvufLRlKj91Vvp3tNShHbcaTx2cDhXvzGjAzsIS31MJrbJFfnq6SAJDuUnU4cqAQULbDuXcD1FkUEQm-xacjthgWdqMuHHhZzlJ3Yq-JYyGnxm01dyJNYjiFvE8EXvPsP68hF1pEM-5Pu8qoREsfhmOMJYiRhOIYsznhQ2wqdMUxNmkaxXqhmr8Whkt6AUvR0V6AKS5C6IwqjuG_uZH4rgIaXkAlkDozJeo2juyz7p-UAtkFEGWTeiroffqDUMnH_wfhEK7JM4j0BRKtHB2l6Ydxgcc3mi0dZJ7zGspaYB5F6Of_pqoXOHW0CXE_4_8wUyuHTi3VeMHcRhslCYPVNaN8vvPGkmzPBxJt7FeZcH1YrrHMDEv2b0Is4iaOZ92osuTeupWmmT1gWm7sUt61IZT9TEnkh9fA9OjTq7T7YoYHw49rIKEFhwDcrnF-V4QrI8x-j9D321DEz_zAy8O4sH2kseAEaETYmIy47Wz8lGteoXtkD72-vQB_CFIM1QAw_Kl14BsTGxgqdpcnjhFubOVd4KOaj1BguraCI8cmFQlPKKAb3CEvY295aDUzLVpsCsgPHPMDx4y9iOBUtQ30mHRQLypjosViEsvZ1PTqUWpqPEpA3yeRrR9cHUixb70sbEQEEsCmBYl2yDRJ7VgXvrFzqBIeOcxqxGYHpzhaku1Lmu6Z7CD9yNdgg19d9e0jKzMSypoGfj4kJ_dpN3WDINdBmW8yxq3TK9VlieqmAutHQWXib5kTMcPc4j96YOndTELE6DJwjXfl7xd_oKcDhxAeCwvbgbXjvdosmjNhMfYZ1lopJWdOpk2qiaewU5h_uDhS2yZirK1502C12WtwLo9qJfNcsJ49Aac8nt--zSv6W50C8yfEWGt6RWBnUEsvAM2s8k5uP3rE2TJbBxIoYhrrGCnPB5e4smjVluXA9Y8Cu39MxNorQzetdDaqfosrML__wrzpg-Xznh3J5zpqtZmAt-I96IJekaqilyv-w5yz-Ikk6V3E9nivpZQ_26nf5FxROXoqpo7nt0_MYfP9gQyjfo5L5OyibILu3NtS3mq2mSeDiMJAAi-GOW1-8beKGNQq68ydZg0gf-wVaDsX-X3xcVB5f_hFQVAS_AZexmd\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_0ed7902c618e813b016afce3b4960887d189d3207b37a51bd5\",\"type\":\"reasoning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P_er8DEw1_RDTviEURFX3oBgEwAsN9AskHQ-J9kGC8soVIvokONTGF2ZRVb6irNPWv2OywlB5JyMBTq6LCM-6MNHPgcAkR5m-jJtGWzM7ooaNKLFymzsKE3rTJKaDs-VURx_usFq_cjFaGPTuxImzrdh2Tv-D1T3S63HxQGeexeXabe6hysJ1ob4IskHsIPMl5kGfQPqDsqVslHaXV4ci_BOnuvKGV8TRukkLkmcoOKKZlucBnBdgh81ujSuQybxbgBgWn_EANqJYD08t06C3ViU0_gSoc2hIbDBzqY1QOzdSZCuyIVI_RYyzSnZomVKFAW6M1Ej_f4JcETFdZ_ZfdFpP-qjy_r9KebLREjWQrgqSnMm8-bW3U2u6INM62b6zdMK5Hkr9Vbcc3G_RPWYpLkTbfNdJR0p3m3COybNjIFxFR0DUkd8ZXciM1aHCtYhTSVIeB2lnr3D0XGPWnWEMLZr9NPtcu9RZ6fm-ksGHJAtMfjqVTULDRDoeOIXc5QZdCGot3XIG_Pnn5xLB9pkm6Hj5NaFmRJ37t-arBdOw9pZoABCVAt3yArNWzDLqNNGrRNKYvAy-fp6MsdSNdxR8jDUsJ0292yn6d0J-SmyqGPfwqyQNPJIdHYwGlQnnbFsDlYCYnxKhSnGGzROJkdvW3U-Ni4l1LQuHVXgT6WC64MhVZuk9pBaJJYo5N2S-yET0q0crPl5A==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0ed7902c618e813b016afce3b5088c87d1b2c8aafcb3d13ecf\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":4}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0ed7902c618e813b016afce3b5088c87d1b2c8aafcb3d13ecf\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Hello\",\"item_id\":\"msg_0ed7902c618e813b016afce3b5088c87d1b2c8aafcb3d13ecf\",\"logprobs\":[],\"obfuscation\":\"ZzzE8MytVCN\",\"output_index\":1,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"!\",\"item_id\":\"msg_0ed7902c618e813b016afce3b5088c87d1b2c8aafcb3d13ecf\",\"logprobs\":[],\"obfuscation\":\"USrwTx1CUmqDwIn\",\"output_index\":1,\"sequence_number\":7}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0ed7902c618e813b016afce3b5088c87d1b2c8aafcb3d13ecf\",\"logprobs\":[],\"output_index\":1,\"sequence_number\":8,\"text\":\"Hello!\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0ed7902c618e813b016afce3b5088c87d1b2c8aafcb3d13ecf\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hello!\"},\"sequence_number\":9}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0ed7902c618e813b016afce3b5088c87d1b2c8aafcb3d13ecf\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hello!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":10}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0ed7902c618e813b016afce3b400f487d1b207a39905206e83\",\"object\":\"response\",\"created_at\":1794958260,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958261,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":120,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_0ed7902c618e813b016afce3b4960887d189d3207b37a51bd5\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OO1eVZdCm3MktKFrV_mU6C-Uu1s3HRIvLclLdjhAa0UxikuoVrcmJPL6hOG00M9SDkCF6khmnTJBmmsMg478gY9XWCPC8ZKnsYSu6byu1kmUX24bZYTsDPEFRDN21QOagmECrrV_enQsNfOxzPNkzlPH3y3ChHRbDYR1EzoKFuk-5UyLktg4fKQGNOFsUxvZU68mZYKNJfmwNa28oAp_pmTZ36YscmgHkV8QUQOWAAwsmdIZjAn6LsnK5SsF3Y79vQXtKPbRyiB_OoeXTztcB-j2cps3xVbW_QLOXJ3ML2kxSvHOVto_UMo9THF0GAfMD-EUbuR_MvHUP0bqhYR_V6iqKjHbEQ-ktGK7-9aMz4isl_D78Cs8xF3UmDamWUdIPOfOegmxrmDS97mNEKg6enAimcRxhD-rjKKGXf-_Da3RKv2IXgrylCdwXedNy-SOQgjmEAIgqVsLJo_qf-pCQoyDBW9yQ2vdS8y_SDZ5FhCqRKoIch3pG6DFqcWs2O6fFYsPHR3avcKsG_juc2psc_ean-wQrBLsF9MZW8nSSZZspTGzrI-pAG7Fuk7pdVTuIiWOBGlAlJRrSDjiHrchq5GtguHQ1OG9t2lP4GjJxwHMbOAMAO8T6bEzDf6zpZgui8k05vICtpPDuRhn0fx5FdTxPvwNcgAy6MEgx5xQuo08JKI3Hj0jQBCJ2uWYyARyM9QUnBUFe5ry-Qdf6MwrWdKqyP2jZhq7DStgQlpdqR-dP0EOdd-fTS3KAazusfkqwiSOc_KF_B8pbiOVy7IiRFvuh9vPu8ctjdjkgs2txUJA-6gqPutNHIlOIn1wOo4cwGZrXJLCDT_y2b3CeZvkSB6-LQBiAE_uwCP8SEgYe4SO1VtfkAB-seFtudLETSBBZO47Vgsb_Au_dgzxQUjcW-CEtaFpMTrpidS8otxxPPHpGPNhgBrVCSFM_-5A1uiJaTSPUUjfGfyLNDdT9d3UeZzzh2ljr4cWBVgUUVcEzAozCFi8lw-8bCMRa7CTNd6lKlsFOITHlk9lBZ8j-N-hjPXfBdDCHTMzA9xjrwB4DAlFCcxjAATt9F42p1eU83ji5afh3Ge7Mnfma1e4PlhvLbZRcBnkIS4Q9rDtNiDYH8VE7iT4Rw5UM-fQgT3JgoY_ZdNE3tHYIqRuZywmQkGZNoKmtaFD0nOK358NdjwgMBUeeH0YyGlC7Ps5Te1-FIZoghxTBp2gaSk3uHLPNQk27KAq8Z7wNZQlfOqEeUl-Yo8Z5iTYuBYS5DV981NTeEXQVkxxstqU4ngY8Yi--s0qRKMiKtN5Pxokz2qYgdQFfME1xeJd_kwI95o-S8y9JjlaSMbf3E1vyU0wGppLQrFl_wAYGuTJcIMd7YIbvWVFrCQ-6x646QIZlBYnLkcVaF-h_RBIb4rdg2UqgxwyLdYSn2K3WKGvn2oGRevbUFn8zY_NRFmXImISuTQhQKYOfhnobdZVeHo6pyakbatT86QZsnniDqm0Cnrhe6rj0DE8YM2DzgxvWi6kKHRP0MQNT_5CXq3YQVAz2gtYexHBKAUfZ1jlenZx3BOnoiSXM_2EEuHy-5W4wRFQI8U4vHLuysYhmPA0-Cj4xH_02smKANqNfrwVDUstRggzhIRP2WcN4hwJ4CddwpFp78teGNNsbzXxcDBsPNjTcjm2wVr83WvRntUPOCp_Nwje1XuyLarOy35-8eRzov9_l6w4RPJ96UfbRfC2LNBX97x3IN9WmAdjMId0Q==\",\"summary\":[]},{\"id\":\"msg_0ed7902c618e813b016afce3b5088c87d1b2c8aafcb3d13ecf\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hello!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":31,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":19,\"output_tokens_details\":{\"reasoning_tokens\":11},\"total_tokens\":50},\"user\":null,\"metadata\":{}},\"sequence_number\":11}\n\n" } }, { @@ -44,14 +44,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Think briefly, then reply exactly with: Hello!\"}]},{\"type\":\"reasoning\",\"id\":\"rs_052e7ec551f55289016aa8c8d63eac87d19d6b921611f123e7\",\"summary\":[],\"encrypted_content\":\"gAAAAABqqMjWZ2Eei8_Gf-5FeEFAYp-gSzFL4D4lQBKL_fyyTYXv5iJ-2jql1mOq0wZpqHL8O9MWxebQGW56Ahd-p21qrDD52CyUBqKKlF87eC1d-cTgjXQlFMsPxvwyQeuU6A2l8tanTtJ48sKtzZtHrDuBXZ35u-lONnovjFGMX3Q83xoqG_um_w5rT420TA_SyU4fGt7oiQvOPS1q4PNo97O824oRnI7n_BC1jPYCaJhl2I1rPJg4afuOpjG-u7JcXRD4JPwZdqMa5o2d0uDKHuUYwP25qiPKKDqTTqFka5cDJjZNPF3ZkVHR-cagjZGvMnizXXxgUpPJ9j83gqY4QJLKCkzcaBj9H7mAL-v9yl4I5kn_9_DhpMILs2SZkC8AvIYNgmel3sDV_BG4XZ2JXciZz86ukQ6DwXgQqS4HOB91g-sGHOWMU1ohsZlEvvJBjGkJ_rAdXVMqAbvi2zvE3_NI4sTAGUrIugGJePrQYTe8gqL8f9NsYac6pzHNQL1e_jQNUvp49bu7EsPzCP3KPYVvZCFohDdwe7sMd6wrztrCJwM4CLdAQK61A7sYzU0HyglLtPidmS5QkSmV6U_xgih7JbKnY0oAeCyYw4ADYqdNTi0axmBErh-lbh-XKNG_TnoMa-2IS3X041N8OsDfSdQp3QsAm53fF8seQuLFa27Iaq2etMj3yGeqWVjA-Mae3K34mt2YPGjQ-HbIOMVmYXBLzNr-s2fT35Sp6SDEsFyvzXb0Vij58s1wW5zkuKgaJiroGgkY86NImuaa3_-wpMK3_9O_wwAbRwV4uBCVzT_rY6rDQHR9-VkM0MbGK8drbdtjXwy3KtAzkux4N4g2nadYU0IIIEUNj_JChUFSHC7VRg7L7LpZMgAFGwHmaUyzQt31LyiVix9WFtcKfBgzehoRV6vstln-oBRd-vFjUW-7WLm7R_lFNHQZ0CKUvKCSpQxdIevczpYT0_lQiDU7Rfp1UBBnicndpq4YQwgRppdZX-QHG5IZxxHNWYdIBtn3eO3ooDXmI-rYryyVcFG6VY5xqssf8GgXqgNy84X_SgYfhGmNiPPQTl5wIBa49f1sxAI-7ri1xLr6FJhQMasOoxm_VuZYNkq6NrAXprtKa70cBRpm1wWBNcPdMul4GNMDQatQZRDENcNLe45iMX-HB1YYSvyc-y5rfSJkP4EgKXC-OqcrzxAlRfB3Bm4jOQL_PSsNBbh26CWAdAYSftM88fbnuqZX2w==\"},{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Hello!\"}],\"status\":\"completed\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Now reply exactly with: Done.\"}]}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\",\"summary\":\"auto\"},\"max_output_tokens\":40,\"stream\":true}" + "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Think briefly, then reply exactly with: Hello!\"}]},{\"type\":\"reasoning\",\"id\":\"rs_0ed7902c618e813b016afce3b4960887d189d3207b37a51bd5\",\"summary\":[],\"encrypted_content\":\"gAAAAABq_OO1PtbJF457EPUxFEVbDkJusUWQ3T_pvCQ1OucaN-y67hfrmTa9ose_0an-ReDKNZYO6Me5f0DWpRv-qXLEU67gDKPUH2_Pn3jVnqHU4OUoh6y_AszmuXHrc8396HnasHC7fSUOjO4lgkZ6MKIdNLbf4jOtK89Ku4_lkQ5_5As1EVLXmH9kZ3jt3pxQYf8lA95-Zo7ne3ZYdh7q3yrjv0k8WQQ-tcvSwg-hYTzwEZqtKRHlBwMHLnmYgs4ulW6_RlvLmeTQF1BeDkaDRoSD1MkB0hrg_m3UympCBeZnGsM6YDOiWSFJH7QtIBPJtpcY4jWdsVRuA0LiGebOUN8KAMjk-rR4gP2BUj-t74fhELdzPZ4y62ej3KRQUdVBaIFUwE2hvpEPOrCwb39JvdC4YMd4yTS-I1RlgBigJO__23QtAGRdr6c9KL-fiwQsD-pXfu43WeK0SkwlOYE65CePY4ip27k-LaeD_aSBuMJgI5zQCmLlrZDVm9c1gtNorwYSYpYjTP-wOIRTSXE8nbUUQFAJzct8z0GFmnrfw4PPFV74jsdkiFqCKaAYsDTsutRcLBk_pDUgW7rDkLwKJHyimPZBYGU_IR8lO7SpDnOpmAMARI9Or38D74-nquHyr6xNfP6g-4HVpXzNH5yO373BHcYBwIGOg1TJ3EfXJyY9MlaL3i9VUn0HAxvwfFOIRaQ15ryPAbf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status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Hello!\"}]},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Now reply exactly with: Done.\"}]}],\"stream\":true,\"max_output_tokens\":40,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\",\"summary\":\"auto\"}}" }, "response": { "status": 200, "headers": { - "content-type": "text/event-stream; charset=utf-8" + "content-type": "text/event-stream" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_052e7ec551f55289016aa8c8d6ec3c87d1a450197806717e92\",\"object\":\"response\",\"created_at\":1789446358,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_052e7ec551f55289016aa8c8d6ec3c87d1a450197806717e92\",\"object\":\"response\",\"created_at\":1789446358,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_052e7ec551f55289016aa8c8d7860487d195612f236db7f960\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_052e7ec551f55289016aa8c8d7860487d195612f236db7f960\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Done\",\"item_id\":\"msg_052e7ec551f55289016aa8c8d7860487d195612f236db7f960\",\"logprobs\":[],\"obfuscation\":\"K0YE6hf6r8BR\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_052e7ec551f55289016aa8c8d7860487d195612f236db7f960\",\"logprobs\":[],\"obfuscation\":\"eLN0WUxeKauEwV0\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_052e7ec551f55289016aa8c8d7860487d195612f236db7f960\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Done.\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_052e7ec551f55289016aa8c8d7860487d195612f236db7f960\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Done.\"},\"sequence_number\":7}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_052e7ec551f55289016aa8c8d7860487d195612f236db7f960\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Done.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":8}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_052e7ec551f55289016aa8c8d6ec3c87d1a450197806717e92\",\"object\":\"response\",\"created_at\":1789446358,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446359,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"msg_052e7ec551f55289016aa8c8d7860487d195612f236db7f960\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Done.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":35,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":6,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":41},\"user\":null,\"metadata\":{}},\"sequence_number\":9}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"input_transformations\":[],\"id\":\"resp_0ed7902c618e813b016afce3b54fe487d1871786480f029a47\",\"object\":\"response\",\"created_at\":1794958261,\"completed_at\":null,\"status\":\"in_progress\",\"background\":false,\"frequency_penalty\":0.0,\"presence_penalty\":0.0,\"moderation\":null,\"model\":\"gpt-5.5-2026-04-23\",\"access_programs\":null,\"previous_response_id\":null,\"instructions\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"top_p\":0.98,\"top_logprobs\":0,\"temperature\":1.0,\"reasoning\":{\"effort\":\"low\",\"summary\":\"detailed\",\"context\":\"current_turn\",\"mode\":\"standard\"},\"user\":null,\"usage\":null,\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"text_tokens\":0,\"image_tokens\":0},\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0}},\"web_search\":{\"num_requests\":0}},\"safety_identifier\":null,\"store\":false,\"metadata\":{},\"max_output_tokens\":40,\"max_tool_calls\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"image\":{\"context_compression\":\"disabled\"}}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"input_transformations\":[{\"type\":\"reasoning\",\"id\":\"rs_0ed7902c618e813b016afce3b4960887d189d3207b37a51bd5\",\"action\":\"removed\",\"reason\":\"turn_boundary\"}],\"id\":\"resp_0ed7902c618e813b016afce3b54fe487d1871786480f029a47\",\"object\":\"response\",\"created_at\":1794958261,\"completed_at\":null,\"status\":\"in_progress\",\"background\":false,\"frequency_penalty\":0.0,\"presence_penalty\":0.0,\"moderation\":null,\"model\":\"gpt-5.5-2026-04-23\",\"access_programs\":null,\"previous_response_id\":null,\"instructions\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"top_p\":0.98,\"top_logprobs\":0,\"temperature\":1.0,\"reasoning\":{\"effort\":\"low\",\"summary\":\"detailed\",\"context\":\"current_turn\",\"mode\":\"standard\"},\"user\":null,\"usage\":null,\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"text_tokens\":0,\"image_tokens\":0},\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0}},\"web_search\":{\"num_requests\":0}},\"safety_identifier\":null,\"store\":false,\"metadata\":{},\"max_output_tokens\":40,\"max_tool_calls\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"image\":{\"context_compression\":\"disabled\"}}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"message\",\"id\":\"msg_0ed7902c618e813b016afce3b5f23c87d187ff0b2d17bb8895\",\"role\":\"assistant\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\"}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":3,\"item_id\":\"msg_0ed7902c618e813b016afce3b5f23c87d187ff0b2d17bb8895\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":4,\"item_id\":\"msg_0ed7902c618e813b016afce3b5f23c87d187ff0b2d17bb8895\",\"output_index\":0,\"content_index\":0,\"delta\":\"Done\",\"logprobs\":[],\"obfuscation\":\"aFglRbXkC0TP\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":5,\"item_id\":\"msg_0ed7902c618e813b016afce3b5f23c87d187ff0b2d17bb8895\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"tjrzWsBs0mQOV2S\"}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":6,\"item_id\":\"msg_0ed7902c618e813b016afce3b5f23c87d187ff0b2d17bb8895\",\"output_index\":0,\"content_index\":0,\"text\":\"Done.\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":7,\"item_id\":\"msg_0ed7902c618e813b016afce3b5f23c87d187ff0b2d17bb8895\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"Done.\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":8,\"output_index\":0,\"item\":{\"type\":\"message\",\"id\":\"msg_0ed7902c618e813b016afce3b5f23c87d187ff0b2d17bb8895\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Done.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":9,\"response\":{\"input_transformations\":[{\"type\":\"reasoning\",\"id\":\"rs_0ed7902c618e813b016afce3b4960887d189d3207b37a51bd5\",\"action\":\"removed\",\"reason\":\"turn_boundary\"}],\"id\":\"resp_0ed7902c618e813b016afce3b54fe487d1871786480f029a47\",\"object\":\"response\",\"created_at\":1794958261,\"completed_at\":1794958262,\"status\":\"completed\",\"background\":false,\"frequency_penalty\":0.0,\"presence_penalty\":0.0,\"moderation\":null,\"model\":\"gpt-5.5-2026-04-23\",\"access_programs\":null,\"previous_response_id\":null,\"instructions\":null,\"output\":[{\"type\":\"message\",\"id\":\"msg_0ed7902c618e813b016afce3b5f23c87d187ff0b2d17bb8895\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Done.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}],\"error\":null,\"incomplete_details\":null,\"tools\":[],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"top_p\":0.98,\"top_logprobs\":0,\"temperature\":1.0,\"reasoning\":{\"effort\":\"low\",\"summary\":\"detailed\",\"context\":\"current_turn\",\"mode\":\"standard\"},\"user\":null,\"usage\":{\"input_tokens\":35,\"input_tokens_details\":{\"cached_tokens\":0,\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_30m_tokens\":0,\"ttl_12h_tokens\":0}},\"output_tokens\":6,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":41},\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"text_tokens\":0,\"image_tokens\":0},\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0}},\"web_search\":{\"num_requests\":0}},\"safety_identifier\":null,\"store\":false,\"metadata\":{},\"max_output_tokens\":40,\"max_tool_calls\":null,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"image\":{\"context_compression\":\"disabled\"}}}\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-reasoning.json b/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-reasoning.json index 20c2277f860d..6f29c8f87fe4 100644 --- a/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-reasoning.json +++ b/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-reasoning.json @@ -13,7 +13,7 @@ "golden" ], "name": "openai-responses/openai-responses-gpt-5-5-reasoning", - "recordedAt": "2026-09-15T04:25:57.257Z" + "recordedAt": "2026-11-17T23:30:59.843Z" }, "interactions": [ { @@ -24,14 +24,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Think briefly, then reply exactly with: Hello!\"}]}],\"instructions\":\"Show concise reasoning when the provider supports visible reasoning summaries.\",\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\",\"summary\":\"auto\"},\"max_output_tokens\":120,\"stream\":true}" + "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Show concise reasoning when the provider supports visible reasoning summaries.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Think briefly, then reply exactly with: Hello!\"}]}],\"stream\":true,\"max_output_tokens\":120,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\",\"summary\":\"auto\"}}" }, "response": { "status": 200, "headers": { - "content-type": "text/event-stream; charset=utf-8" + "content-type": "text/event-stream" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_05632341d7ab496b016aa8c8d42f4c87d19c569d0d71cec0dc\",\"object\":\"response\",\"created_at\":1789446356,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Show concise reasoning when the provider supports visible reasoning summaries.\",\"max_output_tokens\":120,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_05632341d7ab496b016aa8c8d42f4c87d19c569d0d71cec0dc\",\"object\":\"response\",\"created_at\":1789446356,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Show concise reasoning when the provider supports visible reasoning summaries.\",\"max_output_tokens\":120,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_05632341d7ab496b016aa8c8d4dcc487d1861d433d8acb6049\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMjUYPFVDYpybQePnOyfpmKg32WdbH5WqK_gE7l56hawfM2KzEH4nvXaO-PDlfu8KUq43bS0oS3kMoSeho38kmXUGN5EspmlQjQd7i4TITkp5z7xelA7foyxG67s1eq6szKneXwNOG8mDSeShJl5cg6dXkqCAEdIavtC1RqLL5JinD4Gb7PU7guN_Sa8yQDl1NSytVfPDyBsyjAr-fnRrdzsuMy-UplIzhKYjWWfx6NkCFmNYrfMw_NqNJ3RD2dR6dwJnldUJC8iO58hlFZr7DRIIc96baJKsS1H-dzohTegbjwcwIzwuAYZhItDX8i5QeTRaAXxGP_jq40A8gmqcwGWuk0zR1pPfWsBVASmVFSM7VLBc51GQ8_KGLREEgXCXYJ9BpbP8accF5sq-XH5FsigyckoNcy9ZZlxpkxFdmntVd7yU87qw9u_GN_HvfnXAR5H36eCjQUSt6rW2EZrwKyYuGqLO3BbBE_Qo4qVOCo8vWxoVumC7A82GL-XYRZ9zbAei_Ok2HIDkIBwpWb_z_8wcpFRaRAXUZ1ltWBXvCMBWEmfgSvXlhl5PWKOZYhe-Z40-9PO_IpYnlJSY8MGD71dNpZBaD04MnxjtSfo-GtZTIloqlYUdeO2_ImDIhQW0IdeDw6hRQ_3YAIK7-JrGHT9QNOL1IOwgC5fj5xpcPwULrQbe8owk9GHidwlWyCTXXOKQQ5lVlJwRJoUl_C4-FX40UTbmPi2JPNmOVd07XfZfMXHZwZPKTVdqq9JXd7TYuNayYLTteTgr4XgTw6wtur0e6XnEBXEwjItCtqvkAU0HE9cxZyABctRXfJlCJImtC6xjiW1FYCSfMHl9As3sElcwd2NVj4Q7flkNrOnuVCyJLAv_F4JZOpm3TcDfGpeeUK9Jedg85yJ8NnUTrHLgXrLnEWLb3v1CvGTDVWNW_TQoiqUfjPUM_zPrOm_XkbElhr4DztxERGe8V7_cuvHU7XbvB-_Xngk6ooqS86SOqPi-5_UESgi1pWqenYQ1x45R04h9B8vEibePO3Tb4MpISOFDKF3TevfTZE9ZmsHZpoAeyrTSm4EPNVXMea2kZpCSguaXNadnEALLZzglTLcI2yXsHiiLjAarVo_u2NNbY64NEgQdJwkxV1D2XTOGjT5zsHBxACiiBj-HQ_e3kY4ZOnw_A==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_05632341d7ab496b016aa8c8d4dcc487d1861d433d8acb6049\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMjVKs13VoRTGmsy3Sni-y_8OFDA0gf8-PkqOMWu5NJBh94FetMTlhhiQsO0JyElW5Jqn3knqC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3N65f-bYgZIOaYXuEVdRHk0Xztip8pnSwpweTT4-sVBpg6X2sQOOf4czTK04fHui5WmI24PUtf1b5NQ==\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_05632341d7ab496b016aa8c8d51f5487d1896343d8c4855175\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":4}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_05632341d7ab496b016aa8c8d51f5487d1896343d8c4855175\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Hello\",\"item_id\":\"msg_05632341d7ab496b016aa8c8d51f5487d1896343d8c4855175\",\"logprobs\":[],\"obfuscation\":\"CCp70FGv9og\",\"output_index\":1,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"!\",\"item_id\":\"msg_05632341d7ab496b016aa8c8d51f5487d1896343d8c4855175\",\"logprobs\":[],\"obfuscation\":\"EIrgxmuLGJhyGjK\",\"output_index\":1,\"sequence_number\":7}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_05632341d7ab496b016aa8c8d51f5487d1896343d8c4855175\",\"logprobs\":[],\"output_index\":1,\"sequence_number\":8,\"text\":\"Hello!\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_05632341d7ab496b016aa8c8d51f5487d1896343d8c4855175\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hello!\"},\"sequence_number\":9}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_05632341d7ab496b016aa8c8d51f5487d1896343d8c4855175\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hello!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":1,\"sequence_number\":10}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_05632341d7ab496b016aa8c8d42f4c87d19c569d0d71cec0dc\",\"object\":\"response\",\"created_at\":1789446356,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446357,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Show concise reasoning when the provider supports visible reasoning summaries.\",\"max_output_tokens\":120,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_05632341d7ab496b016aa8c8d4dcc487d1861d433d8acb6049\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABqqMjVPPx5gxDqucZi4aqxhHbEpIvRLsEoeUIqLFz-DVJiRBhXuKUlSRbYgN5_oRYlL4L_k-rA8oV5T5oIdCtyuxTSVNg0a9FTelpCNnIxcsWfeLG7i0ctLL1jIrMrFK5b-3kfDxMA6gh4VLkea3HfL1XPI7huir-rPJeXrYhTxlSVSgXnxDCX3jlw4KnI0iXaXHF1pn0SZh12Bg4RirG_aUjkJMJiNA4gDHx2caOPvyjMQFWCFuaZJaLrd2TTqAIuFbooHjmYGAdHe-0slgLMVxEFJ-PFSahTXq9flXcNZaHhqAqtyQpbEu4iY-w0gRqKry769LAoZ1nQ_-7PFPdPOnV30qkTfB_59W1UUgNNX7GrzhSDXr8Is7lWW_Oh1iGCSCXJ04ZndCmFshdPA-CXTu7yM8HnW9aGRbKHncDLRDw57W2dwZVvtoT3rDVaj_4yE4ua_GMVm8ON8qrbaaWZz4W1Kojro7Y3Uo3kon-1k3HevjmSSd0eFBO322zJn7g3shzZMKhcc1IsTDlpy67i3eXfPj6aafF0TFPuhpGs6a8921CYB4VCg0nMAwek9GwyFH6qE2n2z8Dh8r_7snrf_zP4Pnx1mSqAZ0G_IYsWENWzF_v4LOarTh1ygpkwPhv3oqOKn4RnfWA52dFo9H4kBtU3GhrRuXxIXddM8fhkRY0yGQTv88gMt7ai4u9tPjEBHm4OkHmFejNPxxSBCyfGOOBaAIR8XjP_H3FtkVVvqqosx4dGa8WpV1JicNiWODOOzomGecV6KyKvJOiJsFetb85Max_yc2PZHUfx5ApW04g0dIjsaZlXcjuafi-U0mSFV6kGyTu2AWINcAT2T7o8f8jbO3PZM2BgSzNBiEZwhXg-qxtPai7vOLe-2orm7D73bkAdCvnCEBCJrnY73ZKDTONiR2V8sKx7ROuUMbQ0T5roxOon51oPcvIEp2cC4l15v2wkxuvF6Q58kE62-xNDHWeUEneIgnMmd8Jba3q5f5DyZ4VOWXerJepMKwZGi0eC5nSVGskmnwUwaoV3j5jZ1tzdtWuEVugQMZKDW2hoXbmCteZ2bx6LdPTX8T6Jy5uq5rkyf-jCyMmo9FnsK9DNDsYLTxh_sLeFS3oK5ZEEOplarpPs__HVVwyp97df7LEBPgVCI3ks7YWpuqMwAvf8ZPX2e2VoW0iLTQF_m6Yxc1st_ZQScIwOI9vgpSUHFWhAm27ikuLqgumU9kqPYg4z_V_SAQ==\",\"summary\":[]},{\"id\":\"msg_05632341d7ab496b016aa8c8d51f5487d1896343d8c4855175\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Hello!\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"low\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":31,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":21,\"output_tokens_details\":{\"reasoning_tokens\":13},\"total_tokens\":52},\"user\":null,\"metadata\":{}},\"sequence_number\":11}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"input_transformations\":[],\"id\":\"resp_0cc0e14016f80e8c016afce3b2c6a087d1aae21656a767f192\",\"object\":\"response\",\"created_at\":1794958258,\"completed_at\":null,\"status\":\"in_progress\",\"background\":false,\"frequency_penalty\":0.0,\"presence_penalty\":0.0,\"moderation\":null,\"model\":\"gpt-5.5-2026-04-23\",\"access_programs\":null,\"previous_response_id\":null,\"instructions\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"top_p\":0.98,\"top_logprobs\":0,\"temperature\":1.0,\"reasoning\":{\"effort\":\"low\",\"summary\":\"detailed\",\"context\":\"current_turn\",\"mode\":\"standard\"},\"user\":null,\"usage\":null,\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"text_tokens\":0,\"image_tokens\":0},\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0}},\"web_search\":{\"num_requests\":0}},\"safety_identifier\":null,\"store\":false,\"metadata\":{},\"max_output_tokens\":120,\"max_tool_calls\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"image\":{\"context_compression\":\"disabled\"}}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"input_transformations\":[],\"id\":\"resp_0cc0e14016f80e8c016afce3b2c6a087d1aae21656a767f192\",\"object\":\"response\",\"created_at\":1794958258,\"completed_at\":null,\"status\":\"in_progress\",\"background\":false,\"frequency_penalty\":0.0,\"presence_penalty\":0.0,\"moderation\":null,\"model\":\"gpt-5.5-2026-04-23\",\"access_programs\":null,\"previous_response_id\":null,\"instructions\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"top_p\":0.98,\"top_logprobs\":0,\"temperature\":1.0,\"reasoning\":{\"effort\":\"low\",\"summary\":\"detailed\",\"context\":\"current_turn\",\"mode\":\"standard\"},\"user\":null,\"usage\":null,\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"text_tokens\":0,\"image_tokens\":0},\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0}},\"web_search\":{\"num_requests\":0}},\"safety_identifier\":null,\"store\":false,\"metadata\":{},\"max_output_tokens\":120,\"max_tool_calls\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"image\":{\"context_compression\":\"disabled\"}}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_0cc0e14016f80e8c016afce3b32ab487d19dccc7a966082189\",\"summary\":[],\"content\":[],\"encrypted_content\":\"gAAAAABq_OOzdwdYckR0Kb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bzeBrUL4PnjmVMBZ8JVw---MVoqh-35DBhVmQCSOfXKvdLsZ7fW4fDFAiiRCQst7GSVk39Tj5My68IvRyUgHXJrRw6ZJCiAj47Iq9VTqmdJxHScIJwYLGQXMAB1wiLy6opfEomBMKXC85SBg9wPgmvMul1nWgsuQ_JCvqwix9sxbIppgpeIejDXz8NwopRjkKcv-uWMxMkdAMZtcq9ZdDNviPeoho1r77EVKWhve6TK-VL4Ee587FbHXHw-o0N6631GzuDcas7VaOGNlSAznzhquHmIdWKMnT7B9aVyH-5u-X42SD1x9lT5XI3Oa97UnH\"}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":3,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_0cc0e14016f80e8c016afce3b32ab487d19dccc7a966082189\",\"summary\":[],\"content\":[],\"encrypted_content\":\"gAAAAABq_OOzcW6Q41eaJcqSuQpXZnEe9qgSA8TaE520gvJJL5vwxjpXPGySuVWSzNhpDGlhwMl7VwgVuHVVbexiCSGwuX1WlHwJd6fMgUBxpS2tawmyuuGkhxsvdaLfb_PEDC5ocu0JdO-a40hpBCPO1ou70rA1h6_Y_z0JFMALDaS0vbENstCSGA-LkyUm8vGEFRhAYI08LATy5g4AW59jgEsnoQgUP1PYe5h_ZW7o1H0jtUPk_17N-D1zkXfc-4NB40PC66UkKY85726TrJ0k55nNjTYfzW_6KdD-uS5o9AjTNgOOsMgSsGjYAoaJ6qjWMe3KIZosSUlYtGedFhRg8-8kzd45JqHCwgLq_ZZOaMCdfGExOafLBI3MV9T8TO1VZZZzfHooDd2gxBiCF4xPAQPm3g4H4Z7qv-EgZGUMwp6N_mVCtfs4irOUPkwjv7y9esyuyvm7czG60bW3ChPKcVb9CM7XCUyuvtHUOLbp_ixmMbns-UcTiWFx6b7bZoybp7qFuiyguHr_iOuqHGAXsxJV9i8-Xrog6dtKnXGoVUOkgW03NTkjH_2TFy2Gvut73meYDwq5ikDvhIATDGKgUe9oRhd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rcBd_QkbKvrgq4ttIpQG3rqVkeHbaWmYLhsUsZWS0QEyuiSm9kvaLDMvywKgKSPRjhECC_ZJ6qA==\"}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":4,\"output_index\":1,\"item\":{\"type\":\"message\",\"id\":\"msg_0cc0e14016f80e8c016afce3b3b89487d19c06429ef6e396d3\",\"role\":\"assistant\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\"}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":5,\"item_id\":\"msg_0cc0e14016f80e8c016afce3b3b89487d19c06429ef6e396d3\",\"output_index\":1,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":6,\"item_id\":\"msg_0cc0e14016f80e8c016afce3b3b89487d19c06429ef6e396d3\",\"output_index\":1,\"content_index\":0,\"delta\":\"Hello\",\"logprobs\":[],\"obfuscation\":\"vRhjwqlzCkB\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":7,\"item_id\":\"msg_0cc0e14016f80e8c016afce3b3b89487d19c06429ef6e396d3\",\"output_index\":1,\"content_index\":0,\"delta\":\"!\",\"logprobs\":[],\"obfuscation\":\"QmB1R8y8LmynfiN\"}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":8,\"item_id\":\"msg_0cc0e14016f80e8c016afce3b3b89487d19c06429ef6e396d3\",\"output_index\":1,\"content_index\":0,\"text\":\"Hello!\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":9,\"item_id\":\"msg_0cc0e14016f80e8c016afce3b3b89487d19c06429ef6e396d3\",\"output_index\":1,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"Hello!\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":10,\"output_index\":1,\"item\":{\"type\":\"message\",\"id\":\"msg_0cc0e14016f80e8c016afce3b3b89487d19c06429ef6e396d3\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Hello!\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":11,\"response\":{\"input_transformations\":[],\"id\":\"resp_0cc0e14016f80e8c016afce3b2c6a087d1aae21656a767f192\",\"object\":\"response\",\"created_at\":1794958258,\"completed_at\":1794958259,\"status\":\"completed\",\"background\":false,\"frequency_penalty\":0.0,\"presence_penalty\":0.0,\"moderation\":null,\"model\":\"gpt-5.5-2026-04-23\",\"access_programs\":null,\"previous_response_id\":null,\"instructions\":null,\"output\":[{\"type\":\"reasoning\",\"id\":\"rs_0cc0e14016f80e8c016afce3b32ab487d19dccc7a966082189\",\"summary\":[],\"content\":[],\"encrypted_content\":\"gAAAAABq_OOzcW6Q41eaJcqSuQpXZnEe9qgSA8TaE520gvJJL5vwxjpXPGySuVWSzNhpDGlhwMl7VwgVuHVVbexiCSGwuX1WlHwJd6fMgUBxpS2tawmyuuGkhxsvdaLfb_PEDC5ocu0JdO-a40hpBCPO1ou70rA1h6_Y_z0JFMALDaS0vbENstCSGA-LkyUm8vGEFRhAYI08LATy5g4AW59jgEsnoQgUP1PYe5h_ZW7o1H0jtUPk_17N-D1zkXfc-4NB40PC66UkKY85726TrJ0k55nNjTYfzW_6KdD-uS5o9AjTNgOOsMgSsGjYAoaJ6qjWMe3KIZosSUlYtGedFhRg8-8kzd45JqHCwgLq_ZZOaMCdfGExOafLBI3MV9T8TO1VZZZzfHooDd2gxBiCF4xPAQPm3g4H4Z7qv-EgZGUMwp6N_mVCtfs4irOUPkwjv7y9esyuyvm7czG60bW3ChPKcVb9CM7XCUyuvtHUOLbp_ixmM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9QQM4ZkAmORrPMdQxjSk-MBqZTgKWw2LEKLcAKBn_zcv81EcTo1PtX6vFwjr2z9jdXfDQ4cDlMBnr8p0OxxzviHfHBKNr6_sXXm7BWMcrcBd_QkbKvrgq4ttIpQG3rqVkeHbaWmYLhsUsZWS0QEyuiSm9kvaLDMvywKgKSPRjhECC_ZJ6qA==\"},{\"type\":\"message\",\"id\":\"msg_0cc0e14016f80e8c016afce3b3b89487d19c06429ef6e396d3\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Hello!\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}],\"error\":null,\"incomplete_details\":null,\"tools\":[],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"top_p\":0.98,\"top_logprobs\":0,\"temperature\":1.0,\"reasoning\":{\"effort\":\"low\",\"summary\":\"detailed\",\"context\":\"current_turn\",\"mode\":\"standard\"},\"user\":null,\"usage\":{\"input_tokens\":31,\"input_tokens_details\":{\"cached_tokens\":0,\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_30m_tokens\":0,\"ttl_12h_tokens\":0}},\"output_tokens\":20,\"output_tokens_details\":{\"reasoning_tokens\":12},\"total_tokens\":51},\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"text_tokens\":0,\"image_tokens\":0},\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0}},\"web_search\":{\"num_requests\":0}},\"safety_identifier\":null,\"store\":false,\"metadata\":{},\"max_output_tokens\":120,\"max_tool_calls\":null,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"image\":{\"context_compression\":\"disabled\"}}}\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-tool-loop.json b/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-tool-loop.json index d9baeac74d85..6d8372d9721a 100644 --- a/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-tool-loop.json +++ b/packages/ai/test/fixtures/recordings/openai-responses/openai-responses-gpt-5-5-tool-loop.json @@ -14,7 +14,7 @@ "golden" ], "name": "openai-responses/openai-responses-gpt-5-5-tool-loop", - "recordedAt": "2026-09-15T04:26:02.132Z" + "recordedAt": "2026-11-17T23:31:05.003Z" }, "interactions": [ { @@ -25,14 +25,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":80,\"stream\":true}" + "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"stream\":true,\"max_output_tokens\":80,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_09525c04931d1487016aa8c8d7d7a087d193a800e8ff64c2da\",\"object\":\"response\",\"created_at\":1789446359,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_09525c04931d1487016aa8c8d7d7a087d193a800e8ff64c2da\",\"object\":\"response\",\"created_at\":1789446359,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"type\":\"function_call\",\"status\":\"in_progress\",\"arguments\":\"\",\"call_id\":\"call_p57PJbKe0bX44nj908fpHdRn\",\"name\":\"get_weather\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"{\\\"\",\"item_id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"obfuscation\":\"YRvhgwLEM45cBC\",\"output_index\":0,\"sequence_number\":3}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"city\",\"item_id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"obfuscation\":\"382PascAjk4Q\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\":\\\"\",\"item_id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"obfuscation\":\"e7UuF2A9R0Lnw\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"Paris\",\"item_id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"obfuscation\":\"HAZSxlpbQFV\",\"output_index\":0,\"sequence_number\":6}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\"}\",\"item_id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"obfuscation\":\"3M1B6gKTIDSUkK\",\"output_index\":0,\"sequence_number\":7}\n\nevent: response.function_call_arguments.done\ndata: {\"type\":\"response.function_call_arguments.done\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"item_id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"output_index\":0,\"sequence_number\":8}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_p57PJbKe0bX44nj908fpHdRn\",\"name\":\"get_weather\"},\"output_index\":0,\"sequence_number\":9}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_09525c04931d1487016aa8c8d7d7a087d193a800e8ff64c2da\",\"object\":\"response\",\"created_at\":1789446359,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446361,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_p57PJbKe0bX44nj908fpHdRn\",\"name\":\"get_weather\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":74,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":18,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":92},\"user\":null,\"metadata\":{}},\"sequence_number\":10}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_04870ce700e644f3016afce3b64bc087d19ba320cf5d0358cf\",\"object\":\"response\",\"created_at\":1794958262,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_04870ce700e644f3016afce3b64bc087d19ba320cf5d0358cf\",\"object\":\"response\",\"created_at\":1794958262,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_04870ce700e644f3016afce3b7282087d1889df6baccd3913e\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OO3sa5ijQHjMtV4uMK1XpTJoTZ9-tbmiOexkY3stpRoga-pCwwJlslwPmuPy4yQIFOLQg8SwgayOuqlSFE34cfI4FwPohJrLsSYcY_nNrM7Z0Gij_xoPFfmrzWU5mFx51FW2kT_t0TBQVFYfMBKJjXt9f1QCqAGv4kJMFBZktTs-I-2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GwMHMlXMfQHW7jz61UOvol9vfRPaqzY4iuJ8L3n1GQz3RblDIS2Pw_dbt21xqjF3m168ZQkeCTUuwmmU5uDx1RUcgFGoU62cL_PwSQE1O4QDW4ajmOvu17ugShxObYwfFw7W2UtPSaRC3x2ek2FwyxsIQBc77\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_04870ce700e644f3016afce3b7282087d1889df6baccd3913e\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OO37wFrTB3FoHSUQQLNWlNNyCAZW3GbMmmkC2_6J8bbUpDn5Ws_CPeEIi30SLkOgph_C_RNsIUFA3uCmOMM2XACwEnZS2YBSihfTFei96QEcj3aD6cllDpNZ-LdymMk7u8kJxCiKR6my6LgsAaWNUOhbsz1Xlb_j8_UK48AN1l2RZd2JqZqwxQd3lnP9z4Z_F6d1xO7sWQYDRMXb5GL5IVvJotbRqwNSHT2YtxpI78uY3SOZBlyxyi6aSvA741oSXTY6iktyUBQE2GB7EWPJ8wM8omXW-iIzD77znxbRlklJIG7xNejl6mHXsfqVwvLs7uwEQoaPN36jm9D3LUbKDgIewRZuKSmA01PN-eMB6pJZnwPFs41tCpQ6JnDm1wzm3OygJyN2capyAC3rtqVXMZCztIu77RcPHQ8b2raA_NBudzSczHVYV1WmQZWhdRm84xAYQVxSpLEQJDJOo0Pib1QpcUcmZDbF2GxBbItXffkeUvs10sfbwMvRnBLndoyzFdb_vw6nV4m4rs-g8jWwvl4aDnkheivNGq9uAn385C2ZlAEAcQVhZIzQcxQ65ZEOZ0vqqmTLwHpd45y7voaKAQNk1vdaDHi1vQWQsbXXPt4nTDbU7Iar3b4icQFgLrxC7sYJ4SDGhnKCwZbEgM4W2o1FukKT1AU4fxNDzXSVVAyNPTJeyIVvoakHKjVp6TqLQWmklhKnZq8dDQClw6CO_yHb3EzJgUYdIWA0OKgqwbWL75SHP6ow3olZ0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k4NLQQrgVtk0ZrpnEbgfHtZTVYzJ5LBGj31htycXrAcc4o6pthjrPUStD3Fk=\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"fc_04870ce700e644f3016afce3b7bb0087d1a6fa7e1c7630ff98\",\"type\":\"function_call\",\"status\":\"in_progress\",\"arguments\":\"\",\"call_id\":\"call_x3LVQer1EK7ZxoUovwZ722qa\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":4}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"{\\\"\",\"item_id\":\"fc_04870ce700e644f3016afce3b7bb0087d1a6fa7e1c7630ff98\",\"obfuscation\":\"Fs3tK7pvpt2WYu\",\"output_index\":1,\"sequence_number\":5}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"city\",\"item_id\":\"fc_04870ce700e644f3016afce3b7bb0087d1a6fa7e1c7630ff98\",\"obfuscation\":\"MPJ08F6nhrCo\",\"output_index\":1,\"sequence_number\":6}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\":\\\"\",\"item_id\":\"fc_04870ce700e644f3016afce3b7bb0087d1a6fa7e1c7630ff98\",\"obfuscation\":\"PJ5n7Av1ir7aR\",\"output_index\":1,\"sequence_number\":7}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"Paris\",\"item_id\":\"fc_04870ce700e644f3016afce3b7bb0087d1a6fa7e1c7630ff98\",\"obfuscation\":\"5DDQAXtEZI0\",\"output_index\":1,\"sequence_number\":8}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\"}\",\"item_id\":\"fc_04870ce700e644f3016afce3b7bb0087d1a6fa7e1c7630ff98\",\"obfuscation\":\"nOA9CygJQk9mTh\",\"output_index\":1,\"sequence_number\":9}\n\nevent: response.function_call_arguments.done\ndata: {\"type\":\"response.function_call_arguments.done\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"item_id\":\"fc_04870ce700e644f3016afce3b7bb0087d1a6fa7e1c7630ff98\",\"output_index\":1,\"sequence_number\":10}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"fc_04870ce700e644f3016afce3b7bb0087d1a6fa7e1c7630ff98\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_x3LVQer1EK7ZxoUovwZ722qa\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":11}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_04870ce700e644f3016afce3b64bc087d19ba320cf5d0358cf\",\"object\":\"response\",\"created_at\":1794958262,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958263,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"rs_04870ce700e644f3016afce3b7282087d1889df6baccd3913e\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OO3GRaj0oBrsJTPf8OQ149i60Z47YQ4-R18C7jftRpV66GfpWCS_pEbeV_18-I-2KC5XA0M1yDYy_GZQjYgGmvCf6aG9rW0HTDiAdsK9nm1ZnsoJDSVv2BFHqwXGjxH-ETM77eTPdQF6Dwvl4ST9g_eTS1feSjFCwn35U7xqrDLTKX5T_yk4yfosBk1_-X3xUADfKUrRGVhHZb6bzldjmTD0bIeXAiMzO5CD7Lz-pStazCWNBBOOf7YX99Rq2rFKBdgQbiRPBvb1fVg7JrgdtycLuMn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G6Zrtg7jwGqhtcuC_tOS40OJd17FolU3kD-Lb5RvQj-WTNQIzDrmayyhb-BaF12neMy6MLbERo6UvCKABKM6gSKGtA5LVMhZ4ODVwwqINhkVjJ69AcPkN2KHNw54i5xjsuB_XjO0R1sUCk7DooJ8njme2xU7ob8k6XJMgiqrdPXb2IRyZQFu_1XDjXiIg21FeGeV_VUCSfvi6W1pU9N_SUln4iWlN3Puc6PA8fWbBj8J6a_1B1kMpqhYUg9jyCuX4Frlcz0TdvtHc7JROkfUZaT0x8pcWosOz3eYKMLI-NzRPDrVUS4ONW1T1aHmy1c6P8dQnketMNxoYjk2RFaB-eRZMwawKlS0TG4CAJSpM3tdxyWxf8yF57Qe7N2Tn4RpjTVePNahrcFnTrHeIxG1z3BwNZ5HK55uOY78nn4L-M1niBOdElseAFO8HVcBzrku8Q3kMANE0-d8V8y_zNHQo4yYjvyccmq2OG7JKnLRpt9tzJ-MaeG3HEaZKWamBD1VKeasUPVNVwOuN_qxMz24=\",\"summary\":[]},{\"id\":\"fc_04870ce700e644f3016afce3b7bb0087d1a6fa7e1c7630ff98\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_x3LVQer1EK7ZxoUovwZ722qa\",\"name\":\"get_weather\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":74,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":41,\"output_tokens_details\":{\"reasoning_tokens\":21},\"total_tokens\":115},\"user\":null,\"metadata\":{}},\"sequence_number\":12}\n\n" } }, { @@ -43,14 +43,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"function_call\",\"id\":\"fc_09525c04931d1487016aa8c8d8e12887d193bd327a0f313bd7\",\"call_id\":\"call_p57PJbKe0bX44nj908fpHdRn\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_p57PJbKe0bX44nj908fpHdRn\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"max_output_tokens\":80,\"stream\":true}" + "body": "{\"model\":\"gpt-5.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"reasoning\",\"id\":\"rs_04870ce700e644f3016afce3b7282087d1889df6baccd3913e\",\"summary\":[],\"encrypted_content\":\"gAAAAABq_OO37wFrTB3FoHSUQQLNWlNNyCAZW3GbMmmkC2_6J8bbUpDn5Ws_CPeEIi30SLkOgph_C_RNsIUFA3uCmOMM2XACwEnZS2YBSihfTFei96QEcj3aD6cllDpNZ-LdymMk7u8kJxCiKR6my6LgsAaWNUOhbsz1Xlb_j8_UK48AN1l2RZd2JqZqwxQd3lnP9z4Z_F6d1xO7sWQYDRMXb5GL5IVvJotbRqwNSHT2YtxpI78uY3SOZBlyxyi6aSvA741oSXTY6iktyUBQE2GB7EWPJ8wM8omXW-iIzD77znxbRlklJIG7xNejl6mHXsfqVwvLs7uwEQoaPN36jm9D3LUbKDgIewRZuKSmA01PN-eMB6pJZnwPFs41tCpQ6JnDm1wzm3OygJyN2capyAC3rtqVXMZCztIu77RcPHQ8b2raA_NBudzSczHVYV1WmQZWhdRm84xAYQVxSpLEQJDJOo0Pib1QpcUcmZDbF2GxBbItXffkeUvs10sfbwMvRnBLndoyzFdb_vw6nV4m4rs-g8jWwvl4aDnkheivNGq9uAn385C2ZlAEAcQVhZIzQcxQ65ZEOZ0vqqmTLwHpd45y7voaKAQNk1vdaDHi1vQWQsbXXPt4nTDbU7Iar3b4icQFgLrxC7sYJ4SDGhnKCwZbEgM4W2o1FukKT1AU4fxNDzXSVVAyNPTJeyIVvoakHKjVp6TqLQWmklhKnZq8dDQClw6CO_yHb3EzJgUYdIWA0OKgqwbWL75SHP6ow3olZ0x5RX_XYBTrPXMUyEGAcTmN4W_oBEwRqVUTplWFRjo9B1q6Wii4vF7L8i4-TSzYq1XEcTwsa1YgmsIq9qRp038-TJWvabxqY9BJ2rvoVQH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0087d1a6fa7e1c7630ff98\",\"call_id\":\"call_x3LVQer1EK7ZxoUovwZ722qa\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_x3LVQer1EK7ZxoUovwZ722qa\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"stream\":true,\"max_output_tokens\":80,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_09525c04931d1487016aa8c8d9418c87d1927e6797c421a284\",\"object\":\"response\",\"created_at\":1789446361,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_09525c04931d1487016aa8c8d9418c87d1927e6797c421a284\",\"object\":\"response\",\"created_at\":1789446361,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Paris\",\"item_id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"logprobs\":[],\"obfuscation\":\"zLpA3SrJgiJ\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" is\",\"item_id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"logprobs\":[],\"obfuscation\":\"3bMcS3ZBiw6TY\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" sunny\",\"item_id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"logprobs\":[],\"obfuscation\":\"RA3XMlf6m9\",\"output_index\":0,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"logprobs\":[],\"obfuscation\":\"el9qRhxmIy2PkW9\",\"output_index\":0,\"sequence_number\":7}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":8,\"text\":\"Paris is sunny.\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"},\"sequence_number\":9}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":10}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_09525c04931d1487016aa8c8d9418c87d1927e6797c421a284\",\"object\":\"response\",\"created_at\":1789446361,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446362,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"msg_09525c04931d1487016aa8c8da02bc87d1885282e7bdac39d8\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"low\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":113,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":8,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":121},\"user\":null,\"metadata\":{}},\"sequence_number\":11}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_04870ce700e644f3016afce3b7f91c87d1b6f7dbe4001961cd\",\"object\":\"response\",\"created_at\":1794958264,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_04870ce700e644f3016afce3b7f91c87d1b6f7dbe4001961cd\",\"object\":\"response\",\"created_at\":1794958264,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Paris\",\"item_id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"logprobs\":[],\"obfuscation\":\"IAjvJIuK9hM\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" is\",\"item_id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"logprobs\":[],\"obfuscation\":\"l0YOKjCH1qLBT\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" sunny\",\"item_id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"logprobs\":[],\"obfuscation\":\"N5neG4OsXf\",\"output_index\":0,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"logprobs\":[],\"obfuscation\":\"Lp6NzjpKFPphX9i\",\"output_index\":0,\"sequence_number\":7}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":8,\"text\":\"Paris is sunny.\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"},\"sequence_number\":9}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":10}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_04870ce700e644f3016afce3b7f91c87d1b6f7dbe4001961cd\",\"object\":\"response\",\"created_at\":1794958264,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958264,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":80,\"max_tool_calls\":null,\"model\":\"gpt-5.5-2026-04-23\",\"moderation\":null,\"output\":[{\"id\":\"msg_04870ce700e644f3016afce3b8d6ac87d189b3bb1a16372e1b\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"medium\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":136,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":8,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":144},\"user\":null,\"metadata\":{}},\"sequence_number\":11}\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/openrouter-responses/continues-a-tool-call.json b/packages/ai/test/fixtures/recordings/openrouter-responses/continues-a-tool-call.json index 63bdd42f6edd..d77ae8e0366a 100644 --- a/packages/ai/test/fixtures/recordings/openrouter-responses/continues-a-tool-call.json +++ b/packages/ai/test/fixtures/recordings/openrouter-responses/continues-a-tool-call.json @@ -10,7 +10,7 @@ "tool-loop" ], "name": "openrouter-responses/continues-a-tool-call", - "recordedAt": "2026-10-28T19:12:01.377Z" + "recordedAt": "2026-11-18T00:03:26.370Z" }, "interactions": [ { @@ -21,14 +21,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"openai/gpt-5.4-mini\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" + "body": "{\"model\":\"openai/gpt-5.4-mini\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool, then answer in one short sentence.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream" }, - "body": "data: {\"type\":\"response.created\",\"response\":{\"id\":\"gen-1793214719-hmic2S4CCE89G2d4D96L\",\"object\":\"response\",\"created_at\":1793214719,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"in_progress\",\"completed_at\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":null,\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":null},\"sequence_number\":0}\n\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"gen-1793214719-hmic2S4CCE89G2d4D96L\",\"object\":\"response\",\"created_at\":1793214719,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"in_progress\",\"completed_at\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":null,\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":null},\"sequence_number\":1}\n\ndata: {\"type\":\"response.output_item.added\",\"output_index\":0,\"item\":{\"id\":\"fc_tmp_omnt7gk11k8\",\"type\":\"function_call\",\"status\":\"in_progress\",\"call_id\":\"call_WkndZYqzvAYJdX87khaeM7dQ\",\"name\":\"get_weather\",\"arguments\":\"\"},\"sequence_number\":2}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_omnt7gk11k8\",\"delta\":\"{\\\"\",\"sequence_number\":3}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_omnt7gk11k8\",\"delta\":\"city\",\"sequence_number\":4}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_omnt7gk11k8\",\"delta\":\"\\\":\\\"\",\"sequence_number\":5}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_omnt7gk11k8\",\"delta\":\"Paris\",\"sequence_number\":6}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_omnt7gk11k8\",\"delta\":\"\\\"}\",\"sequence_number\":7}\n\ndata: {\"type\":\"response.function_call_arguments.done\",\"output_index\":0,\"item_id\":\"fc_tmp_omnt7gk11k8\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"sequence_number\":8}\n\ndata: {\"type\":\"response.output_item.done\",\"output_index\":0,\"item\":{\"id\":\"fc_tmp_omnt7gk11k8\",\"type\":\"function_call\",\"status\":\"completed\",\"call_id\":\"call_WkndZYqzvAYJdX87khaeM7dQ\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},\"sequence_number\":9}\n\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"gen-1793214719-hmic2S4CCE89G2d4D96L\",\"object\":\"response\",\"created_at\":1793214719,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"completed\",\"completed_at\":1793214720,\"output\":[{\"id\":\"fc_tmp_omnt7gk11k8\",\"type\":\"function_call\",\"status\":\"completed\",\"call_id\":\"call_WkndZYqzvAYJdX87khaeM7dQ\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"}],\"error\":null,\"incomplete_details\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"none\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":{\"input_tokens\":67,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens\":18,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":85,\"cost\":0.00013125,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":0.00013125,\"upstream_inference_input_cost\":0.00005025,\"upstream_inference_output_cost\":0.000081}}},\"sequence_number\":10}\n\ndata: [DONE]\n\n" + "body": ": \n\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"gen-1794960204-rTFL1Pzt6EQ0jIjZXuQ5\",\"object\":\"response\",\"created_at\":1794960204,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"in_progress\",\"completed_at\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"access_programs\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":null,\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":null},\"sequence_number\":0}\n\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"gen-1794960204-rTFL1Pzt6EQ0jIjZXuQ5\",\"object\":\"response\",\"created_at\":1794960204,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"in_progress\",\"completed_at\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"access_programs\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":null,\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":null},\"sequence_number\":1}\n\ndata: {\"type\":\"response.output_item.added\",\"output_index\":0,\"item\":{\"id\":\"fc_tmp_iflee3r81p\",\"type\":\"function_call\",\"status\":\"in_progress\",\"call_id\":\"call_UUZcKbePXBPpkTSgCgS4cdGA\",\"name\":\"get_weather\",\"arguments\":\"\"},\"sequence_number\":2}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_iflee3r81p\",\"delta\":\"{\\\"\",\"sequence_number\":3}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_iflee3r81p\",\"delta\":\"city\",\"sequence_number\":4}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_iflee3r81p\",\"delta\":\"\\\":\\\"\",\"sequence_number\":5}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_iflee3r81p\",\"delta\":\"Paris\",\"sequence_number\":6}\n\ndata: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"item_id\":\"fc_tmp_iflee3r81p\",\"delta\":\"\\\"}\",\"sequence_number\":7}\n\ndata: {\"type\":\"response.function_call_arguments.done\",\"output_index\":0,\"item_id\":\"fc_tmp_iflee3r81p\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"sequence_number\":8}\n\ndata: {\"type\":\"response.output_item.done\",\"output_index\":0,\"item\":{\"id\":\"fc_tmp_iflee3r81p\",\"type\":\"function_call\",\"status\":\"completed\",\"call_id\":\"call_UUZcKbePXBPpkTSgCgS4cdGA\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},\"sequence_number\":9}\n\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"gen-1794960204-rTFL1Pzt6EQ0jIjZXuQ5\",\"object\":\"response\",\"created_at\":1794960204,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"completed\",\"completed_at\":1794960205,\"output\":[{\"id\":\"fc_tmp_iflee3r81p\",\"type\":\"function_call\",\"status\":\"completed\",\"call_id\":\"call_UUZcKbePXBPpkTSgCgS4cdGA\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"}],\"error\":null,\"incomplete_details\":null,\"access_programs\":{\"cyber\":\"standard\"},\"input_transformations\":[],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"none\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":{\"input_tokens\":67,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens\":18,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":85,\"cost\":0.00013125,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":0.00013125,\"upstream_inference_input_cost\":0.00005025,\"upstream_inference_output_cost\":0.000081}}},\"sequence_number\":10}\n\ndata: [DONE]\n\n" } }, { @@ -39,14 +39,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"openai/gpt-5.4-mini\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"function_call\",\"id\":\"fc_tmp_omnt7gk11k8\",\"call_id\":\"call_WkndZYqzvAYJdX87khaeM7dQ\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_WkndZYqzvAYJdX87khaeM7dQ\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" + "body": "{\"model\":\"openai/gpt-5.4-mini\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool, then answer in one short sentence.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"function_call\",\"id\":\"fc_tmp_iflee3r81p\",\"call_id\":\"call_UUZcKbePXBPpkTSgCgS4cdGA\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_UUZcKbePXBPpkTSgCgS4cdGA\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream" }, - "body": "data: {\"type\":\"response.created\",\"response\":{\"id\":\"gen-1793214720-6mfbIkJtwDbS0QLD67wD\",\"object\":\"response\",\"created_at\":1793214720,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"in_progress\",\"completed_at\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":null,\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":null},\"sequence_number\":0}\n\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"gen-1793214720-6mfbIkJtwDbS0QLD67wD\",\"object\":\"response\",\"created_at\":1793214720,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"in_progress\",\"completed_at\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":null,\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":null},\"sequence_number\":1}\n\ndata: {\"type\":\"response.output_item.added\",\"output_index\":0,\"item\":{\"id\":\"msg_tmp_l0v0a8ah9or\",\"type\":\"message\",\"status\":\"in_progress\",\"role\":\"assistant\",\"content\":[],\"phase\":\"final_answer\"},\"sequence_number\":2}\n\ndata: {\"type\":\"response.content_part.added\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]},\"sequence_number\":3}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"delta\":\"Paris\",\"logprobs\":[],\"sequence_number\":4}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"delta\":\" is\",\"logprobs\":[],\"sequence_number\":5}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"delta\":\" \",\"logprobs\":[],\"sequence_number\":6}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"delta\":\"22\",\"logprobs\":[],\"sequence_number\":7}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"delta\":\"°C\",\"logprobs\":[],\"sequence_number\":8}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"sequence_number\":9}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"delta\":\" sunny\",\"logprobs\":[],\"sequence_number\":10}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"sequence_number\":11}\n\ndata: {\"type\":\"response.output_text.done\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"text\":\"Paris is 22°C and sunny.\",\"logprobs\":[],\"sequence_number\":12}\n\ndata: {\"type\":\"response.content_part.done\",\"output_index\":0,\"item_id\":\"msg_tmp_l0v0a8ah9or\",\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"Paris is 22°C and sunny.\",\"annotations\":[],\"logprobs\":[]},\"sequence_number\":13}\n\ndata: {\"type\":\"response.output_item.done\",\"output_index\":0,\"item\":{\"id\":\"msg_tmp_l0v0a8ah9or\",\"type\":\"message\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is 22°C and sunny.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"},\"sequence_number\":14}\n\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"gen-1793214720-6mfbIkJtwDbS0QLD67wD\",\"object\":\"response\",\"created_at\":1793214720,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"completed\",\"completed_at\":1793214721,\"output\":[{\"id\":\"msg_tmp_l0v0a8ah9or\",\"type\":\"message\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is 22°C and sunny.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}],\"error\":null,\"incomplete_details\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"none\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":{\"input_tokens\":106,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens\":12,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":118,\"cost\":0.0001335,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":0.0001335,\"upstream_inference_input_cost\":0.0000795,\"upstream_inference_output_cost\":0.000054}}},\"sequence_number\":15}\n\ndata: [DONE]\n\n" + "body": "data: {\"type\":\"response.created\",\"response\":{\"id\":\"gen-1794960205-l6rmi4D7Oh3X9aYSVnG7\",\"object\":\"response\",\"created_at\":1794960205,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"in_progress\",\"completed_at\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"access_programs\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":null,\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":null},\"sequence_number\":0}\n\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"gen-1794960205-l6rmi4D7Oh3X9aYSVnG7\",\"object\":\"response\",\"created_at\":1794960205,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"in_progress\",\"completed_at\":null,\"output\":[],\"error\":null,\"incomplete_details\":null,\"access_programs\":null,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"auto\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":null,\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":null},\"sequence_number\":1}\n\ndata: {\"type\":\"response.output_item.added\",\"output_index\":0,\"item\":{\"id\":\"msg_tmp_4r4hjlndlsr\",\"type\":\"message\",\"status\":\"in_progress\",\"role\":\"assistant\",\"content\":[],\"phase\":\"final_answer\"},\"sequence_number\":2}\n\ndata: {\"type\":\"response.content_part.added\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]},\"sequence_number\":3}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\"The\",\"logprobs\":[],\"sequence_number\":4}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\" weather\",\"logprobs\":[],\"sequence_number\":5}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"sequence_number\":6}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\" Paris\",\"logprobs\":[],\"sequence_number\":7}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\" is\",\"logprobs\":[],\"sequence_number\":8}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\" sunny\",\"logprobs\":[],\"sequence_number\":9}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"sequence_number\":10}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\" \",\"logprobs\":[],\"sequence_number\":11}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\"22\",\"logprobs\":[],\"sequence_number\":12}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\"°C\",\"logprobs\":[],\"sequence_number\":13}\n\ndata: {\"type\":\"response.output_text.delta\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"sequence_number\":14}\n\ndata: {\"type\":\"response.output_text.done\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"text\":\"The weather in Paris is sunny and 22°C.\",\"logprobs\":[],\"sequence_number\":15}\n\ndata: {\"type\":\"response.content_part.done\",\"output_index\":0,\"item_id\":\"msg_tmp_4r4hjlndlsr\",\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"The weather in Paris is sunny and 22°C.\",\"annotations\":[],\"logprobs\":[]},\"sequence_number\":16}\n\ndata: {\"type\":\"response.output_item.done\",\"output_index\":0,\"item\":{\"id\":\"msg_tmp_4r4hjlndlsr\",\"type\":\"message\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"The weather in Paris is sunny and 22°C.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"},\"sequence_number\":17}\n\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"gen-1794960205-l6rmi4D7Oh3X9aYSVnG7\",\"object\":\"response\",\"created_at\":1794960205,\"model\":\"openai/gpt-5.4-mini\",\"status\":\"completed\",\"completed_at\":1794960206,\"output\":[{\"id\":\"msg_tmp_4r4hjlndlsr\",\"type\":\"message\",\"role\":\"assistant\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"text\":\"The weather in Paris is sunny and 22°C.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}],\"error\":null,\"incomplete_details\":null,\"access_programs\":{\"cyber\":\"standard\"},\"input_transformations\":[],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"strict\":false,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false}}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_output_tokens\":256,\"temperature\":1,\"top_p\":1,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"max_tool_calls\":null,\"metadata\":{},\"background\":false,\"previous_response_id\":null,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"store\":false,\"instructions\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"none\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_options\":null,\"usage\":{\"input_tokens\":106,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens\":15,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":121,\"cost\":0.000147,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":0.000147,\"upstream_inference_input_cost\":0.0000795,\"upstream_inference_output_cost\":0.0000675}}},\"sequence_number\":18}\n\ndata: [DONE]\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/pdf/openai-tool-result.json b/packages/ai/test/fixtures/recordings/pdf/openai-tool-result.json index d91aabc1d672..22f69bfd4d05 100644 --- a/packages/ai/test/fixtures/recordings/pdf/openai-tool-result.json +++ b/packages/ai/test/fixtures/recordings/pdf/openai-tool-result.json @@ -10,7 +10,7 @@ "tool-result" ], "name": "pdf/openai-tool-result", - "recordedAt": "2026-09-15T04:25:31.158Z" + "recordedAt": "2026-11-17T23:31:10.413Z" }, "interactions": [ { @@ -21,14 +21,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Return only the verification code from the PDF.\"}]},{\"type\":\"function_call\",\"call_id\":\"call_pdf_1\",\"name\":\"read_pdf\",\"arguments\":\"{}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_pdf_1\",\"output\":[{\"type\":\"input_text\",\"text\":\"PDF read successfully\"},{\"type\":\"input_file\",\"filename\":\"verification.pdf\",\"file_data\":\"data:application/pdf;base64,JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA1IDAgUiA+PiA+PiAvQ29udGVudHMgNCAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL0xlbmd0aCA3NSA+PgpzdHJlYW0KQlQKL0YxIDE4IFRmCjcyIDcyMCBUZAooUERGIGNhc3NldHRlIHZlcmlmaWNhdGlvbiBjb2RlOiBPUkNISUQtNzM5MSkgVGoKRVQKZW5kc3RyZWFtCmVuZG9iago1IDAgb2JqCjw8IC9UeXBlIC9Gb250IC9TdWJ0eXBlIC9UeXBlMSAvQmFzZUZvbnQgL0hlbHZldGljYSA+PgplbmRvYmoKeHJlZgowIDYKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDA5IDAwMDAwIG4gCjAwMDAwMDAwNTggMDAwMDAgbiAKMDAwMDAwMDExNSAwMDAwMCBuIAowMDAwMDAwMjQxIDAwMDAwIG4gCjAwMDAwMDAzNjUgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSA2IC9Sb290IDEgMCBSID4+CnN0YXJ0eHJlZgo0MzUKJSVFT0YK\"}]}],\"instructions\":\"Read the PDF returned by the tool and follow the user's response format exactly.\",\"tools\":[{\"type\":\"function\",\"name\":\"read_pdf\",\"description\":\"Read the attached PDF.\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":40,\"temperature\":0,\"stream\":true}" + "body": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Read the PDF returned by the tool and follow the user's response format exactly.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Return only the verification code from the PDF.\"}]},{\"type\":\"function_call\",\"call_id\":\"call_pdf_1\",\"name\":\"read_pdf\",\"arguments\":\"{}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_pdf_1\",\"output\":[{\"type\":\"input_text\",\"text\":\"PDF read successfully\"},{\"type\":\"input_file\",\"filename\":\"verification.pdf\",\"file_data\":\"data:application/pdf;base64,JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA1IDAgUiA+PiA+PiAvQ29udGVudHMgNCAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL0xlbmd0aCA3NSA+PgpzdHJlYW0KQlQKL0YxIDE4IFRmCjcyIDcyMCBUZAooUERGIGNhc3NldHRlIHZlcmlmaWNhdGlvbiBjb2RlOiBPUkNISUQtNzM5MSkgVGoKRVQKZW5kc3RyZWFtCmVuZG9iago1IDAgb2JqCjw8IC9UeXBlIC9Gb250IC9TdWJ0eXBlIC9UeXBlMSAvQmFzZUZvbnQgL0hlbHZldGljYSA+PgplbmRvYmoKeHJlZgowIDYKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDA5IDAwMDAwIG4gCjAwMDAwMDAwNTggMDAwMDAgbiAKMDAwMDAwMDExNSAwMDAwMCBuIAowMDAwMDAwMjQxIDAwMDAwIG4gCjAwMDAwMDAzNjUgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSA2IC9Sb290IDEgMCBSID4+CnN0YXJ0eHJlZgo0MzUKJSVFT0YK\"}]}],\"stream\":true,\"max_output_tokens\":40,\"temperature\":0,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"read_pdf\",\"description\":\"Read the attached PDF.\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_0e4b2f83d1cd4950016aa8c8b9bde487d1bc4842201cff786f\",\"object\":\"response\",\"created_at\":1789446330,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Read the PDF returned by the tool and follow the user's response format exactly.\",\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0e4b2f83d1cd4950016aa8c8b9bde487d1bc4842201cff786f\",\"object\":\"response\",\"created_at\":1789446330,\"status\":\"in_progress\",\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Read the PDF returned by the tool and follow the user's response format exactly.\",\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"The\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"Wij2KszuPOxsu\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" verification\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"V7z\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" code\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"jRrPKf6dmyV\",\"output_index\":0,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" from\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"r12gZMYBGK3\",\"output_index\":0,\"sequence_number\":7}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" the\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"lXDPHaONrxp6\",\"output_index\":0,\"sequence_number\":8}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" PDF\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"eTDrNAfV0bmA\",\"output_index\":0,\"sequence_number\":9}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" is\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"6AZdGdGfL9aK6\",\"output_index\":0,\"sequence_number\":10}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\":\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"etyzVoJzfpXK72S\",\"output_index\":0,\"sequence_number\":11}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" OR\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"sH6fAZN0lEQan\",\"output_index\":0,\"sequence_number\":12}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"CH\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"0PHEUKpU2FkfOi\",\"output_index\":0,\"sequence_number\":13}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"ID\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"qEQ2omVI79eFQv\",\"output_index\":0,\"sequence_number\":14}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"-\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"s32pxWkF8fPzfC5\",\"output_index\":0,\"sequence_number\":15}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"739\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"eUp1EjFd5n1yH\",\"output_index\":0,\"sequence_number\":16}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"1\",\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"obfuscation\":\"sbq1BkYLeCFDvNW\",\"output_index\":0,\"sequence_number\":17}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":18,\"text\":\"The verification code from the PDF is: ORCHID-7391\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The verification code from the PDF is: ORCHID-7391\"},\"sequence_number\":19}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The verification code from the PDF is: ORCHID-7391\"}],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":20}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0e4b2f83d1cd4950016aa8c8b9bde487d1bc4842201cff786f\",\"object\":\"response\",\"created_at\":1789446330,\"status\":\"completed\",\"background\":false,\"completed_at\":1789446331,\"error\":null,\"frequency_penalty\":0.0,\"incomplete_details\":null,\"instructions\":\"Read the PDF returned by the tool and follow the user's response format exactly.\",\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"moderation\":null,\"output\":[{\"id\":\"msg_0e4b2f83d1cd4950016aa8c8bb005487d1873636a5cf761e16\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The verification code from the PDF is: ORCHID-7391\"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":107,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":16,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":123},\"user\":null,\"metadata\":{}},\"sequence_number\":21}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_015756cd1511f945016afce3bd91fc87d19a652e87a72c1564\",\"object\":\"response\",\"created_at\":1794958269,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_015756cd1511f945016afce3bd91fc87d19a652e87a72c1564\",\"object\":\"response\",\"created_at\":1794958269,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"The\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"Db81kBwvZSAdO\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" verification\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"vDb\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" code\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"pqYslCvKcXV\",\"output_index\":0,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" from\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"0kEazFMmeef\",\"output_index\":0,\"sequence_number\":7}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" the\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"aVeGtA7NgB5X\",\"output_index\":0,\"sequence_number\":8}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" PDF\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"cn9A5oYngDVx\",\"output_index\":0,\"sequence_number\":9}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" is\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"mRYZAIM6POvZc\",\"output_index\":0,\"sequence_number\":10}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\":\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"sXXLFW0CJd9KGVi\",\"output_index\":0,\"sequence_number\":11}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" OR\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"heQb1vle0dFc6\",\"output_index\":0,\"sequence_number\":12}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"CH\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"8Heqog0OFHRqLy\",\"output_index\":0,\"sequence_number\":13}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"ID\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"u8aKZMtmY6peQv\",\"output_index\":0,\"sequence_number\":14}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"-\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"u4p7TW42PaVkqbn\",\"output_index\":0,\"sequence_number\":15}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"739\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"94nB6xTX1vwtC\",\"output_index\":0,\"sequence_number\":16}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"1\",\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"obfuscation\":\"dLm9AMHpsVKjhIo\",\"output_index\":0,\"sequence_number\":17}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":18,\"text\":\"The verification code from the PDF is: ORCHID-7391\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The verification code from the PDF is: ORCHID-7391\"},\"sequence_number\":19}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The verification code from the PDF is: ORCHID-7391\"}],\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":20}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_015756cd1511f945016afce3bd91fc87d19a652e87a72c1564\",\"object\":\"response\",\"created_at\":1794958269,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794958270,\"error\":null,\"frequency_penalty\":0.0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":40,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"moderation\":null,\"output\":[{\"id\":\"msg_015756cd1511f945016afce3be2ce887d1bfb7a4eaa4f008d0\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The verification code from the PDF is: ORCHID-7391\"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0.0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":\"in_memory\",\"reasoning\":{\"context\":null,\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":false,\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":108,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":16,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":124},\"user\":null,\"metadata\":{}},\"sequence_number\":21}\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/pdf/xai-tool-result.json b/packages/ai/test/fixtures/recordings/pdf/xai-tool-result.json index 6de72d21fc19..2d4a5eb5319e 100644 --- a/packages/ai/test/fixtures/recordings/pdf/xai-tool-result.json +++ b/packages/ai/test/fixtures/recordings/pdf/xai-tool-result.json @@ -10,7 +10,7 @@ "tool-result" ], "name": "pdf/xai-tool-result", - "recordedAt": "2026-09-15T04:25:34.405Z" + "recordedAt": "2026-11-18T00:03:23.588Z" }, "interactions": [ { @@ -21,14 +21,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"grok-4.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Return only the verification code from the PDF.\"}]},{\"type\":\"function_call\",\"call_id\":\"call_pdf_1\",\"name\":\"read_pdf\",\"arguments\":\"{}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_pdf_1\",\"output\":[{\"type\":\"input_text\",\"text\":\"PDF read successfully\"},{\"type\":\"input_file\",\"filename\":\"verification.pdf\",\"file_data\":\"data:application/pdf;base64,JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA1IDAgUiA+PiA+PiAvQ29udGVudHMgNCAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL0xlbmd0aCA3NSA+PgpzdHJlYW0KQlQKL0YxIDE4IFRmCjcyIDcyMCBUZAooUERGIGNhc3NldHRlIHZlcmlmaWNhdGlvbiBjb2RlOiBPUkNISUQtNzM5MSkgVGoKRVQKZW5kc3RyZWFtCmVuZG9iago1IDAgb2JqCjw8IC9UeXBlIC9Gb250IC9TdWJ0eXBlIC9UeXBlMSAvQmFzZUZvbnQgL0hlbHZldGljYSA+PgplbmRvYmoKeHJlZgowIDYKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDA5IDAwMDAwIG4gCjAwMDAwMDAwNTggMDAwMDAgbiAKMDAwMDAwMDExNSAwMDAwMCBuIAowMDAwMDAwMjQxIDAwMDAwIG4gCjAwMDAwMDAzNjUgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSA2IC9Sb290IDEgMCBSID4+CnN0YXJ0eHJlZgo0MzUKJSVFT0YK\"}]}],\"instructions\":\"Read the PDF returned by the tool and follow the user's response format exactly.\",\"tools\":[{\"type\":\"function\",\"name\":\"read_pdf\",\"description\":\"Read the attached PDF.\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":40,\"temperature\":0,\"stream\":true}" + "body": "{\"model\":\"grok-4.5\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Read the PDF returned by the tool and follow the user's response format exactly.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Return only the verification code from the PDF.\"}]},{\"type\":\"function_call\",\"call_id\":\"call_pdf_1\",\"name\":\"read_pdf\",\"arguments\":\"{}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_pdf_1\",\"output\":[{\"type\":\"input_text\",\"text\":\"PDF read successfully\"},{\"type\":\"input_file\",\"filename\":\"verification.pdf\",\"file_data\":\"data:application/pdf;base64,JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA1IDAgUiA+PiA+PiAvQ29udGVudHMgNCAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL0xlbmd0aCA3NSA+PgpzdHJlYW0KQlQKL0YxIDE4IFRmCjcyIDcyMCBUZAooUERGIGNhc3NldHRlIHZlcmlmaWNhdGlvbiBjb2RlOiBPUkNISUQtNzM5MSkgVGoKRVQKZW5kc3RyZWFtCmVuZG9iago1IDAgb2JqCjw8IC9UeXBlIC9Gb250IC9TdWJ0eXBlIC9UeXBlMSAvQmFzZUZvbnQgL0hlbHZldGljYSA+PgplbmRvYmoKeHJlZgowIDYKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDA5IDAwMDAwIG4gCjAwMDAwMDAwNTggMDAwMDAgbiAKMDAwMDAwMDExNSAwMDAwMCBuIAowMDAwMDAwMjQxIDAwMDAwIG4gCjAwMDAwMDAzNjUgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSA2IC9Sb290IDEgMCBSID4+CnN0YXJ0eHJlZgo0MzUKJSVFT0YK\"}]}],\"stream\":true,\"max_output_tokens\":40,\"temperature\":0,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"read_pdf\",\"description\":\"Read the attached PDF.\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream" }, - "body": "event: response.created\ndata: {\"sequence_number\":0,\"type\":\"response.created\",\"response\":{\"created_at\":0,\"completed_at\":null,\"id\":\"9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_p\":0.949999988079071,\"usage\":null,\"user\":null,\"incomplete_details\":null,\"status\":\"in_progress\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":\"Read the PDF returned by the tool and follow the user's response format exactly.\"}}\n\nevent: response.in_progress\ndata: {\"sequence_number\":1,\"type\":\"response.in_progress\",\"response\":{\"created_at\":0,\"completed_at\":null,\"id\":\"9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_p\":0.949999988079071,\"usage\":null,\"user\":null,\"incomplete_details\":null,\"status\":\"in_progress\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":\"Read the PDF returned by the tool and follow the user's response format exactly.\"}}\n\nevent: response.output_item.added\ndata: {\"sequence_number\":2,\"type\":\"response.output_item.added\",\"item\":{\"content\":[],\"id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"in_progress\"},\"output_index\":0}\n\nevent: response.content_part.added\ndata: {\"sequence_number\":3,\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"logprobs\":[],\"annotations\":[]}}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":4,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"OR\",\"item_id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":5,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"CH\",\"item_id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":6,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"ID\",\"item_id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":7,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"-\",\"item_id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":8,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"739\",\"item_id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":9,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"1\",\"item_id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.done\ndata: {\"sequence_number\":10,\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"output_index\":0,\"text\":\"ORCHID-7391\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"sequence_number\":11,\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}}\n\nevent: response.output_item.done\ndata: {\"sequence_number\":12,\"type\":\"response.output_item.done\",\"item\":{\"content\":[{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}],\"id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"completed\"},\"output_index\":0}\n\nevent: response.completed\ndata: {\"sequence_number\":13,\"type\":\"response.completed\",\"response\":{\"created_at\":0,\"completed_at\":1789446334,\"id\":\"9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[{\"content\":[{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}],\"id\":\"msg_9db0d2c8-8e59-9436-b790-04e41f37c9b8\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"completed\"}],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_p\":0.949999988079071,\"usage\":{\"input_tokens\":1262,\"input_tokens_details\":{\"cached_tokens\":128},\"output_tokens\":10,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":1272,\"num_sources_used\":0,\"num_server_side_tools_used\":0,\"cost_in_usd_ticks\":23664000,\"context_details\":{\"input_tokens\":1262,\"output_tokens\":10}},\"user\":null,\"incomplete_details\":null,\"status\":\"completed\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":\"Read the PDF returned by the tool and follow the user's response format exactly.\"}}\n\n" + "body": "event: response.created\ndata: {\"sequence_number\":0,\"type\":\"response.created\",\"response\":{\"created_at\":1794960203,\"completed_at\":null,\"id\":\"3ceea616-2117-95ca-812d-c032874c1e80\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_p\":0.95,\"usage\":null,\"user\":null,\"incomplete_details\":null,\"status\":\"in_progress\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":null}}\n\nevent: response.in_progress\ndata: {\"sequence_number\":1,\"type\":\"response.in_progress\",\"response\":{\"created_at\":1794960203,\"completed_at\":null,\"id\":\"3ceea616-2117-95ca-812d-c032874c1e80\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_p\":0.95,\"usage\":null,\"user\":null,\"incomplete_details\":null,\"status\":\"in_progress\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":null}}\n\nevent: response.output_item.added\ndata: {\"sequence_number\":2,\"type\":\"response.output_item.added\",\"item\":{\"content\":[],\"id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"in_progress\"},\"output_index\":0}\n\nevent: response.content_part.added\ndata: {\"sequence_number\":3,\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"logprobs\":[],\"annotations\":[]}}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":4,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"OR\",\"item_id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":5,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"CH\",\"item_id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":6,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"ID\",\"item_id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":7,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"-\",\"item_id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":8,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"739\",\"item_id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":9,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"1\",\"item_id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"output_index\":0,\"logprobs\":[]}\n\nevent: response.output_text.done\ndata: {\"sequence_number\":10,\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"output_index\":0,\"text\":\"ORCHID-7391\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"sequence_number\":11,\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}}\n\nevent: response.output_item.done\ndata: {\"sequence_number\":12,\"type\":\"response.output_item.done\",\"item\":{\"content\":[{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}],\"id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"completed\"},\"output_index\":0}\n\nevent: response.completed\ndata: {\"sequence_number\":13,\"type\":\"response.completed\",\"response\":{\"created_at\":1794960203,\"completed_at\":1794960203,\"id\":\"3ceea616-2117-95ca-812d-c032874c1e80\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[{\"content\":[{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}],\"id\":\"msg_3ceea616-2117-95ca-812d-c032874c1e80\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"completed\"}],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[{\"type\":\"function\",\"description\":\"Read the attached PDF.\",\"name\":\"read_pdf\",\"parameters\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false},\"strict\":false}],\"top_p\":0.95,\"usage\":{\"input_tokens\":1262,\"input_tokens_details\":{\"cached_tokens\":128},\"output_tokens\":6,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":1268,\"num_sources_used\":0,\"num_server_side_tools_used\":0,\"cost_in_usd_ticks\":23424000,\"context_details\":{\"input_tokens\":1262,\"output_tokens\":11}},\"user\":null,\"incomplete_details\":null,\"status\":\"completed\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":null}}\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/pdf/xai-user-input.json b/packages/ai/test/fixtures/recordings/pdf/xai-user-input.json index 88b7bc02eaff..1b8bab3d48ed 100644 --- a/packages/ai/test/fixtures/recordings/pdf/xai-user-input.json +++ b/packages/ai/test/fixtures/recordings/pdf/xai-user-input.json @@ -9,7 +9,7 @@ "user-input" ], "name": "pdf/xai-user-input", - "recordedAt": "2026-09-15T04:25:33.335Z" + "recordedAt": "2026-11-18T00:03:22.354Z" }, "interactions": [ { @@ -20,14 +20,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"grok-4.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_file\",\"filename\":\"verification.pdf\",\"file_data\":\"data:application/pdf;base64,JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA1IDAgUiA+PiA+PiAvQ29udGVudHMgNCAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL0xlbmd0aCA3NSA+PgpzdHJlYW0KQlQKL0YxIDE4IFRmCjcyIDcyMCBUZAooUERGIGNhc3NldHRlIHZlcmlmaWNhdGlvbiBjb2RlOiBPUkNISUQtNzM5MSkgVGoKRVQKZW5kc3RyZWFtCmVuZG9iago1IDAgb2JqCjw8IC9UeXBlIC9Gb250IC9TdWJ0eXBlIC9UeXBlMSAvQmFzZUZvbnQgL0hlbHZldGljYSA+PgplbmRvYmoKeHJlZgowIDYKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDA5IDAwMDAwIG4gCjAwMDAwMDAwNTggMDAwMDAgbiAKMDAwMDAwMDExNSAwMDAwMCBuIAowMDAwMDAwMjQxIDAwMDAwIG4gCjAwMDAwMDAzNjUgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSA2IC9Sb290IDEgMCBSID4+CnN0YXJ0eHJlZgo0MzUKJSVFT0YK\"},{\"type\":\"input_text\",\"text\":\"Return only the verification code from the PDF.\"}]}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"max_output_tokens\":40,\"temperature\":0,\"stream\":true}" + "body": "{\"model\":\"grok-4.5\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_file\",\"filename\":\"verification.pdf\",\"file_data\":\"data:application/pdf;base64,JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA1IDAgUiA+PiA+PiAvQ29udGVudHMgNCAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL0xlbmd0aCA3NSA+PgpzdHJlYW0KQlQKL0YxIDE4IFRmCjcyIDcyMCBUZAooUERGIGNhc3NldHRlIHZlcmlmaWNhdGlvbiBjb2RlOiBPUkNISUQtNzM5MSkgVGoKRVQKZW5kc3RyZWFtCmVuZG9iago1IDAgb2JqCjw8IC9UeXBlIC9Gb250IC9TdWJ0eXBlIC9UeXBlMSAvQmFzZUZvbnQgL0hlbHZldGljYSA+PgplbmRvYmoKeHJlZgowIDYKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDA5IDAwMDAwIG4gCjAwMDAwMDAwNTggMDAwMDAgbiAKMDAwMDAwMDExNSAwMDAwMCBuIAowMDAwMDAwMjQxIDAwMDAwIG4gCjAwMDAwMDAzNjUgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSA2IC9Sb290IDEgMCBSID4+CnN0YXJ0eHJlZgo0MzUKJSVFT0YK\"},{\"type\":\"input_text\",\"text\":\"Return only the verification code from the PDF.\"}]}],\"stream\":true,\"max_output_tokens\":40,\"temperature\":0,\"store\":false,\"include\":[\"reasoning.encrypted_content\"]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream" }, - "body": "event: response.created\ndata: {\"sequence_number\":0,\"type\":\"response.created\",\"response\":{\"created_at\":0,\"completed_at\":null,\"id\":\"11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[],\"top_p\":0.949999988079071,\"usage\":null,\"user\":null,\"incomplete_details\":null,\"status\":\"in_progress\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":null}}\n\nevent: response.in_progress\ndata: {\"sequence_number\":1,\"type\":\"response.in_progress\",\"response\":{\"created_at\":0,\"completed_at\":null,\"id\":\"11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[],\"top_p\":0.949999988079071,\"usage\":null,\"user\":null,\"incomplete_details\":null,\"status\":\"in_progress\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":null}}\n\nevent: response.output_item.added\ndata: {\"sequence_number\":2,\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"summary\":[],\"type\":\"reasoning\",\"status\":\"in_progress\"},\"output_index\":0}\n\nevent: response.reasoning_summary_part.added\ndata: {\"sequence_number\":3,\"type\":\"response.reasoning_summary_part.added\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"part\":{\"text\":\"\",\"type\":\"summary_text\"},\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":4,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"The\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":5,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" user\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":6,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" wants\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":7,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" me\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":8,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":9,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" return\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":10,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" only\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":11,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":12,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" verification\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":13,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" code\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":14,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" from\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":15,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":16,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" PDF\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":17,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":18,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" The\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":19,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" document\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":20,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" is\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":21,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" provided\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":22,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\",\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":23,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" and\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":24,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" it\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":25,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" says\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":26,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\":\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":27,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" \\\"\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":28,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"PDF\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":29,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" cassette\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":30,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" verification\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":31,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" code\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":32,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\":\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":33,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" OR\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":34,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"CH\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":35,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"ID\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":36,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"-\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":37,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"739\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":38,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"1\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":39,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"\\\"\\n\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.done\ndata: {\"sequence_number\":40,\"type\":\"response.reasoning_summary_text.done\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"summary_index\":0,\"text\":\"The user wants me to return only the verification code from the PDF. The document is provided, and it says: \\\"PDF cassette verification code: ORCHID-7391\\\"\\n\"}\n\nevent: response.reasoning_summary_part.done\ndata: {\"sequence_number\":41,\"type\":\"response.reasoning_summary_part.done\",\"item_id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":0,\"part\":{\"text\":\"The user wants me to return only the verification code from the PDF. The document is provided, and it says: \\\"PDF cassette verification code: ORCHID-7391\\\"\\n\",\"type\":\"summary_text\"},\"summary_index\":0}\n\nevent: response.output_item.done\ndata: {\"sequence_number\":42,\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"summary\":[{\"text\":\"The user wants me to return only the verification code from the PDF. The document is provided, and it says: \\\"PDF cassette verification code: ORCHID-7391\\\"\\n\",\"type\":\"summary_text\"}],\"type\":\"reasoning\",\"status\":\"completed\",\"encrypted_content\":\"Sdopco4Z/vQustevOFcwAKicrNqOWDeAn3BShMrqdNyV2nvzFnL/nT6BXLuRk9HA4SekaUV8yMiRWVB1n7NlQl9SPRASHTudsYq/2AY009zmIRzFtLK6qR3q1XWMM9lXRft5Rv0ByS91A5Ut3znO0t2edFavQGWjEE9j0KEJaTE2M3fW04XnZgLu0uA60U3bHpQEUvgO/KVF+36ARULNHQgJxxmIudLfUW66TOqO1MLrEeL5cwtBhL0TIEd15xcB/MG6/MQzMGsww27CvsIWkhqzOCt3KmSAGgJ+svbegRUUC4vHRI30Hii351bMJrGDqqn70MYOG9hAQTU\"},\"output_index\":0}\n\nevent: response.output_item.added\ndata: {\"sequence_number\":43,\"type\":\"response.output_item.added\",\"item\":{\"content\":[],\"id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"in_progress\"},\"output_index\":1}\n\nevent: response.content_part.added\ndata: {\"sequence_number\":44,\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"logprobs\":[],\"annotations\":[]}}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":45,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"OR\",\"item_id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":46,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"CH\",\"item_id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":47,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"ID\",\"item_id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":48,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"-\",\"item_id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":49,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"739\",\"item_id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":50,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"1\",\"item_id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.done\ndata: {\"sequence_number\":51,\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":1,\"text\":\"ORCHID-7391\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"sequence_number\":52,\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}}\n\nevent: response.output_item.done\ndata: {\"sequence_number\":53,\"type\":\"response.output_item.done\",\"item\":{\"content\":[{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}],\"id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"completed\"},\"output_index\":1}\n\nevent: response.completed\ndata: {\"sequence_number\":54,\"type\":\"response.completed\",\"response\":{\"created_at\":0,\"completed_at\":1789446333,\"id\":\"11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[{\"id\":\"rs_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"summary\":[{\"text\":\"The user wants me to return only the verification code from the PDF. The document is provided, and it says: \\\"PDF cassette verification code: ORCHID-7391\\\"\\n\",\"type\":\"summary_text\"}],\"type\":\"reasoning\",\"status\":\"completed\",\"encrypted_content\":\"Sdopco4Z/vQustevOFcwAKicrNqOWDeAn3BShMrqdNyV2nvzFnL/nT6BXLuRk9HA4SekaUV8yMiRWVB1n7NlQl9SPRASHTudsYq/2AY009zmIRzFtLK6qR3q1XWMM9lXRft5Rv0ByS91A5Ut3znO0t2edFavQGWjEE9j0KEJaTE2M3fW04XnZgLu0uA60U3bHpQEUvgO/KVF+36ARULNHQgJxxmIudLfUW66TOqO1MLrEeL5cwtBhL0TIEd15xcB/MG6/MQzMGsww27CvsIWkhqzOCt3KmSAGgJ+svbegRUUC4vHRI30Hii351bMJrGDqqn70MYOG9hAQTU\"},{\"content\":[{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}],\"id\":\"msg_11d6a8b1-1ddf-921a-8ad1-417256191f8c\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"completed\"}],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[],\"top_p\":0.949999988079071,\"usage\":{\"input_tokens\":1192,\"input_tokens_details\":{\"cached_tokens\":128},\"output_tokens\":67,\"output_tokens_details\":{\"reasoning_tokens\":57},\"total_tokens\":1259,\"num_sources_used\":0,\"num_server_side_tools_used\":0,\"cost_in_usd_ticks\":25684000,\"context_details\":{\"input_tokens\":1192,\"output_tokens\":67}},\"user\":null,\"incomplete_details\":null,\"status\":\"completed\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":null}}\n\n" + "body": "event: response.created\ndata: {\"sequence_number\":0,\"type\":\"response.created\",\"response\":{\"created_at\":1794960200,\"completed_at\":null,\"id\":\"ee58e6a9-957e-99d0-84dd-b115e540171c\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[],\"top_p\":0.95,\"usage\":null,\"user\":null,\"incomplete_details\":null,\"status\":\"in_progress\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":null}}\n\nevent: response.in_progress\ndata: {\"sequence_number\":1,\"type\":\"response.in_progress\",\"response\":{\"created_at\":1794960200,\"completed_at\":null,\"id\":\"ee58e6a9-957e-99d0-84dd-b115e540171c\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[],\"top_p\":0.95,\"usage\":null,\"user\":null,\"incomplete_details\":null,\"status\":\"in_progress\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":null}}\n\nevent: response.output_item.added\ndata: {\"sequence_number\":2,\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"summary\":[],\"type\":\"reasoning\",\"status\":\"in_progress\"},\"output_index\":0}\n\nevent: response.reasoning_summary_part.added\ndata: {\"sequence_number\":3,\"type\":\"response.reasoning_summary_part.added\",\"item_id\":\"rs_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":0,\"part\":{\"text\":\"\",\"type\":\"summary_text\"},\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":4,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"I will extract only \",\"item_id\":\"rs_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":5,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"the verification code\",\"item_id\":\"rs_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"sequence_number\":6,\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" from the PDF.\",\"item_id\":\"rs_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":0,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.done\ndata: {\"sequence_number\":7,\"type\":\"response.reasoning_summary_text.done\",\"item_id\":\"rs_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":0,\"summary_index\":0,\"text\":\"I will extract only the verification code from the PDF.\"}\n\nevent: response.reasoning_summary_part.done\ndata: {\"sequence_number\":8,\"type\":\"response.reasoning_summary_part.done\",\"item_id\":\"rs_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":0,\"part\":{\"text\":\"I will extract only the verification code from the PDF.\",\"type\":\"summary_text\"},\"summary_index\":0}\n\nevent: response.output_item.done\ndata: {\"sequence_number\":9,\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"summary\":[{\"text\":\"I will extract only the verification code from the PDF.\",\"type\":\"summary_text\"}],\"type\":\"reasoning\",\"status\":\"completed\",\"encrypted_content\":\"scibL8o4GzhbeRargMpJLxHLFcbKg0h398WEoRdW4x2ksvC5WGG+F82k5pQY1wpcqT8qcgeU+8ZGfZWjBnzHAbghkCb5tmp2pqopwiEHf8pNwsLeR3FQ7/Sk7YPcqdo7YM4N+YZXM9IT+4PJmNtrxvudlV6oiEoZ1wSNy/ocSyQQVRimWFYRzTQT8jj6aOK7hPwrmsUgaxChmG7pokrNbIoc4w3hjz8SAOBDrFnGMNlUyleWT+bjixYwoFSXkJnDd/jkKvueXRXHfLndiAXK0XfN7zuQ0e8YZkvOXaIRD0mmE8U2lTnLh/zKEhVnmavuY2kV8r/AUloMEAe7hnQ8k+bquzQ\"},\"output_index\":0}\n\nevent: response.output_item.added\ndata: {\"sequence_number\":10,\"type\":\"response.output_item.added\",\"item\":{\"content\":[],\"id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"in_progress\"},\"output_index\":1}\n\nevent: response.content_part.added\ndata: {\"sequence_number\":11,\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"logprobs\":[],\"annotations\":[]}}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":12,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"OR\",\"item_id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":13,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"CH\",\"item_id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":14,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"ID\",\"item_id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":15,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"-\",\"item_id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":16,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"739\",\"item_id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"sequence_number\":17,\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"1\",\"item_id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":1,\"logprobs\":[]}\n\nevent: response.output_text.done\ndata: {\"sequence_number\":18,\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":1,\"text\":\"ORCHID-7391\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"sequence_number\":19,\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"output_index\":1,\"part\":{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}}\n\nevent: response.output_item.done\ndata: {\"sequence_number\":20,\"type\":\"response.output_item.done\",\"item\":{\"content\":[{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}],\"id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"completed\"},\"output_index\":1}\n\nevent: response.completed\ndata: {\"sequence_number\":21,\"type\":\"response.completed\",\"response\":{\"created_at\":1794960200,\"completed_at\":1794960202,\"id\":\"ee58e6a9-957e-99d0-84dd-b115e540171c\",\"max_output_tokens\":40,\"model\":\"grok-4.5\",\"object\":\"response\",\"output\":[{\"id\":\"rs_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"summary\":[{\"text\":\"I will extract only the verification code from the PDF.\",\"type\":\"summary_text\"}],\"type\":\"reasoning\",\"status\":\"completed\",\"encrypted_content\":\"scibL8o4GzhbeRargMpJLxHLFcbKg0h398WEoRdW4x2ksvC5WGG+F82k5pQY1wpcqT8qcgeU+8ZGfZWjBnzHAbghkCb5tmp2pqopwiEHf8pNwsLeR3FQ7/Sk7YPcqdo7YM4N+YZXM9IT+4PJmNtrxvudlV6oiEoZ1wSNy/ocSyQQVRimWFYRzTQT8jj6aOK7hPwrmsUgaxChmG7pokrNbIoc4w3hjz8SAOBDrFnGMNlUyleWT+bjixYwoFSXkJnDd/jkKvueXRXHfLndiAXK0XfN7zuQ0e8YZkvOXaIRD0mmE8U2lTnLh/zKEhVnmavuY2kV8r/AUloMEAe7hnQ8k+bquzQ\"},{\"content\":[{\"type\":\"output_text\",\"text\":\"ORCHID-7391\",\"logprobs\":[],\"annotations\":[]}],\"id\":\"msg_ee58e6a9-957e-99d0-84dd-b115e540171c\",\"role\":\"assistant\",\"type\":\"message\",\"status\":\"completed\"}],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"temperature\":0.0,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[],\"top_p\":0.95,\"usage\":{\"input_tokens\":1192,\"input_tokens_details\":{\"cached_tokens\":128},\"output_tokens\":54,\"output_tokens_details\":{\"reasoning_tokens\":48},\"total_tokens\":1246,\"num_sources_used\":0,\"num_server_side_tools_used\":0,\"cost_in_usd_ticks\":24904000,\"context_details\":{\"input_tokens\":1192,\"output_tokens\":62}},\"user\":null,\"incomplete_details\":null,\"status\":\"completed\",\"store\":false,\"metadata\":{\"system_fingerprint\":\"fp_a39489019fa99b6e\"},\"background\":false,\"service_tier\":\"default\",\"truncation\":\"disabled\",\"top_logprobs\":0,\"presence_penalty\":0.0,\"frequency_penalty\":0.0,\"prompt_cache_key\":null,\"max_tool_calls\":null,\"safety_identifier\":null,\"error\":null,\"instructions\":null}}\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/venice-responses/continues-a-tool-call.json b/packages/ai/test/fixtures/recordings/venice-responses/continues-a-tool-call.json index e8d181bfd4b3..899634549170 100644 --- a/packages/ai/test/fixtures/recordings/venice-responses/continues-a-tool-call.json +++ b/packages/ai/test/fixtures/recordings/venice-responses/continues-a-tool-call.json @@ -10,7 +10,7 @@ "tool-loop" ], "name": "venice-responses/continues-a-tool-call", - "recordedAt": "2026-10-28T19:12:11.572Z" + "recordedAt": "2026-11-18T00:03:29.558Z" }, "interactions": [ { @@ -21,14 +21,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"openai-gpt-54-mini\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" + "body": "{\"model\":\"openai-gpt-54-mini\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool, then answer in one short sentence.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_05980898d988ddab016ae24908f88487d1ad6408097d25b6c1\",\"object\":\"response\",\"created_at\":1793214728,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"auto\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_05980898d988ddab016ae24908f88487d1ad6408097d25b6c1\",\"object\":\"response\",\"created_at\":1793214728,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"auto\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq4kkJUqduxoApjOV-QgI0M6PnFiyVmxeWOzA1N7YLY5CW0MpZiq1xlg7wCcaoKrP77fz88-ypOJ6L7ZgMowXqs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k4cSj2hT-tk_PA9FD6LIuX5TAGl4iqce6aT10v7VnZxNkts0YNg1hwndK5V-7D8DuLYCHB0qdFU1FvdqanvCtu4GFjzv-diMJn7y0xDmjOhs4XCD5tFYctUHvkFQn0o2-2RFfrmjy3bhFWNo4-nhOXX5CCFCFhpAhwoknTtC3lC7OqrafWZ-9Uo-\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.reasoning_summary_part.added\ndata: {\"type\":\"response.reasoning_summary_part.added\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"output_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"\"},\"sequence_number\":3,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"**Retrieving weather information**\\n\\nI\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"cvYWUAmdPdf\",\"output_index\":0,\"sequence_number\":4,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" need\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"HbfsDRXYWnf\",\"output_index\":0,\"sequence_number\":5,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"8ImKfZzqin4UL\",\"output_index\":0,\"sequence_number\":6,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" provide\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"6oal5ZKo\",\"output_index\":0,\"sequence_number\":7,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" a\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"h1ZZydqJktgDwi\",\"output_index\":0,\"sequence_number\":8,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" short\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"BlaAQwcjzR\",\"output_index\":0,\"sequence_number\":9,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" sentence\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"kQQWdR1\",\"output_index\":0,\"sequence_number\":10,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" about\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"329wq92xQH\",\"output_index\":0,\"sequence_number\":11,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"n8fBbqzy8YwW\",\"output_index\":0,\"sequence_number\":12,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" weather\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"kMkeHGwn\",\"output_index\":0,\"sequence_number\":13,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\",\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"q3U1ZzIbtde0Qsq\",\"output_index\":0,\"sequence_number\":14,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" so\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"65tkv1i6YdlGa\",\"output_index\":0,\"sequence_number\":15,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"NH47GLU9OOUbzz\",\"output_index\":0,\"sequence_number\":16,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’ll\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"wb7Rnc8wGPSoq\",\"output_index\":0,\"sequence_number\":17,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" start\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"nRhz4gkDEn\",\"output_index\":0,\"sequence_number\":18,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" by\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"GAzqt2Slt96cX\",\"output_index\":0,\"sequence_number\":19,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" using\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"cNpdHLH0rt\",\"output_index\":0,\"sequence_number\":20,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"HL3QIIFeR4Mz\",\"output_index\":0,\"sequence_number\":21,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" get\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"NJYITT1ZDnOz\",\"output_index\":0,\"sequence_number\":22,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"_weather\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"j7JcZcMr\",\"output_index\":0,\"sequence_number\":23,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" tool\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"6gVnOjmEzJI\",\"output_index\":0,\"sequence_number\":24,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"OQ6mfwLWrLNFshY\",\"output_index\":0,\"sequence_number\":25,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" It\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"xNv4PIZE6Od94\",\"output_index\":0,\"sequence_number\":26,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’s\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"XaYSBAcOppjoO8\",\"output_index\":0,\"sequence_number\":27,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" essential\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"I3LOSI\",\"output_index\":0,\"sequence_number\":28,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"RvZiO4QC3afl0\",\"output_index\":0,\"sequence_number\":29,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" make\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"BkWQNuxt0D1\",\"output_index\":0,\"sequence_number\":30,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" sure\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"zqcaXUy6d3r\",\"output_index\":0,\"sequence_number\":31,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"LrHAkRejvXvfu1\",\"output_index\":0,\"sequence_number\":32,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’m\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"m9LSdOtnBgYVQP\",\"output_index\":0,\"sequence_number\":33,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" calling\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"d1YFeLXS\",\"output_index\":0,\"sequence_number\":34,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" it\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"m2HGottthER78\",\"output_index\":0,\"sequence_number\":35,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" in\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"upat3xlIoPCbh\",\"output_index\":0,\"sequence_number\":36,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"VQ2ekryvynef\",\"output_index\":0,\"sequence_number\":37,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" commentary\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"wl43W\",\"output_index\":0,\"sequence_number\":38,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" channel\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"eIpwFEl2\",\"output_index\":0,\"sequence_number\":39,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"rzD8ppvfeuZIeMx\",\"output_index\":0,\"sequence_number\":40,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" Let\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"hLvluE15Wi3k\",\"output_index\":0,\"sequence_number\":41,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"’s\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"UhAqBN6iOy37nJ\",\"output_index\":0,\"sequence_number\":42,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" focus\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"VbXFYWpNHM\",\"output_index\":0,\"sequence_number\":43,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" on\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"nssVS5oEZlaLX\",\"output_index\":0,\"sequence_number\":44,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" gathering\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"631DhH\",\"output_index\":0,\"sequence_number\":45,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"yMZh1X9s0Jx6\",\"output_index\":0,\"sequence_number\":46,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" weather\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"vxXd39cm\",\"output_index\":0,\"sequence_number\":47,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" for\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"CXzKQeMIla7O\",\"output_index\":0,\"sequence_number\":48,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" Paris\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"gSWPNrqNCb\",\"output_index\":0,\"sequence_number\":49,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" specifically\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"OS1\",\"output_index\":0,\"sequence_number\":50,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"E5NnlYDDbzYjiuE\",\"output_index\":0,\"sequence_number\":51,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" This\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"IrxdzLrNJhC\",\"output_index\":0,\"sequence_number\":52,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" should\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"Y0Petl1gP\",\"output_index\":0,\"sequence_number\":53,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" set\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"rSRLRNrBuUXW\",\"output_index\":0,\"sequence_number\":54,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" me\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"7XVcDTSSX8qmO\",\"output_index\":0,\"sequence_number\":55,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" up\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"XPnKyO9Mbukrh\",\"output_index\":0,\"sequence_number\":56,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"iKzDaFvozzZ8u\",\"output_index\":0,\"sequence_number\":57,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" deliver\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"CYSvttVl\",\"output_index\":0,\"sequence_number\":58,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" concise\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"Ij6fGNG9\",\"output_index\":0,\"sequence_number\":59,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" and\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"glzf7ZKuJKiJ\",\"output_index\":0,\"sequence_number\":60,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" accurate\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"ZyrdE95\",\"output_index\":0,\"sequence_number\":61,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" information\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"LeFF\",\"output_index\":0,\"sequence_number\":62,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" effectively\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"8Zic\",\"output_index\":0,\"sequence_number\":63,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\".\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"o7x1yfQlE0dHj3n\",\"output_index\":0,\"sequence_number\":64,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" I'm\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"FaYSYo6irbRb\",\"output_index\":0,\"sequence_number\":65,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" curious\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"QQ2nvogp\",\"output_index\":0,\"sequence_number\":66,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" to\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"6OoUFxEdBIL8P\",\"output_index\":0,\"sequence_number\":67,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" see\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"MOAZFEYdWuOl\",\"output_index\":0,\"sequence_number\":68,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" what\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"4pnbxSmQwEs\",\"output_index\":0,\"sequence_number\":69,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" the\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"C1MJRlN1Nxfq\",\"output_index\":0,\"sequence_number\":70,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" weather\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"1TEgTprH\",\"output_index\":0,\"sequence_number\":71,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" will\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"7S2JxeeyglZ\",\"output_index\":0,\"sequence_number\":72,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" be\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"V470GJyUbB9nM\",\"output_index\":0,\"sequence_number\":73,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\" like\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"abelmAqfSh4\",\"output_index\":0,\"sequence_number\":74,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"delta\":\"!\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"obfuscation\":\"zU9GajEWoN9t74t\",\"output_index\":0,\"sequence_number\":75,\"summary_index\":0}\n\nevent: response.reasoning_summary_text.done\ndata: {\"type\":\"response.reasoning_summary_text.done\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"output_index\":0,\"sequence_number\":76,\"summary_index\":0,\"text\":\"**Retrieving weather information**\\n\\nI need to provide a short sentence about the weather, so I’ll start by using the get_weather tool. It’s essential to make sure I’m calling it in the commentary channel. Let’s focus on gathering the weather for Paris specifically. This should set me up to deliver concise and accurate information effectively. I'm curious to see what the weather will be like!\"}\n\nevent: response.reasoning_summary_part.done\ndata: {\"type\":\"response.reasoning_summary_part.done\",\"item_id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"output_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"**Retrieving weather information**\\n\\nI need to provide a short sentence about the weather, so I’ll start by using the get_weather tool. It’s essential to make sure I’m calling it in the commentary channel. Let’s focus on gathering the weather for Paris specifically. This should set me up to deliver concise and accurate information effectively. I'm curious to see what the weather will be like!\"},\"sequence_number\":77,\"summary_index\":0}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq4kkKw5bq5wrcwxIYomMV4hSXwL9lS2C375VylPdyAc7Jm105V-63GU-VhVb_z3hnM84XgYfJI6DrD0w9KNhUojqcON2XCqZdFj1iTXQVcG78XMeeSEg6LsaM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rDnEkTY_yFHQ0p06jQ1xVJWPud7WnnddLLe6BNYWb0lMd61JcibgpIUYwasMkvM43DgvNs99xw6MuXiG3MTdaCC-xDF5VPkcuRCeqBQHCxOSe1m9fYC8STbq2m_L9b7KKPT3IYD_3GWhRQplDJXrfC3YBh9iqJQz1mNL-Vvsk49SzfreiXFfq6iAFxSFNywUmr7NvyDl36WsPbDcu7oCbXVYb-pDYr5ILWObauAzV3OiPDXLfIgknH4eXibNXmrKkwMwEtXnwv3KB3UmMTop15vNp5N3dRhlMmgu_L3meK37pl07OIzihZGVN70SsBbxjNGi8t1zLhnA4gA9nsX70DuSNJ3Kf78AjM-o03qd6LLrvf8g-2Gc77JqnvG9tpk7VtWmSuPHn9NW-rw-eSLGUr6_7y1lnz7XOg0x70sb9KewduT3zgCTgfA5ip1tp1mSZma_StTL8zZ7ewzxFUrPJJtjiZX1FhxhXhP1LMJLV-q-8aHHg8WmbOtHo6zUSCudStro20R6GX9Gy0g2vwOBfkrHG-HK9FTvArI1aeelSJ2Vt0za7HE7_yv1xGCLdQUYPw9oskxG_gUNjtQy85l6044BjPQqL2iO27w9y9Vmt_kFox7sA_gTlvGwvPWeoMxKciNi8xLIhzG3w4EyVnEkwCz4J8iGjDlRJDatyn5vmLXeow4CrsoNDZaxWRfgzjK-4iUbr93A0amG6NBKjmaVxLDhkAacgVlLnnwZiYsZ73vbXa4M6ZFCPHA=\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"**Retrieving weather information**\\n\\nI need to provide a short sentence about the weather, so I’ll start by using the get_weather tool. It’s essential to make sure I’m calling it in the commentary channel. Let’s focus on gathering the weather for Paris specifically. This should set me up to deliver concise and accurate information effectively. I'm curious to see what the weather will be like!\"}]},\"output_index\":0,\"sequence_number\":78}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"type\":\"function_call\",\"status\":\"in_progress\",\"arguments\":\"\",\"call_id\":\"call_Ebs9709kzV8gdmgZ0LCGyC9S\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":79}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"{\\\"\",\"item_id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"obfuscation\":\"TzevqnIuElinqk\",\"output_index\":1,\"sequence_number\":80}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"city\",\"item_id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"obfuscation\":\"JuOuL59Yj7VG\",\"output_index\":1,\"sequence_number\":81}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\":\\\"\",\"item_id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"obfuscation\":\"6lhjcodYEU4fE\",\"output_index\":1,\"sequence_number\":82}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"Paris\",\"item_id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"obfuscation\":\"RUlFmcKikJD\",\"output_index\":1,\"sequence_number\":83}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\"}\",\"item_id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"obfuscation\":\"CpZUkInZUkvFmO\",\"output_index\":1,\"sequence_number\":84}\n\nevent: response.function_call_arguments.done\ndata: {\"type\":\"response.function_call_arguments.done\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"item_id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"output_index\":1,\"sequence_number\":85}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_Ebs9709kzV8gdmgZ0LCGyC9S\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":86}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_05980898d988ddab016ae24908f88487d1ad6408097d25b6c1\",\"object\":\"response\",\"created_at\":1793214728,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1793214730,\"error\":null,\"frequency_penalty\":0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[{\"id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq4kkKu4yWp2-RQOsbrkBog4CBESTsiDi0ixsCAWsvcYZDq6EBA1fEt7iiXYgR5GBbpyqTXcP0pcc7GCMMptX_XFjixrmyQWCn8wgaeahn7T3dHpHiuv4J9Z3mtqy_At6_2W8C15DxsnqkYwnKNoBV-Fzx3VspWwWB8-1bLN4O26H_MzeX_cO3oo5Gglxiq4VynF8nCyaxWV5Me7yZXrtNooqrEunJ8MEVY6PXb4loTiwrFnUkINw3T2RbWsnOx62ng28M0tOCc6-hvHg4mgyjC-ZbNjzFA-oRuME6OaWTyXn0YsvxdcXRR36yY34eL2ZZ1xZSpb4cxmZ5BQHycXb4RZDp2iR5H2USUTwafYgArPqH3bW_9zS_51SzrP_ixSpxoz0NboUQONHQVwCv3ejcpENZsLC9Yte3sxt_U5djbJ8bVO4KNgXIg7eiSKDitKP8w9cu1SAgSZlJlWvrXmtC_JeS14TmI5aXAP3PZFNUMCWLSjFXCe87d3bsKdhtImQ2zXvfHca-Gzcyn4L20TGyF1NpNZ0VaBpedhct7_kp6KO-ju_gjVio_7wRQozLUHZENb2P_0RGPA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22kA9EPzE_Ds9-eBy18-qnNQp4sj0CT2_KEFMjtYODXeg6gChdA0OI6rld_ZDiYtxXZzBQg760hQRyh3QK1gS-1NOSR8xutL3OgijjTZzIKHXtNMgvI3uBirLsNGrd0-WLbawz0GY8af2zlwhZQoxY1bdKJ-fP-6DkH9TNjhyav2Ax1HBxYgNJSjKOxntnRoVX81kIVJH1p1JF-6vwPqODbmGYoXaL2pw_HjTruAaqhRjaChYGaCGWxVUjg4skQ-Bq3U1ltb3kYAqOrfGvusmMS7xvdD8SEDNnAeo7w4FykBQt8OX2waI=\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"**Retrieving weather information**\\n\\nI need to provide a short sentence about the weather, so I’ll start by using the get_weather tool. It’s essential to make sure I’m calling it in the commentary channel. Let’s focus on gathering the weather for Paris specifically. This should set me up to deliver concise and accurate information effectively. I'm curious to see what the weather will be like!\"}]},{\"id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_Ebs9709kzV8gdmgZ0LCGyC9S\",\"name\":\"get_weather\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"default\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":67,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":50,\"output_tokens_details\":{\"reasoning_tokens\":30},\"total_tokens\":117},\"metadata\":{}},\"sequence_number\":87}\n\ndata: [DONE]\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_0520fd025baef248016afceb4eab0087d28660ce7bc88f36c6\",\"object\":\"response\",\"created_at\":1794960206,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"auto\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0520fd025baef248016afceb4eab0087d28660ce7bc88f36c6\",\"object\":\"response\",\"created_at\":1794960206,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"auto\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"rs_0520fd025baef248016afceb4f4f1087d2853b7c340328d6d2\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OtPpZWUs6ZtkDsEe9Ci6hRCzzcWQ4N1fgnPRs1_UynX7fvrJjd0EW4or7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AeZ8j4wa62uMbDYpzZ1klVBF7EGvEVw_cnb4y7hn4JZV0dAq5AonDhIxyrK-xl0_odI4dWf6ymGzjWjPCJuhbf8FETEwZTqiqNzHSHTXegoWJybL1d-OU5olKM3455IUZSkltHLkdGZE-S0QeUYo-kXBZNIKPhCXfeCR7a8ZOc0v6ej1fKefGAZEGr8WFh02nDH0320I901WhUxlov7fTAKmWe0JK2MUztUDN7SP9YixZSy4V9E8bScXMLa1rnElZduFOhsCFMsKA_vVQqkkhHNdgk9tNcTchkdvTSHljW6r9XJ9Lz9v2XGQ8WOBr2SErBUNJUi1__NiQWitK3Qkh2l4vYJcFTuaELnY59aRNEHmYeVl8zfDpMsX2XbU7otIwzS1iZ1rg4inEKskR4\",\"summary\":[]},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"rs_0520fd025baef248016afceb4f4f1087d2853b7c340328d6d2\",\"type\":\"reasoning\",\"content\":[],\"encrypted_content\":\"gAAAAABq_OtQr3nFVPl3i_45N6tEgubB7MQTlzL65DTIREEfqbbI8rj1Fg_OEr4nyX-k-s9g1zyJiRqADZ3QFsrBsXwiFXPlUoIwWOsZqW8c_7-sEtngpgnPwMW-LJax_RsNuVitOt0tCk7ZToVvxulRVjUBWONztAbcuQX4w86vWgFwh47M3i1DR77t1pJ7T-a4U2yDxJaUS8Tp3k9gDoaojO6K59FGeLuFtUX0svysi6MNNQXtdslyHPArierV-eFtqeRMxm92FH4kedY2WvaLbHQdA-p_UUwXK9-VKvi8jHkkYdpNEQf71FqjDuxegLatR9Vpnjj1qYSYwudR87nrOOiUgiAs-oiJxOSAUSDEgwSQG4FSGBO89lN9TS9ajXIimqNNiLj5XnUajxiUYdfKdo3pcf-M_YTC8VLe3p5DkE0Uxkxjr8cNEMvucQ98H2b-vDzrcoGWx8TWD9oDxM8L2uVy2YiBfoLzUv3rERrCknZGgPhZm7DnunGA03k_O0hGohKMhRvIYWzttWWhit1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TIIAvxCF9ov6JJc2rJBsDt4oABR-wDwfVKOKKTue89O0waJoGQgsJ8lvFyTFf_3sdBur8l1bQeF4lIkfxrhRGztxwUf6WsZtEZcxaTpFfhTde-cTVcwoQorB3GD_IUZhRukg8et4gAtGZ-Ty1paRh-JyumYOJEvVrHAVPpJemwb8vcq0zJM96ZNc6YecdF35xdz6sPaI-aHk2ib-kVEWRLYvjoQyHDcOrmE_30uflsCaT3WpihAaYeGWItPQtaBtEgE0RBp5B9FKQwGDhLePimzUoslPllN2IMDZgiUVlyA3Y-kL4c36CUak5J1xRVNUf7ZQwF_XeRhHf-mQB28ebJ_9KCwhpP6VMkQsNw47oHsrKCOMzG7fe_dCc_WRHPOfV9nUtH4xlEPXppMatx071ZN2nd7J-c1Dw_lAufxPcSuqZ8OSnJC4UIhETj9zWd8xwb11jSD9ZzKCxpdImOOFvqMTw0Burkq65xg6Y=\",\"summary\":[]},\"output_index\":0,\"sequence_number\":3}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"type\":\"function_call\",\"status\":\"in_progress\",\"arguments\":\"\",\"call_id\":\"call_pPI8SBFKjE6rw10rA3cdGDW7\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":4}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"{\\\"\",\"item_id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"obfuscation\":\"EqwLgPHfQtZf3j\",\"output_index\":1,\"sequence_number\":5}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"city\",\"item_id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"obfuscation\":\"ac6Ffr1LhFcx\",\"output_index\":1,\"sequence_number\":6}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\":\\\"\",\"item_id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"obfuscation\":\"lAHX7CznJi1D9\",\"output_index\":1,\"sequence_number\":7}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"Paris\",\"item_id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"obfuscation\":\"RKR0QEfTckA\",\"output_index\":1,\"sequence_number\":8}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"delta\":\"\\\"}\",\"item_id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"obfuscation\":\"g0PCgUPL9ycBX3\",\"output_index\":1,\"sequence_number\":9}\n\nevent: response.function_call_arguments.done\ndata: {\"type\":\"response.function_call_arguments.done\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"item_id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"output_index\":1,\"sequence_number\":10}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_pPI8SBFKjE6rw10rA3cdGDW7\",\"name\":\"get_weather\"},\"output_index\":1,\"sequence_number\":11}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0520fd025baef248016afceb4eab0087d28660ce7bc88f36c6\",\"object\":\"response\",\"created_at\":1794960206,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794960208,\"error\":null,\"frequency_penalty\":0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[{\"id\":\"rs_0520fd025baef248016afce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"summary\":[]},{\"id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"type\":\"function_call\",\"status\":\"completed\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"call_id\":\"call_pPI8SBFKjE6rw10rA3cdGDW7\",\"name\":\"get_weather\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"default\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":67,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":44,\"output_tokens_details\":{\"reasoning_tokens\":24},\"total_tokens\":111},\"metadata\":{}},\"sequence_number\":12}\n\ndata: [DONE]\n\n" } }, { @@ -39,14 +39,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"openai-gpt-54-mini\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"reasoning\",\"id\":\"rs_05980898d988ddab016ae24909723487d1b758d82073a55dab\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"**Retrieving weather information**\\n\\nI need to provide a short sentence about the weather, so I’ll start by using the get_weather tool. It’s essential to make sure I’m calling it in the commentary channel. Let’s focus on gathering the weather for Paris specifically. This should set me up to deliver concise and accurate information effectively. I'm curious to see what the weather will be like!\"}],\"encrypted_content\":\"gAAAAABq4kkKw5bq5wrcwxIYomMV4hSXwL9lS2C375VylPdyAc7Jm105V-63GU-VhVb_z3hnM84XgYfJI6DrD0w9KNhUojqcON2XCqZdFj1iTXQVcG78XMeeSEg6LsaMoHsNfuaPhl7oepmOeB23PdRJPy4G8HGkOEmer1Y32u-uwUImyPRiFQ2VFh-tiWFnkNTn-9Zu2hl2TO2eyOrGlS7EjynZCfAunEE6NiDyckvNUZT9aTv39R_3pH5OWdn8SHUCn6rgZlaZPZ1_yyfDz5mdPnsloNqyidqxXuU4JNKMesXHDHhuvlpE3MhPQydDTK0dK1vHtcj50j199HLchNnEi_C6Ed7AQPqqi-Md73S-Qn8X5N-lYEQleC2ZDTl7PT0GuFJx-o60gks3oega8BqJoO0px8-gSJQg0C3_RCIPoDGdrj_D0WjQKp25dDHifV1YPsrw3Y314zQBwTR_qIFJ9-fp7qE30rmrX4hb58JBBE4xpYswTngbctEwVbv3LCI5yBlus7rnIuv9YUGLPk7EfD-cQRgen_h7HQdt6a5zX2mXthBCrVGbQenD8hRBF9gC6NSkQ3vIjxd9YkXFI7NPz7zvxBXqCqfwbfyayPye1K-kiMW9oYSCgBzNoIgMA2_TB1FEO7duf3J1aADscktr7DEvmGm_xH8ydLLrLYCAGTCp-ShE47LQzUMeQsT64hXaSpVomvr-D92_9kdCHjn3bZa_nfuKVk9x5Q3QZhs5T0r4RTvvoL8bUEycOCdyZ3mbIUOan2qmzJ9R56K0G4khkXk47jf5NqX6cysggUg4BxgxglGuSUcTk3MhuR-gvYF5MBxf_EXKbxWFM6r3AOBVh2V4CvtaLvLOGwvf3EUAS1LWvCYfPfHeH6iST2kZ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type\":\"function_call\",\"id\":\"fc_05980898d988ddab016ae2490a715887d18c4ca83671699ca8\",\"call_id\":\"call_Ebs9709kzV8gdmgZ0LCGyC9S\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_Ebs9709kzV8gdmgZ0LCGyC9S\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" + "body": "{\"model\":\"openai-gpt-54-mini\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool, then answer in one short sentence.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"reasoning\",\"id\":\"rs_0520fd025baef248016afceb4f4f1087d2853b7c340328d6d2\",\"summary\":[],\"encrypted_content\":\"gAAAAABq_OtQr3nFVPl3i_45N6tEgubB7MQTlzL65DTIREEfqbbI8rj1Fg_OEr4nyX-k-s9g1zyJiRqADZ3QFsrBsXwiFXPlUoIwWOsZqW8c_7-sEtngpgnPwMW-LJax_RsNuVitOt0tCk7ZToVvxulRVjUBWONztAbcuQX4w86vWgFwh47M3i1DR77t1pJ7T-a4U2yDxJaUS8Tp3k9gDoaojO6K59FGeLuFtUX0svysi6MNNQXtdslyHPArierV-eFtqeRMxm92FH4kedY2WvaLbHQdA-p_UUwXK9-VKvi8jHkkYdpNEQf71FqjDuxegLatR9Vpnjj1qYSYwudR87nrOOiUgiAs-oiJxOSAUSDEgwSQG4FSGBO89lN9TS9ajXI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mICRM0GmUuvGBtqj1Wx-tKtzZ7BRQxLhE8pU49AV8sI-KuDj8pxKZwfjzprmJJ6SwaOl7AOXcmrU81Oj2fKWanlTWR4FBIHY_Gb6MtlbubWLZRhA9ibv8zVWWVoBqz6mrMGZAqKmXTeroTIIAvxCF9ov6JJc2rJBsDt4oABR-wDwfVKOKKTue89O0waJoGQgsJ8lvFyTFf_3sdBur8l1bQeF4lIkfxrhRGztxwUf6WsZtEZcxaTpFfhTde-cTVcwoQorB3GD_IUZhRukg8et4gAtGZ-Ty1paRh-JyumYOJEvVrHAVPpJemwb8vcq0zJM96ZNc6YecdF35xdz6sPaI-aHk2ib-kVEWRLYvjoQyHDcOrmE_30uflsCaT3WpihAaYeGWItPQtaBtEgE0RBp5B9FKQwGDhLePimzUoslPllN2IMDZgiUVlyA3Y-kL4c36CUak5J1xRVNUf7ZQwF_XeRhHf-mQB28ebJ_9KCwhpP6VMkQsNw47oHsrKCOMzG7fe_dCc_WRHPOfV9nUtH4xlEPXppMatx071ZN2nd7J-c1Dw_lAufxPcSuqZ8OSnJC4UIhETj9zWd8xwb11jSD9ZzKCxpdImOOFvqMTw0Burkq65xg6Y=\"},{\"type\":\"function_call\",\"id\":\"fc_0520fd025baef248016afceb50581487d28cfb316165e897d4\",\"call_id\":\"call_pPI8SBFKjE6rw10rA3cdGDW7\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_pPI8SBFKjE6rw10rA3cdGDW7\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"stream\":true,\"max_output_tokens\":256,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_05980898d988ddab016ae2490adc6c87d1917eca7a94f82187\",\"object\":\"response\",\"created_at\":1793214730,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"auto\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_05980898d988ddab016ae2490adc6c87d1917eca7a94f82187\",\"object\":\"response\",\"created_at\":1793214730,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"auto\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Paris\",\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"logprobs\":[],\"obfuscation\":\"bwEnHChUqYT\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" is\",\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"logprobs\":[],\"obfuscation\":\"yJBRziJaxpvtA\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" sunny\",\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"logprobs\":[],\"obfuscation\":\"krbIR769MW\",\"output_index\":0,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" and\",\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"logprobs\":[],\"obfuscation\":\"bbIc4pyn2RJS\",\"output_index\":0,\"sequence_number\":7}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" \",\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"logprobs\":[],\"obfuscation\":\"OrQLe0rwJwEwEyr\",\"output_index\":0,\"sequence_number\":8}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"22\",\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"logprobs\":[],\"obfuscation\":\"IuxlCmaOH911hu\",\"output_index\":0,\"sequence_number\":9}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"°C\",\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"logprobs\":[],\"obfuscation\":\"QwOmxdrWN76T2e\",\"output_index\":0,\"sequence_number\":10}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"logprobs\":[],\"obfuscation\":\"2guZ9kOcZXsV2Ga\",\"output_index\":0,\"sequence_number\":11}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":12,\"text\":\"Paris is sunny and 22°C.\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny and 22°C.\"},\"sequence_number\":13}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny and 22°C.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":14}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_05980898d988ddab016ae2490adc6c87d1917eca7a94f82187\",\"object\":\"response\",\"created_at\":1793214730,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1793214731,\"error\":null,\"frequency_penalty\":0,\"incomplete_details\":null,\"instructions\":\"Use the get_weather tool, then answer in one short sentence.\",\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[{\"id\":\"msg_05980898d988ddab016ae2490b64a487d1ae40496600cdbeb7\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny and 22°C.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"default\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":138,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cached_tokens\":0},\"output_tokens\":12,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":150},\"metadata\":{}},\"sequence_number\":15}\n\ndata: [DONE]\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"response\":{\"id\":\"resp_0520fd025baef248016afceb50c63487d29596ded8f2f2f1a2\",\"object\":\"response\",\"created_at\":1794960208,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"auto\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"metadata\":{}},\"sequence_number\":0}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"response\":{\"id\":\"resp_0520fd025baef248016afceb50c63487d29596ded8f2f2f1a2\",\"object\":\"response\",\"created_at\":1794960208,\"status\":\"in_progress\",\"access_programs\":null,\"background\":false,\"completed_at\":null,\"error\":null,\"frequency_penalty\":0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"auto\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":null,\"metadata\":{}},\"sequence_number\":1}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"item\":{\"id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":2}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"content_index\":0,\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"},\"sequence_number\":3}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"Paris\",\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"logprobs\":[],\"obfuscation\":\"tBNmmlqlLvx\",\"output_index\":0,\"sequence_number\":4}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" is\",\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"logprobs\":[],\"obfuscation\":\"W29Kos0ZyMFeK\",\"output_index\":0,\"sequence_number\":5}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" sunny\",\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"logprobs\":[],\"obfuscation\":\"abaioeHRcz\",\"output_index\":0,\"sequence_number\":6}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" and\",\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"logprobs\":[],\"obfuscation\":\"xNWiP9re8akQ\",\"output_index\":0,\"sequence_number\":7}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\" \",\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"logprobs\":[],\"obfuscation\":\"ONc2bmftPm2VDot\",\"output_index\":0,\"sequence_number\":8}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"22\",\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"logprobs\":[],\"obfuscation\":\"G6kISd4ulhET98\",\"output_index\":0,\"sequence_number\":9}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\"°C\",\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"logprobs\":[],\"obfuscation\":\"vRTye9QsTz6cwL\",\"output_index\":0,\"sequence_number\":10}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"content_index\":0,\"delta\":\".\",\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"logprobs\":[],\"obfuscation\":\"LnFeXAOhEuH526n\",\"output_index\":0,\"sequence_number\":11}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":12,\"text\":\"Paris is sunny and 22°C.\"}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"output_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny and 22°C.\"},\"sequence_number\":13}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny and 22°C.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"},\"output_index\":0,\"sequence_number\":14}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_0520fd025baef248016afceb50c63487d29596ded8f2f2f1a2\",\"object\":\"response\",\"created_at\":1794960208,\"status\":\"completed\",\"access_programs\":null,\"background\":false,\"completed_at\":1794960209,\"error\":null,\"frequency_penalty\":0,\"image\":{\"context_compression\":\"disabled\"},\"incomplete_details\":null,\"input_transformations\":[],\"instructions\":null,\"max_output_tokens\":256,\"max_tool_calls\":null,\"model\":\"openai-gpt-54-mini\",\"moderation\":null,\"output\":[{\"id\":\"msg_0520fd025baef248016afceb51545087d297024d1ae7f0f0d3\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris is sunny and 22°C.\"}],\"phase\":\"final_answer\",\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_retention\":\"24h\",\"reasoning\":{\"context\":\"current_turn\",\"effort\":\"high\",\"mode\":\"standard\",\"summary\":\"detailed\"},\"service_tier\":\"default\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tool_usage\":{\"image_gen\":{\"input_tokens\":0,\"input_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"output_tokens\":0,\"output_tokens_details\":{\"image_tokens\":0,\"text_tokens\":0},\"total_tokens\":0},\"web_search\":{\"num_requests\":0}},\"tools\":[{\"type\":\"function\",\"description\":\"Get current weather for a city.\",\"name\":\"get_weather\",\"output_schema\":null,\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"top_logprobs\":0,\"top_p\":0.98,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":132,\"input_tokens_details\":{\"cache_write_tokens\":0,\"cache_write_tokens_details\":{\"ttl_12h_tokens\":0,\"ttl_30m_tokens\":0},\"cached_tokens\":0},\"output_tokens\":12,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":144},\"metadata\":{}},\"sequence_number\":15}\n\ndata: [DONE]\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/vercel-native/continues-responses-gpt-reasoning-and-tools.json b/packages/ai/test/fixtures/recordings/vercel-native/continues-responses-gpt-reasoning-and-tools.json index d44938154aa3..6953b96f14e9 100644 --- a/packages/ai/test/fixtures/recordings/vercel-native/continues-responses-gpt-reasoning-and-tools.json +++ b/packages/ai/test/fixtures/recordings/vercel-native/continues-responses-gpt-reasoning-and-tools.json @@ -6,7 +6,7 @@ "provider:vercel-ai-gateway" ], "name": "vercel-native/continues-responses-gpt-reasoning-and-tools", - "recordedAt": "2026-10-02T03:35:17.693Z" + "recordedAt": "2026-11-18T00:03:31.879Z" }, "interactions": [ { @@ -17,14 +17,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"openai/gpt-6-luna\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"},\"max_output_tokens\":2048,\"stream\":true}" + "body": "{\"model\":\"openai/gpt-6-luna\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"stream\":true,\"max_output_tokens\":2048,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"},\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"gen_01M3XAWDCYY5RT4HEEH7PRA60S\",\"object\":\"response\",\"created_at\":1790912116,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"openai/gpt-6-luna\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"gen_01M3XAWDCYY5RT4HEEH7PRA60S\",\"object\":\"response\",\"created_at\":1790912116,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"openai/gpt-6-luna\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"function_call\",\"id\":\"fc_1790912116805_gjpiv08fad6\",\"call_id\":\"call_iUMyf0iR7KJvUJl7O30wRmGi\",\"name\":\"get_weather\",\"arguments\":\"\",\"status\":\"in_progress\"}}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":3,\"item_id\":\"fc_1790912116805_gjpiv08fad6\",\"output_index\":0,\"delta\":\"{\\\"\"}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":4,\"item_id\":\"fc_1790912116805_gjpiv08fad6\",\"output_index\":0,\"delta\":\"city\"}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":5,\"item_id\":\"fc_1790912116805_gjpiv08fad6\",\"output_index\":0,\"delta\":\"\\\":\\\"\"}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":6,\"item_id\":\"fc_1790912116805_gjpiv08fad6\",\"output_index\":0,\"delta\":\"Paris\"}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":7,\"item_id\":\"fc_1790912116805_gjpiv08fad6\",\"output_index\":0,\"delta\":\"\\\"}\"}\n\nevent: response.function_call_arguments.done\ndata: {\"type\":\"response.function_call_arguments.done\",\"sequence_number\":8,\"item_id\":\"fc_1790912116805_gjpiv08fad6\",\"output_index\":0,\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":9,\"output_index\":0,\"item\":{\"type\":\"function_call\",\"id\":\"fc_1790912116805_gjpiv08fad6\",\"call_id\":\"call_iUMyf0iR7KJvUJl7O30wRmGi\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"status\":\"completed\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":10,\"response\":{\"id\":\"gen_01M3XAWDCYY5RT4HEEH7PRA60S\",\"object\":\"response\",\"created_at\":1790912116,\"status\":\"completed\",\"completed_at\":1790912116,\"incomplete_details\":null,\"error\":null,\"output\":[{\"type\":\"function_call\",\"id\":\"fc_1790912116805_gjpiv08fad6\",\"call_id\":\"call_iUMyf0iR7KJvUJl7O30wRmGi\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"status\":\"completed\"}],\"usage\":{\"input_tokens\":74,\"output_tokens\":18,\"total_tokens\":92,\"input_tokens_details\":{\"cached_tokens\":0,\"cache_write_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"gpt-6-luna\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"default\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"provider_metadata\":{\"openai\":{\"responseId\":\"resp_00f283291bb6009d016abf26743f0c87d1a9732d3e4a334cd2\",\"serviceTier\":\"default\",\"reasoningContext\":\"all_turns\"},\"gateway\":{\"routing\":{\"originalModelId\":\"openai/gpt-6-luna\",\"resolvedProvider\":\"openai\",\"fallbacksAvailable\":[\"bedrock\",\"azure\"],\"planningReasoning\":\"System credentials planned for: openai, bedrock, azure. Total execution order: openai(system) → bedrock(system) → azure(system)\",\"canonicalSlug\":\"openai/gpt-6-luna\",\"finalProvider\":\"openai\",\"modelAttemptCount\":1,\"modelAttempts\":[{\"canonicalSlug\":\"openai/gpt-6-luna\",\"success\":true,\"providerAttemptCount\":1,\"providerAttempts\":[{\"provider\":\"openai\",\"credentialType\":\"system\",\"success\":true,\"startTime\":1790912116162,\"endTime\":1790912116955,\"providerRequestId\":\"req_354dcfb7edf042beab5d73d445d4f82d\",\"statusCode\":200,\"providerResponseId\":\"resp_00f283291bb6009d016abf26743f0c87d1a9732d3e4a334cd2\"}]}],\"totalProviderAttemptCount\":1,\"affinity\":{\"outcome\":\"skipped_below_min_prefix\"},\"clientSessionId\":\"a47cd177650917b88c4d443d7bd8be68\",\"clientSessionIdSource\":\"fingerprint\"},\"cost\":\"0.0000164\",\"marketCost\":\"0.0000164\",\"surchargeCost\":\"0\",\"gatewayCost\":\"0.0000164\",\"inferenceCost\":\"0.0000164\",\"inputInferenceCost\":\"0.0000074\",\"outputInferenceCost\":\"0.000009\",\"generationId\":\"gen_01M3XAWDCYY5RT4HEEH7PRA60S\"}}}}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"gen_01M7NZEE44M1C1BBNHFW3DVREV\",\"object\":\"response\",\"created_at\":1794960210,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"openai/gpt-6-luna\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"gen_01M7NZEE44M1C1BBNHFW3DVREV\",\"object\":\"response\",\"created_at\":1794960210,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"openai/gpt-6-luna\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"function_call\",\"id\":\"fc_1794960210951_4dyzkoxmaky\",\"call_id\":\"call_Cl6aHJAkhPJna7fHogcIryU7\",\"name\":\"get_weather\",\"arguments\":\"\",\"status\":\"in_progress\"}}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":3,\"item_id\":\"fc_1794960210951_4dyzkoxmaky\",\"output_index\":0,\"delta\":\"{\\\"\"}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":4,\"item_id\":\"fc_1794960210951_4dyzkoxmaky\",\"output_index\":0,\"delta\":\"city\"}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":5,\"item_id\":\"fc_1794960210951_4dyzkoxmaky\",\"output_index\":0,\"delta\":\"\\\":\\\"\"}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":6,\"item_id\":\"fc_1794960210951_4dyzkoxmaky\",\"output_index\":0,\"delta\":\"Paris\"}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":7,\"item_id\":\"fc_1794960210951_4dyzkoxmaky\",\"output_index\":0,\"delta\":\"\\\"}\"}\n\nevent: response.function_call_arguments.done\ndata: {\"type\":\"response.function_call_arguments.done\",\"sequence_number\":8,\"item_id\":\"fc_1794960210951_4dyzkoxmaky\",\"output_index\":0,\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":9,\"output_index\":0,\"item\":{\"type\":\"function_call\",\"id\":\"fc_1794960210951_4dyzkoxmaky\",\"call_id\":\"call_Cl6aHJAkhPJna7fHogcIryU7\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"status\":\"completed\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":10,\"response\":{\"id\":\"gen_01M7NZEE44M1C1BBNHFW3DVREV\",\"object\":\"response\",\"created_at\":1794960210,\"status\":\"completed\",\"completed_at\":1794960211,\"incomplete_details\":null,\"error\":null,\"output\":[{\"type\":\"function_call\",\"id\":\"fc_1794960210951_4dyzkoxmaky\",\"call_id\":\"call_Cl6aHJAkhPJna7fHogcIryU7\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"status\":\"completed\"}],\"usage\":{\"input_tokens\":74,\"output_tokens\":18,\"total_tokens\":92,\"input_tokens_details\":{\"cached_tokens\":0,\"cache_write_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"gpt-6-luna\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"default\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"provider_metadata\":{\"openai\":{\"responseId\":\"resp_016f2eb2334064fa016afceb5252fc87d28aea7106eaae535c\",\"serviceTier\":\"default\",\"reasoningContext\":\"all_turns\"},\"gateway\":{\"routing\":{\"originalModelId\":\"openai/gpt-6-luna\",\"resolvedProvider\":\"openai\",\"fallbacksAvailable\":[\"azure\",\"bedrock\"],\"canonicalSlug\":\"openai/gpt-6-luna\",\"finalProvider\":\"openai\",\"modelAttemptCount\":1,\"modelAttempts\":[{\"canonicalSlug\":\"openai/gpt-6-luna\",\"success\":true,\"providerAttemptCount\":1,\"providerAttempts\":[{\"provider\":\"openai\",\"credentialType\":\"system\",\"success\":true,\"startTime\":1794960210261,\"endTime\":1794960211124,\"providerRequestId\":\"req_6dac3d7d6c4f4fef8d6b639198f85283\",\"statusCode\":200,\"providerResponseId\":\"resp_016f2eb2334064fa016afceb5252fc87d28aea7106eaae535c\"}]}],\"totalProviderAttemptCount\":1,\"clientSessionId\":\"a47cd177650917b88c4d443d7bd8be68\",\"clientSessionIdSource\":\"fingerprint\"},\"cost\":\"0.0000164\",\"marketCost\":\"0.0000164\",\"surchargeCost\":\"0\",\"gatewayCost\":\"0.0000164\",\"inferenceCost\":\"0.0000164\",\"inputInferenceCost\":\"0.0000074\",\"outputInferenceCost\":\"0.000009\",\"generationId\":\"gen_01M7NZEE44M1C1BBNHFW3DVREV\"}}}}\n\n" } }, { @@ -35,14 +35,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"openai/gpt-6-luna\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"function_call\",\"id\":\"fc_1790912116805_gjpiv08fad6\",\"call_id\":\"call_iUMyf0iR7KJvUJl7O30wRmGi\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_iUMyf0iR7KJvUJl7O30wRmGi\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"},\"max_output_tokens\":2048,\"stream\":true}" + "body": "{\"model\":\"openai/gpt-6-luna\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"function_call\",\"id\":\"fc_1794960210951_4dyzkoxmaky\",\"call_id\":\"call_Cl6aHJAkhPJna7fHogcIryU7\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_Cl6aHJAkhPJna7fHogcIryU7\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"stream\":true,\"max_output_tokens\":2048,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"},\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"gen_01M3XAWEAE4DFVEN1PK4X2HPDN\",\"object\":\"response\",\"created_at\":1790912117,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"openai/gpt-6-luna\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"gen_01M3XAWEAE4DFVEN1PK4X2HPDN\",\"object\":\"response\",\"created_at\":1790912117,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"openai/gpt-6-luna\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"message\",\"id\":\"msg_1790912117592_ym79h2ia3op\",\"status\":\"in_progress\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":3,\"item_id\":\"msg_1790912117592_ym79h2ia3op\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":4,\"item_id\":\"msg_1790912117592_ym79h2ia3op\",\"output_index\":0,\"content_index\":0,\"delta\":\"Paris\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":5,\"item_id\":\"msg_1790912117592_ym79h2ia3op\",\"output_index\":0,\"content_index\":0,\"delta\":\" is\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":6,\"item_id\":\"msg_1790912117592_ym79h2ia3op\",\"output_index\":0,\"content_index\":0,\"delta\":\" sunny\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":7,\"item_id\":\"msg_1790912117592_ym79h2ia3op\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[]}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":8,\"item_id\":\"msg_1790912117592_ym79h2ia3op\",\"output_index\":0,\"content_index\":0,\"text\":\"Paris is sunny.\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":9,\"item_id\":\"msg_1790912117592_ym79h2ia3op\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":10,\"output_index\":0,\"item\":{\"type\":\"message\",\"id\":\"msg_1790912117592_ym79h2ia3op\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":11,\"response\":{\"id\":\"gen_01M3XAWEAE4DFVEN1PK4X2HPDN\",\"object\":\"response\",\"created_at\":1790912117,\"status\":\"completed\",\"completed_at\":1790912117,\"incomplete_details\":null,\"error\":null,\"output\":[{\"type\":\"message\",\"id\":\"msg_1790912117592_ym79h2ia3op\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}],\"usage\":{\"input_tokens\":113,\"output_tokens\":8,\"total_tokens\":121,\"input_tokens_details\":{\"cached_tokens\":0,\"cache_write_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"gpt-6-luna\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"default\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"provider_metadata\":{\"openai\":{\"responseId\":\"resp_052bed03e239f42b016abf26752c0087d1aef1c048d528c92e\",\"serviceTier\":\"default\",\"reasoningContext\":\"all_turns\"},\"gateway\":{\"routing\":{\"originalModelId\":\"openai/gpt-6-luna\",\"resolvedProvider\":\"openai\",\"fallbacksAvailable\":[\"bedrock\",\"azure\"],\"planningReasoning\":\"System credentials planned for: openai, bedrock, azure. Total execution order: openai(system) → bedrock(system) → azure(system)\",\"canonicalSlug\":\"openai/gpt-6-luna\",\"finalProvider\":\"openai\",\"modelAttemptCount\":1,\"modelAttempts\":[{\"canonicalSlug\":\"openai/gpt-6-luna\",\"success\":true,\"providerAttemptCount\":1,\"providerAttempts\":[{\"provider\":\"openai\",\"credentialType\":\"system\",\"success\":true,\"startTime\":1790912117099,\"endTime\":1790912117745,\"providerRequestId\":\"req_4db547dd2dbc497491922d9bbb28c228\",\"statusCode\":200,\"providerResponseId\":\"resp_052bed03e239f42b016abf26752c0087d1aef1c048d528c92e\"}]}],\"totalProviderAttemptCount\":1,\"affinity\":{\"outcome\":\"skipped_below_min_prefix\"},\"clientSessionId\":\"a47cd177650917b88c4d443d7bd8be68\",\"clientSessionIdSource\":\"fingerprint\"},\"cost\":\"0.0000153\",\"marketCost\":\"0.0000153\",\"surchargeCost\":\"0\",\"gatewayCost\":\"0.0000153\",\"inferenceCost\":\"0.0000153\",\"inputInferenceCost\":\"0.0000113\",\"outputInferenceCost\":\"0.000004\",\"generationId\":\"gen_01M3XAWEAE4DFVEN1PK4X2HPDN\"}}}}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"gen_01M7NZEF8NA74Z9TE7BCWXHVK3\",\"object\":\"response\",\"created_at\":1794960211,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"openai/gpt-6-luna\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"gen_01M7NZEF8NA74Z9TE7BCWXHVK3\",\"object\":\"response\",\"created_at\":1794960211,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"openai/gpt-6-luna\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"message\",\"id\":\"msg_1794960211754_5zy0paj957e\",\"status\":\"in_progress\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":3,\"item_id\":\"msg_1794960211754_5zy0paj957e\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":4,\"item_id\":\"msg_1794960211754_5zy0paj957e\",\"output_index\":0,\"content_index\":0,\"delta\":\"Paris\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":5,\"item_id\":\"msg_1794960211754_5zy0paj957e\",\"output_index\":0,\"content_index\":0,\"delta\":\" is\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":6,\"item_id\":\"msg_1794960211754_5zy0paj957e\",\"output_index\":0,\"content_index\":0,\"delta\":\" sunny\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":7,\"item_id\":\"msg_1794960211754_5zy0paj957e\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[]}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":8,\"item_id\":\"msg_1794960211754_5zy0paj957e\",\"output_index\":0,\"content_index\":0,\"text\":\"Paris is sunny.\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":9,\"item_id\":\"msg_1794960211754_5zy0paj957e\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":10,\"output_index\":0,\"item\":{\"type\":\"message\",\"id\":\"msg_1794960211754_5zy0paj957e\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":11,\"response\":{\"id\":\"gen_01M7NZEF8NA74Z9TE7BCWXHVK3\",\"object\":\"response\",\"created_at\":1794960211,\"status\":\"completed\",\"completed_at\":1794960211,\"incomplete_details\":null,\"error\":null,\"output\":[{\"type\":\"message\",\"id\":\"msg_1794960211754_5zy0paj957e\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}],\"phase\":\"final_answer\"}],\"usage\":{\"input_tokens\":113,\"output_tokens\":8,\"total_tokens\":121,\"input_tokens_details\":{\"cached_tokens\":0,\"cache_write_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"gpt-6-luna\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"default\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"provider_metadata\":{\"openai\":{\"responseId\":\"resp_08de49497d7831f1016afceb5352dc87d2bca3058761d21169\",\"serviceTier\":\"default\",\"reasoningContext\":\"all_turns\"},\"gateway\":{\"routing\":{\"originalModelId\":\"openai/gpt-6-luna\",\"resolvedProvider\":\"openai\",\"fallbacksAvailable\":[\"azure\",\"bedrock\"],\"canonicalSlug\":\"openai/gpt-6-luna\",\"finalProvider\":\"openai\",\"modelAttemptCount\":1,\"modelAttempts\":[{\"canonicalSlug\":\"openai/gpt-6-luna\",\"success\":true,\"providerAttemptCount\":1,\"providerAttempts\":[{\"provider\":\"openai\",\"credentialType\":\"system\",\"success\":true,\"startTime\":1794960211262,\"endTime\":1794960211886,\"providerRequestId\":\"req_65bc980d118a488f97fce0c009eba7dc\",\"statusCode\":200,\"providerResponseId\":\"resp_08de49497d7831f1016afceb5352dc87d2bca3058761d21169\"}]}],\"totalProviderAttemptCount\":1,\"clientSessionId\":\"a47cd177650917b88c4d443d7bd8be68\",\"clientSessionIdSource\":\"fingerprint\"},\"cost\":\"0.0000153\",\"marketCost\":\"0.0000153\",\"surchargeCost\":\"0\",\"gatewayCost\":\"0.0000153\",\"inferenceCost\":\"0.0000153\",\"inputInferenceCost\":\"0.0000113\",\"outputInferenceCost\":\"0.000004\",\"generationId\":\"gen_01M7NZEF8NA74Z9TE7BCWXHVK3\"}}}}\n\n" } } ] diff --git a/packages/ai/test/fixtures/recordings/vercel-native/continues-responses-grok-reasoning-and-tools.json b/packages/ai/test/fixtures/recordings/vercel-native/continues-responses-grok-reasoning-and-tools.json index f67f3cdf0556..9728e1663af5 100644 --- a/packages/ai/test/fixtures/recordings/vercel-native/continues-responses-grok-reasoning-and-tools.json +++ b/packages/ai/test/fixtures/recordings/vercel-native/continues-responses-grok-reasoning-and-tools.json @@ -6,7 +6,7 @@ "provider:vercel-ai-gateway" ], "name": "vercel-native/continues-responses-grok-reasoning-and-tools", - "recordedAt": "2026-10-02T03:35:29.729Z" + "recordedAt": "2026-11-18T00:03:41.321Z" }, "interactions": [ { @@ -17,14 +17,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"spacexai/grok-4.7\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"},\"max_output_tokens\":2048,\"stream\":true}" + "body": "{\"model\":\"spacexai/grok-4.7\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]}],\"stream\":true,\"max_output_tokens\":2048,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"},\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"gen_01M3XAWJENM4P0F2WHEDRHDGW0\",\"object\":\"response\",\"created_at\":1790912122,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"xai/grok-4.7\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"gen_01M3XAWJENM4P0F2WHEDRHDGW0\",\"object\":\"response\",\"created_at\":1790912122,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"xai/grok-4.7\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"summary\":[]}}\n\nevent: response.reasoning_summary_part.added\ndata: {\"type\":\"response.reasoning_summary_part.added\",\"sequence_number\":3,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"\"}}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":4,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\"The\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":5,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" user\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":6,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" wants\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":7,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" me\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":8,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" to\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":9,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" use\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":10,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" the\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":11,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" get\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":12,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\"_\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":13,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\"weather\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":14,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" tool\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":15,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" exactly\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":16,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" once\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":17,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\",\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":18,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" then\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":19,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" reply\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":20,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" exactly\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":21,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" \\\"\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":22,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\"Paris\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":23,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" is\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":24,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" sunny\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":25,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\".\\\"\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":26,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" after\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":27,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" the\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":28,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" tool\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":29,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\" result\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":30,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"delta\":\".\\n\"}\n\nevent: response.reasoning_summary_text.done\ndata: {\"type\":\"response.reasoning_summary_text.done\",\"sequence_number\":31,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"text\":\"The user wants me to use the get_weather tool exactly once, then reply exactly \\\"Paris is sunny.\\\" after the tool result.\\n\"}\n\nevent: response.reasoning_summary_part.done\ndata: {\"type\":\"response.reasoning_summary_part.done\",\"sequence_number\":32,\"item_id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"output_index\":0,\"summary_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"The user wants me to use the get_weather tool exactly once, then reply exactly \\\"Paris is sunny.\\\" after the tool result.\\n\"}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":33,\"output_index\":1,\"item\":{\"type\":\"function_call\",\"id\":\"fc_1790912123226_i789hz8nb4\",\"call_id\":\"call-37a29db2-38ae-4f89-95ef-321aba43ee4e-0\",\"name\":\"get_weather\",\"arguments\":\"\",\"status\":\"in_progress\"}}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":34,\"item_id\":\"fc_1790912123226_i789hz8nb4\",\"output_index\":1,\"delta\":\"{\\\"city\\\":\\\"Paris\\\"}\"}\n\nevent: response.function_call_arguments.done\ndata: {\"type\":\"response.function_call_arguments.done\",\"sequence_number\":35,\"item_id\":\"fc_1790912123226_i789hz8nb4\",\"output_index\":1,\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":36,\"output_index\":1,\"item\":{\"type\":\"function_call\",\"id\":\"fc_1790912123226_i789hz8nb4\",\"call_id\":\"call-37a29db2-38ae-4f89-95ef-321aba43ee4e-0\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"status\":\"completed\"}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":37,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"The user wants me to use the get_weather tool exactly once, then reply exactly \\\"Paris is sunny.\\\" after the tool result.\\n\"}],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiJmQmZoSmxEbkhOUXVzcDdFeDl1TTB6RGVPNExoVlVmK21BdldMZGwwSkk2bCtURjhwbXcxb091emVvVFRSUlBHLzJGd3JCVy9hM1g3NCtTRTAwSFlkd2I1Z1hnTXFTZHVNZ1cyZlJsVE12S3VEaGE1TWlEODRIYy8wSjZFdnRmS1JkcjU5TGpZL29mK01Qbk9RWi9Od0phOEFKb1pHZmVnUkx6cUVudlQ1eUM3dTNDYWsvZzFrWWNmR2xkNDNzVmJMVGZiSjJIaDh5SWlPNlEyOExGVUNBN3FmRzQzV2VqM1BDSzkvZnk1U29tTVN2NUk5ZkoxeU9jc3IwY2ZSUGNmeStBIiwib3JpZ2luIjoieGFpIn19\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":38,\"response\":{\"id\":\"gen_01M3XAWJENM4P0F2WHEDRHDGW0\",\"object\":\"response\",\"created_at\":1790912122,\"status\":\"completed\",\"completed_at\":1790912123,\"incomplete_details\":null,\"error\":null,\"output\":[{\"type\":\"reasoning\",\"id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"The user wants me to use the get_weather tool exactly once, then reply exactly \\\"Paris is sunny.\\\" after the tool result.\\n\"}],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiJmQmZoSmxEbkhOUXVzcDdFeDl1TTB6RGVPNExoVlVmK21BdldMZGwwSkk2bCtURjhwbXcxb091emVvVFRSUlBHLzJGd3JCVy9hM1g3NCtTRTAwSFlkd2I1Z1hnTXFTZHVNZ1cyZlJsVE12S3VEaGE1TWlEODRIYy8wSjZFdnRmS1JkcjU5TGpZL29mK01Qbk9RWi9Od0phOEFKb1pHZmVnUkx6cUVudlQ1eUM3dTNDYWsvZzFrWWNmR2xkNDNzVmJMVGZiSjJIaDh5SWlPNlEyOExGVUNBN3FmRzQzV2VqM1BDSzkvZnk1U29tTVN2NUk5ZkoxeU9jc3IwY2ZSUGNmeStBIiwib3JpZ2luIjoieGFpIn19\"},{\"type\":\"function_call\",\"id\":\"fc_1790912123226_i789hz8nb4\",\"call_id\":\"call-37a29db2-38ae-4f89-95ef-321aba43ee4e-0\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"status\":\"completed\"}],\"usage\":{\"input_tokens\":1356,\"output_tokens\":49,\"total_tokens\":1405,\"input_tokens_details\":{\"cached_tokens\":1152},\"output_tokens_details\":{\"reasoning_tokens\":38}},\"model\":\"grok-4.7\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"default\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"provider_metadata\":{\"xai\":{\"serviceTier\":\"default\"},\"gateway\":{\"routing\":{\"originalModelId\":\"spacexai/grok-4.7\",\"resolvedProvider\":\"xai\",\"fallbacksAvailable\":[],\"planningReasoning\":\"System credentials planned for: xai. Total execution order: xai(system)\",\"canonicalSlug\":\"xai/grok-4.7\",\"finalProvider\":\"xai\",\"modelAttemptCount\":1,\"modelAttempts\":[{\"canonicalSlug\":\"xai/grok-4.7\",\"success\":true,\"providerAttemptCount\":1,\"providerAttempts\":[{\"provider\":\"xai\",\"credentialType\":\"system\",\"success\":true,\"startTime\":1790912121335,\"endTime\":1790912123229,\"providerRequestId\":\"49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"statusCode\":200,\"providerResponseId\":\"49e377e8-18fe-9c93-bc42-e78bc06ef8c8\"}]}],\"totalProviderAttemptCount\":1,\"affinity\":{\"outcome\":\"skipped_below_min_prefix\"},\"clientSessionId\":\"a47cd177650917b88c4d443d7bd8be68\",\"clientSessionIdSource\":\"fingerprint\"},\"cost\":\"0.001278\",\"marketCost\":\"0.001278\",\"surchargeCost\":\"0\",\"gatewayCost\":\"0.001278\",\"inferenceCost\":\"0.001278\",\"inputInferenceCost\":\"0.000984\",\"outputInferenceCost\":\"0.000294\",\"generationId\":\"gen_01M3XAWJENM4P0F2WHEDRHDGW0\"}}}}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"gen_01M7NZEFZN8J0TVD6Y802B4VH3\",\"object\":\"response\",\"created_at\":1794960212,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"xai/grok-4.7\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"gen_01M7NZEFZN8J0TVD6Y802B4VH3\",\"object\":\"response\",\"created_at\":1794960212,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"xai/grok-4.7\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_b454d55b-87b4-9d30-aff9-8bfab3c076b4\",\"summary\":[]}}\n\nevent: response.reasoning_summary_part.added\ndata: {\"type\":\"response.reasoning_summary_part.added\",\"sequence_number\":3,\"item_id\":\"rs_b454d55b-87b4-9d30-aff9-8bfab3c076b4\",\"output_index\":0,\"summary_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"\"}}\n\nevent: response.reasoning_summary_text.done\ndata: {\"type\":\"response.reasoning_summary_text.done\",\"sequence_number\":4,\"item_id\":\"rs_b454d55b-87b4-9d30-aff9-8bfab3c076b4\",\"output_index\":0,\"summary_index\":0,\"text\":\"\"}\n\nevent: response.reasoning_summary_part.done\ndata: {\"type\":\"response.reasoning_summary_part.done\",\"sequence_number\":5,\"item_id\":\"rs_b454d55b-87b4-9d30-aff9-8bfab3c076b4\",\"output_index\":0,\"summary_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"\"}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":6,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_b454d55b-87b4-9d30-aff9-8bfab3c076b4\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"\"}],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiJRR3g0ZG1OQ1VvUW1xSEQ3cW93Y3k1S3RuODdudHdQNDlnL1hwMEpSU1ZXTlZmK1FHdjV0UERSa3gzeWwvN05sTUxGN0FKcm43ZTlETXBVTHlOQmVTeW1qS2JlM1h0blR4d2VpQnRUNnNVWTJidXg5Vk9BSkNIKzRtcmhZSVFuNU5mQ3phSmhQc2tsTWJSdWFUNGRBQ2RQY09NNHA3eVBCWHR3bGppc3JEZXEzVlJ4aEtTcjFocXRvejdQTVJzeFBOb1JJcVNhNEozSERpTlVEYjJIWC9KSE5ETThheWpGMTZ2MHNQcHFVOUhRSUw3TG9SbkdsN2YzUjFsczdXYkp1NXEwM2diRnJ1UkdFV25ReHlSNG5RQ1BNdE1OUjg2WSIsIm9yaWdpbiI6InhhaSJ9fQ\"}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":7,\"output_index\":1,\"item\":{\"type\":\"function_call\",\"id\":\"fc_1794960216510_ctv56z38mxp\",\"call_id\":\"call-27e2cbfd-469a-4466-9db8-113f0669661f-0\",\"name\":\"get_weather\",\"arguments\":\"\",\"status\":\"in_progress\"}}\n\nevent: response.function_call_arguments.delta\ndata: {\"type\":\"response.function_call_arguments.delta\",\"sequence_number\":8,\"item_id\":\"fc_1794960216510_ctv56z38mxp\",\"output_index\":1,\"delta\":\"{\\\"city\\\":\\\"Paris\\\"}\"}\n\nevent: response.function_call_arguments.done\ndata: {\"type\":\"response.function_call_arguments.done\",\"sequence_number\":9,\"item_id\":\"fc_1794960216510_ctv56z38mxp\",\"output_index\":1,\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":10,\"output_index\":1,\"item\":{\"type\":\"function_call\",\"id\":\"fc_1794960216510_ctv56z38mxp\",\"call_id\":\"call-27e2cbfd-469a-4466-9db8-113f0669661f-0\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"status\":\"completed\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":11,\"response\":{\"id\":\"gen_01M7NZEFZN8J0TVD6Y802B4VH3\",\"object\":\"response\",\"created_at\":1794960212,\"status\":\"completed\",\"completed_at\":1794960216,\"incomplete_details\":null,\"error\":null,\"output\":[{\"type\":\"reasoning\",\"id\":\"rs_b454d55b-87b4-9d30-aff9-8bfab3c076b4\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"\"}],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiJRR3g0ZG1OQ1VvUW1xSEQ3cW93Y3k1S3RuODdudHdQNDlnL1hwMEpSU1ZXTlZmK1FHdjV0UERSa3gzeWwvN05sTUxGN0FKcm43ZTlETXBVTHlOQmVTeW1qS2JlM1h0blR4d2VpQnRUNnNVWTJidXg5Vk9BSkNIKzRtcmhZSVFuNU5mQ3phSmhQc2tsTWJSdWFUNGRBQ2RQY09NNHA3eVBCWHR3bGppc3JEZXEzVlJ4aEtTcjFocXRvejdQTVJzeFBOb1JJcVNhNEozSERpTlVEYjJIWC9KSE5ETThheWpGMTZ2MHNQcHFVOUhRSUw3TG9SbkdsN2YzUjFsczdXYkp1NXEwM2diRnJ1UkdFV25ReHlSNG5RQ1BNdE1OUjg2WSIsIm9yaWdpbiI6InhhaSJ9fQ\"},{\"type\":\"function_call\",\"id\":\"fc_1794960216510_ctv56z38mxp\",\"call_id\":\"call-27e2cbfd-469a-4466-9db8-113f0669661f-0\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\",\"status\":\"completed\"}],\"usage\":{\"input_tokens\":1356,\"output_tokens\":45,\"total_tokens\":1401,\"input_tokens_details\":{\"cached_tokens\":1152},\"output_tokens_details\":{\"reasoning_tokens\":34}},\"model\":\"grok-4.7\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"default\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"provider_metadata\":{\"xai\":{\"costInUsdTicks\":12540000,\"serviceTier\":\"default\"},\"gateway\":{\"routing\":{\"originalModelId\":\"spacexai/grok-4.7\",\"resolvedProvider\":\"xai\",\"fallbacksAvailable\":[\"bedrock\",\"vertex\"],\"canonicalSlug\":\"xai/grok-4.7\",\"finalProvider\":\"xai\",\"modelAttemptCount\":1,\"modelAttempts\":[{\"canonicalSlug\":\"xai/grok-4.7\",\"success\":true,\"providerAttemptCount\":1,\"providerAttempts\":[{\"provider\":\"xai\",\"credentialType\":\"system\",\"success\":true,\"startTime\":1794960211999,\"endTime\":1794960216513,\"providerRequestId\":\"b454d55b-87b4-9d30-aff9-8bfab3c076b4\",\"statusCode\":200,\"providerResponseId\":\"b454d55b-87b4-9d30-aff9-8bfab3c076b4\"}]}],\"totalProviderAttemptCount\":1,\"clientSessionId\":\"a47cd177650917b88c4d443d7bd8be68\",\"clientSessionIdSource\":\"fingerprint\"},\"cost\":\"0.001254\",\"marketCost\":\"0.001254\",\"surchargeCost\":\"0\",\"gatewayCost\":\"0.001254\",\"inferenceCost\":\"0.001254\",\"inputInferenceCost\":\"0\",\"outputInferenceCost\":\"0.001254\",\"generationId\":\"gen_01M7NZEFZN8J0TVD6Y802B4VH3\"}}}}\n\n" } }, { @@ -35,14 +35,14 @@ "headers": { "content-type": "application/json" }, - "body": "{\"model\":\"spacexai/grok-4.7\",\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"reasoning\",\"id\":\"rs_49e377e8-18fe-9c93-bc42-e78bc06ef8c8\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"The user wants me to use the get_weather tool exactly once, then reply exactly \\\"Paris is sunny.\\\" after the tool result.\\n\"}],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiJmQmZoSmxEbkhOUXVzcDdFeDl1TTB6RGVPNExoVlVmK21BdldMZGwwSkk2bCtURjhwbXcxb091emVvVFRSUlBHLzJGd3JCVy9hM1g3NCtTRTAwSFlkd2I1Z1hnTXFTZHVNZ1cyZlJsVE12S3VEaGE1TWlEODRIYy8wSjZFdnRmS1JkcjU5TGpZL29mK01Qbk9RWi9Od0phOEFKb1pHZmVnUkx6cUVudlQ1eUM3dTNDYWsvZzFrWWNmR2xkNDNzVmJMVGZiSjJIaDh5SWlPNlEyOExGVUNBN3FmRzQzV2VqM1BDSzkvZnk1U29tTVN2NUk5ZkoxeU9jc3IwY2ZSUGNmeStBIiwib3JpZ2luIjoieGFpIn19\"},{\"type\":\"function_call\",\"id\":\"fc_1790912123226_i789hz8nb4\",\"call_id\":\"call-37a29db2-38ae-4f89-95ef-321aba43ee4e-0\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call-37a29db2-38ae-4f89-95ef-321aba43ee4e-0\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"},\"max_output_tokens\":2048,\"stream\":true}" + "body": "{\"model\":\"spacexai/grok-4.7\",\"input\":[{\"type\":\"message\",\"role\":\"developer\",\"content\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\"},{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Paris?\"}]},{\"type\":\"reasoning\",\"id\":\"rs_b454d55b-87b4-9d30-aff9-8bfab3c076b4\",\"summary\":[],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiJRR3g0ZG1OQ1VvUW1xSEQ3cW93Y3k1S3RuODdudHdQNDlnL1hwMEpSU1ZXTlZmK1FHdjV0UERSa3gzeWwvN05sTUxGN0FKcm43ZTlETXBVTHlOQmVTeW1qS2JlM1h0blR4d2VpQnRUNnNVWTJidXg5Vk9BSkNIKzRtcmhZSVFuNU5mQ3phSmhQc2tsTWJSdWFUNGRBQ2RQY09NNHA3eVBCWHR3bGppc3JEZXEzVlJ4aEtTcjFocXRvejdQTVJzeFBOb1JJcVNhNEozSERpTlVEYjJIWC9KSE5ETThheWpGMTZ2MHNQcHFVOUhRSUw3TG9SbkdsN2YzUjFsczdXYkp1NXEwM2diRnJ1UkdFV25ReHlSNG5RQ1BNdE1OUjg2WSIsIm9yaWdpbiI6InhhaSJ9fQ\"},{\"type\":\"function_call\",\"id\":\"fc_1794960216510_ctv56z38mxp\",\"call_id\":\"call-27e2cbfd-469a-4466-9db8-113f0669661f-0\",\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Paris\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call-27e2cbfd-469a-4466-9db8-113f0669661f-0\",\"output\":\"{\\\"temperature\\\":22,\\\"condition\\\":\\\"sunny\\\"}\"}],\"stream\":true,\"max_output_tokens\":2048,\"store\":false,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"low\"},\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}]}" }, "response": { "status": 200, "headers": { "content-type": "text/event-stream" }, - "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"gen_01M3XAWMDMFZPD7JDZ30E5D2VS\",\"object\":\"response\",\"created_at\":1790912128,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"xai/grok-4.7\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"gen_01M3XAWMDMFZPD7JDZ30E5D2VS\",\"object\":\"response\",\"created_at\":1790912128,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"xai/grok-4.7\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"summary\":[]}}\n\nevent: response.reasoning_summary_part.added\ndata: {\"type\":\"response.reasoning_summary_part.added\",\"sequence_number\":3,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"\"}}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":4,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\"The\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":5,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" user\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":6,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" asked\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":7,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" me\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":8,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" to\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":9,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" reply\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":10,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" exactly\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":11,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" \\\"\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":12,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\"Paris\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":13,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" is\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":14,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" sunny\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":15,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\".\\\"\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":16,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" after\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":17,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" the\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":18,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" tool\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":19,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" result\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":20,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\".\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":21,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" I\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":22,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" should\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":23,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" do\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":24,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\" that\"}\n\nevent: response.reasoning_summary_text.delta\ndata: {\"type\":\"response.reasoning_summary_text.delta\",\"sequence_number\":25,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"delta\":\".\"}\n\nevent: response.reasoning_summary_text.done\ndata: {\"type\":\"response.reasoning_summary_text.done\",\"sequence_number\":26,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"text\":\"The user asked me to reply exactly \\\"Paris is sunny.\\\" after the tool result. I should do that.\"}\n\nevent: response.reasoning_summary_part.done\ndata: {\"type\":\"response.reasoning_summary_part.done\",\"sequence_number\":27,\"item_id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"output_index\":0,\"summary_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"The user asked me to reply exactly \\\"Paris is sunny.\\\" after the tool result. I should do that.\"}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":28,\"output_index\":1,\"item\":{\"type\":\"message\",\"id\":\"msg_1790912129613_05dewmuzes0m\",\"status\":\"in_progress\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}]}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":29,\"item_id\":\"msg_1790912129613_05dewmuzes0m\",\"output_index\":1,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":30,\"item_id\":\"msg_1790912129613_05dewmuzes0m\",\"output_index\":1,\"content_index\":0,\"delta\":\"Paris\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":31,\"item_id\":\"msg_1790912129613_05dewmuzes0m\",\"output_index\":1,\"content_index\":0,\"delta\":\" is\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":32,\"item_id\":\"msg_1790912129613_05dewmuzes0m\",\"output_index\":1,\"content_index\":0,\"delta\":\" sunny\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":33,\"item_id\":\"msg_1790912129613_05dewmuzes0m\",\"output_index\":1,\"content_index\":0,\"delta\":\".\",\"logprobs\":[]}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":34,\"item_id\":\"msg_1790912129613_05dewmuzes0m\",\"output_index\":1,\"content_index\":0,\"text\":\"Paris is sunny.\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":35,\"item_id\":\"msg_1790912129613_05dewmuzes0m\",\"output_index\":1,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":36,\"output_index\":1,\"item\":{\"type\":\"message\",\"id\":\"msg_1790912129613_05dewmuzes0m\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}]}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":37,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"The user asked me to reply exactly \\\"Paris is sunny.\\\" after the tool result. I should do that.\"}],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiI0Z3pHK3I4cS8vdStsVS90bVordkp2Mi9JMkZBdGFEdHUvOUJ3a2R3cUNBeU5hdGlZQ0RNQmxQaFRpSTdpbTgxanpwVXI2c3BZRXpDNm9LUTV0NTljVG9NRlQwVG80MnZrakRjdFh6QUkxVDRocHZkc1k2ckRleGp4K0tMRXFSZ2ZvazNuRGp1Y1loZTBsZllMN3Z6bFh6ZHpqMW9DUWg4Z3ciLCJvcmlnaW4iOiJ4YWkifX0\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":38,\"response\":{\"id\":\"gen_01M3XAWMDMFZPD7JDZ30E5D2VS\",\"object\":\"response\",\"created_at\":1790912128,\"status\":\"completed\",\"completed_at\":1790912129,\"incomplete_details\":null,\"error\":null,\"output\":[{\"type\":\"reasoning\",\"id\":\"rs_f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"The user asked me to reply exactly \\\"Paris is sunny.\\\" after the tool result. I should do that.\"}],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiI0Z3pHK3I4cS8vdStsVS90bVordkp2Mi9JMkZBdGFEdHUvOUJ3a2R3cUNBeU5hdGlZQ0RNQmxQaFRpSTdpbTgxanpwVXI2c3BZRXpDNm9LUTV0NTljVG9NRlQwVG80MnZrakRjdFh6QUkxVDRocHZkc1k2ckRleGp4K0tMRXFSZ2ZvazNuRGp1Y1loZTBsZllMN3Z6bFh6ZHpqMW9DUWg4Z3ciLCJvcmlnaW4iOiJ4YWkifX0\"},{\"type\":\"message\",\"id\":\"msg_1790912129613_05dewmuzes0m\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}]}],\"usage\":{\"input_tokens\":1423,\"output_tokens\":26,\"total_tokens\":1449,\"input_tokens_details\":{\"cached_tokens\":1280},\"output_tokens_details\":{\"reasoning_tokens\":22}},\"model\":\"grok-4.7\",\"instructions\":\"Use the get_weather tool exactly once. After the tool result, reply exactly: Paris is sunny.\",\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"default\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"provider_metadata\":{\"xai\":{\"serviceTier\":\"default\"},\"gateway\":{\"routing\":{\"originalModelId\":\"spacexai/grok-4.7\",\"resolvedProvider\":\"xai\",\"fallbacksAvailable\":[],\"planningReasoning\":\"System credentials planned for: xai. Total execution order: xai(system)\",\"canonicalSlug\":\"xai/grok-4.7\",\"finalProvider\":\"xai\",\"modelAttemptCount\":1,\"modelAttempts\":[{\"canonicalSlug\":\"xai/grok-4.7\",\"success\":true,\"providerAttemptCount\":1,\"providerAttempts\":[{\"provider\":\"xai\",\"credentialType\":\"system\",\"success\":true,\"startTime\":1790912123342,\"endTime\":1790912129779,\"providerRequestId\":\"f77452f9-e227-9c49-9ba4-68ca0a11e020\",\"statusCode\":200,\"providerResponseId\":\"f77452f9-e227-9c49-9ba4-68ca0a11e020\"}]}],\"totalProviderAttemptCount\":1,\"affinity\":{\"outcome\":\"skipped_below_min_prefix\"},\"clientSessionId\":\"a47cd177650917b88c4d443d7bd8be68\",\"clientSessionIdSource\":\"fingerprint\"},\"cost\":\"0.001082\",\"marketCost\":\"0.001082\",\"surchargeCost\":\"0\",\"gatewayCost\":\"0.001082\",\"inferenceCost\":\"0.001082\",\"inputInferenceCost\":\"0.000926\",\"outputInferenceCost\":\"0.000156\",\"generationId\":\"gen_01M3XAWMDMFZPD7JDZ30E5D2VS\"}}}}\n\n" + "body": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"gen_01M7NZEMGD7RW7NKMD74R7280V\",\"object\":\"response\",\"created_at\":1794960216,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"xai/grok-4.7\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"gen_01M7NZEMGD7RW7NKMD74R7280V\",\"object\":\"response\",\"created_at\":1794960216,\"status\":\"in_progress\",\"completed_at\":null,\"incomplete_details\":null,\"error\":null,\"output\":[],\"usage\":{\"input_tokens\":0,\"output_tokens\":0,\"total_tokens\":0,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens_details\":{\"reasoning_tokens\":0}},\"model\":\"xai/grok-4.7\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"auto\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_91538590-4772-997f-9d3e-ea3a9e6920a3\",\"summary\":[]}}\n\nevent: response.reasoning_summary_part.added\ndata: {\"type\":\"response.reasoning_summary_part.added\",\"sequence_number\":3,\"item_id\":\"rs_91538590-4772-997f-9d3e-ea3a9e6920a3\",\"output_index\":0,\"summary_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"\"}}\n\nevent: response.reasoning_summary_text.done\ndata: {\"type\":\"response.reasoning_summary_text.done\",\"sequence_number\":4,\"item_id\":\"rs_91538590-4772-997f-9d3e-ea3a9e6920a3\",\"output_index\":0,\"summary_index\":0,\"text\":\"\"}\n\nevent: response.reasoning_summary_part.done\ndata: {\"type\":\"response.reasoning_summary_part.done\",\"sequence_number\":5,\"item_id\":\"rs_91538590-4772-997f-9d3e-ea3a9e6920a3\",\"output_index\":0,\"summary_index\":0,\"part\":{\"type\":\"summary_text\",\"text\":\"\"}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":6,\"output_index\":0,\"item\":{\"type\":\"reasoning\",\"id\":\"rs_91538590-4772-997f-9d3e-ea3a9e6920a3\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"\"}],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiJaS3Vpd2dKczF2dG8zV3oyZU11WGQ2cTBISHdhL2UwTmJpNTRIS3dZNkUwa0ttTmxhYTNoU00zZTA4OStBT1hTUmJSc1lXRnBTRXdoY1pueVhRVXBMRWJ3R2JGTFFxT200VG9ac1crbmNYcXdGUXJjaStaU0dyQm9vWGVVMVdwKzhreFo1VzlNSEdyczBoUFBEVVVWT3daZFVQT3UzMEdaVFgzNDhXSkpXQUZaRW9UbUlGU2x6YTlDQ3c0Iiwib3JpZ2luIjoieGFpIn19\"}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":7,\"output_index\":1,\"item\":{\"type\":\"message\",\"id\":\"msg_1794960221277_nje06nvf4sd\",\"status\":\"in_progress\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}]}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":8,\"item_id\":\"msg_1794960221277_nje06nvf4sd\",\"output_index\":1,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":9,\"item_id\":\"msg_1794960221277_nje06nvf4sd\",\"output_index\":1,\"content_index\":0,\"delta\":\"Paris\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":10,\"item_id\":\"msg_1794960221277_nje06nvf4sd\",\"output_index\":1,\"content_index\":0,\"delta\":\" is\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":11,\"item_id\":\"msg_1794960221277_nje06nvf4sd\",\"output_index\":1,\"content_index\":0,\"delta\":\" sunny\",\"logprobs\":[]}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":12,\"item_id\":\"msg_1794960221277_nje06nvf4sd\",\"output_index\":1,\"content_index\":0,\"delta\":\".\",\"logprobs\":[]}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":13,\"item_id\":\"msg_1794960221277_nje06nvf4sd\",\"output_index\":1,\"content_index\":0,\"text\":\"Paris is sunny.\",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":14,\"item_id\":\"msg_1794960221277_nje06nvf4sd\",\"output_index\":1,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":15,\"output_index\":1,\"item\":{\"type\":\"message\",\"id\":\"msg_1794960221277_nje06nvf4sd\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}]}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":16,\"response\":{\"id\":\"gen_01M7NZEMGD7RW7NKMD74R7280V\",\"object\":\"response\",\"created_at\":1794960216,\"status\":\"completed\",\"completed_at\":1794960221,\"incomplete_details\":null,\"error\":null,\"output\":[{\"type\":\"reasoning\",\"id\":\"rs_91538590-4772-997f-9d3e-ea3a9e6920a3\",\"summary\":[{\"type\":\"summary_text\",\"text\":\"\"}],\"encrypted_content\":\"gwenc1.eyJvIjp7ImNvbnRlbnQiOiJaS3Vpd2dKczF2dG8zV3oyZU11WGQ2cTBISHdhL2UwTmJpNTRIS3dZNkUwa0ttTmxhYTNoU00zZTA4OStBT1hTUmJSc1lXRnBTRXdoY1pueVhRVXBMRWJ3R2JGTFFxT200VG9ac1crbmNYcXdGUXJjaStaU0dyQm9vWGVVMVdwKzhreFo1VzlNSEdyczBoUFBEVVVWT3daZFVQT3UzMEdaVFgzNDhXSkpXQUZaRW9UbUlGU2x6YTlDQ3c0Iiwib3JpZ2luIjoieGFpIn19\"},{\"type\":\"message\",\"id\":\"msg_1794960221277_nje06nvf4sd\",\"status\":\"completed\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Paris is sunny.\",\"annotations\":[],\"logprobs\":[]}]}],\"usage\":{\"input_tokens\":1419,\"output_tokens\":21,\"total_tokens\":1440,\"input_tokens_details\":{\"cached_tokens\":1280},\"output_tokens_details\":{\"reasoning_tokens\":17}},\"model\":\"grok-4.7\",\"instructions\":null,\"previous_response_id\":null,\"temperature\":1,\"top_p\":1,\"max_output_tokens\":2048,\"presence_penalty\":0,\"frequency_penalty\":0,\"top_logprobs\":0,\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get current weather for a city.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}},\"required\":[\"city\"],\"additionalProperties\":false},\"strict\":false}],\"tool_choice\":\"auto\",\"parallel_tool_calls\":true,\"max_tool_calls\":null,\"text\":{\"format\":{\"type\":\"text\"}},\"truncation\":\"disabled\",\"reasoning\":{\"effort\":\"low\"},\"store\":false,\"background\":false,\"service_tier\":\"default\",\"metadata\":{},\"safety_identifier\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"provider_metadata\":{\"xai\":{\"costInUsdTicks\":10440000,\"serviceTier\":\"default\"},\"gateway\":{\"routing\":{\"originalModelId\":\"spacexai/grok-4.7\",\"resolvedProvider\":\"xai\",\"fallbacksAvailable\":[\"bedrock\",\"vertex\"],\"canonicalSlug\":\"xai/grok-4.7\",\"finalProvider\":\"xai\",\"modelAttemptCount\":1,\"modelAttempts\":[{\"canonicalSlug\":\"xai/grok-4.7\",\"success\":true,\"providerAttemptCount\":1,\"providerAttempts\":[{\"provider\":\"xai\",\"credentialType\":\"system\",\"success\":true,\"startTime\":1794960216618,\"endTime\":1794960221326,\"providerRequestId\":\"91538590-4772-997f-9d3e-ea3a9e6920a3\",\"statusCode\":200,\"providerResponseId\":\"91538590-4772-997f-9d3e-ea3a9e6920a3\"}]}],\"totalProviderAttemptCount\":1,\"clientSessionId\":\"a47cd177650917b88c4d443d7bd8be68\",\"clientSessionIdSource\":\"fingerprint\"},\"cost\":\"0.001044\",\"marketCost\":\"0.001044\",\"surchargeCost\":\"0\",\"gatewayCost\":\"0.001044\",\"inferenceCost\":\"0.001044\",\"inputInferenceCost\":\"0\",\"outputInferenceCost\":\"0.001044\",\"generationId\":\"gen_01M7NZEMGD7RW7NKMD74R7280V\"}}}}\n\n" } } ] diff --git a/packages/ai/test/http-timeout.test.ts b/packages/ai/test/http-timeout.test.ts index fdd12d381c69..28037655f01e 100644 --- a/packages/ai/test/http-timeout.test.ts +++ b/packages/ai/test/http-timeout.test.ts @@ -1,18 +1,22 @@ import { describe, expect } from "bun:test" -import { Deferred, Effect, Fiber } from "effect" +import { Deferred, Effect, Fiber, Layer, Redacted, Stream } from "effect" import * as TestClock from "effect/testing/TestClock" -import { ai } from "../src/effect.js" -import { LLMClient, mergeTransport } from "../src/route.js" -import { configure } from "../src/providers/openai.js" -import { dynamicResponse } from "./lib/http.js" +import { ai, AIClient, type AIError, Media } from "../src/effect.js" +import { Realtime } from "../src/experimental.js" +import { LLMClient, mergeTransport, RequestExecutor } from "../src/route.js" +import { AssemblyAI, BytePlus, OpenAI } from "../src/providers.js" +import { dynamicResponse, handlerLayer } from "./lib/http.js" import { deltaChunk, finishChunk } from "./lib/openai-chunks.js" import { sseEvents, sseRaw } from "./lib/sse.js" import { it } from "./lib/effect.js" -const model = configure({ baseURL: "https://api.openai.test/v1/", apiKey: "test" }).chat("gpt-4.1-mini") +const openai = OpenAI.configure({ baseURL: "https://api.openai.test/v1/", apiKey: "test" }) +const model = openai.chat("gpt-4.1-mini") +const video = BytePlus.configure({ baseURL: "https://api.byteplus.test/v3", apiKey: "test" }).video("seedance-1-5") const SSE = { headers: { "content-type": "text/event-stream" } } const silentServer = dynamicResponse(() => Effect.never) +const silentClients = AIClient.layerWith(RequestExecutor.layer.pipe(Layer.provide(handlerLayer(() => Effect.never)))) const slowHeadersServer = dynamicResponse((input) => Effect.sleep("10 minutes").pipe( @@ -171,4 +175,112 @@ describe("HTTP transport timeouts", () => { expect(mergeTransport({}, undefined)).toEqual({}) }), ) + + it.effect("applies provider-configured timeouts to every API method", () => + Effect.gen(function* () { + const timeout = { headers: 1_000 } + const timedOpenAI = OpenAI.configure({ baseURL: "https://api.openai.test/v1/", apiKey: "test", timeout }) + const timedVideo = BytePlus.configure({ baseURL: "https://api.byteplus.test/v3", apiKey: "test", timeout }).video( + "seedance-1-5", + ) + const timedTranscription = AssemblyAI.configure({ + baseURL: "https://assemblyai.test", + apiKey: "test", + timeout, + }).transcription("universal-2") + const audio = Media.bytes(Uint8Array.from([0x49, 0x44, 0x33, 1, 2, 3]), "audio/mpeg") + const image = timedOpenAI.image("gpt-image-2") + const chat = { model: timedOpenAI.chat("gpt-4.1-mini"), prompt: "Hello" } + const drain = (stream: Stream.Stream) => Stream.runDrain(stream) + + // Every callable method on `ai` must be listed here (as a provider call or a local helper), so a new method + // cannot ship without timeout coverage. + const calls: Record> = { + generate: ai.generate(chat), + stream: drain(ai.stream(chat)), + loop: drain(ai.loop(chat)), + compact: ai.compact(ai.request({ model: timedOpenAI.responses("gpt-5"), prompt: "Hello" })), + "image.generate": ai.image.generate({ model: image, prompt: "A kite" }), + "image.stream": drain(ai.image.stream({ model: image, prompt: "A kite" })), + "image.start": ai.image.start({ model: image, prompt: "A kite" }), + "image.status": ai.image.status(image, "job"), + "image.result": ai.image.result(image, "job"), + "image.cancel": ai.image.cancel(image, "job"), + "decision.generate": ai.decision.generate({ + model: timedOpenAI.decision("gpt-6-luna"), + input: "hello", + questions: [{ name: "greeting", type: "choice", instructions: "Greeting?", choices: [{ value: true }] }], + }), + "embedding.generate": ai.embedding.generate({ + model: timedOpenAI.embedding("text-embedding-3-small"), + values: ["hello"], + }), + "video.start": ai.video.start({ model: timedVideo, prompt: "A kite" }), + "video.status": ai.video.status(timedVideo, "job"), + "video.result": ai.video.result(timedVideo, "job"), + "video.cancel": ai.video.cancel(timedVideo, "job"), + "experimental.speech.generate": ai.experimental.speech.generate({ + model: timedOpenAI.speech("gpt-4o-mini-tts"), + text: "Hello", + }), + "experimental.speech.stream": drain( + ai.experimental.speech.stream({ model: timedOpenAI.speech("gpt-4o-mini-tts"), text: "Hello" }), + ), + "experimental.transcription.generate": ai.experimental.transcription.generate({ + model: timedTranscription, + audio, + }), + "experimental.transcription.stream": drain( + ai.experimental.transcription.stream({ model: timedTranscription, audio }), + ), + "experimental.transcription.start": ai.experimental.transcription.start({ model: timedTranscription, audio }), + "experimental.transcription.resume": ai.experimental.transcription.resume(timedTranscription, { + transcriptID: "tr_1", + }), + } + const local = [ + "request", + "collect", + "canCompact", + "image.request", + "decision.request", + "embedding.request", + "video.request", + "experimental.speech.request", + "experimental.transcription.request", + ] + const listMethods = (value: object, prefix = ""): Array => + Object.entries(value).flatMap(([key, entry]) => { + if (typeof entry === "function") return [`${prefix}${key}`] + if (typeof entry === "object" && entry !== null) return listMethods(entry, `${prefix}${key}.`) + return [] + }) + expect(listMethods(ai).toSorted()).toEqual([...Object.keys(calls), ...local].toSorted()) + + const check = (effect: Effect.Effect) => + Effect.gen(function* () { + const fiber = yield* effect.pipe( + Effect.provide(silentClients), + Effect.flip, + Effect.forkChild({ startImmediately: true }), + ) + // Retried status/result reads make up to 9 attempts with exponential backoff (< 4 min total, still under + // the 5 min default header timeout), so finishing here proves the 1 s configured timeout applied. + for (let i = 0; i < 240 && fiber.pollUnsafe() === undefined; i++) yield* TestClock.adjust("1 second") + const error = yield* Fiber.join(fiber) + if (error.reason._tag === "UnsupportedOperation") return + expect(error.reason).toMatchObject({ _tag: "Transport", operation: "request", code: "Timeout" }) + }) + + for (const effect of Object.values(calls)) yield* check(effect) + yield* check( + Realtime.connect({ + model: "gpt-realtime", + apiKey: Redacted.make("test"), + transport: { type: "websocket" }, + timeout, + }), + ) + }), + ) }) diff --git a/packages/ai/test/lib/http.ts b/packages/ai/test/lib/http.ts index 35e30fef94a8..36b750869eeb 100644 --- a/packages/ai/test/lib/http.ts +++ b/packages/ai/test/lib/http.ts @@ -40,8 +40,11 @@ export const json = (input: HandlerInput, value: unknown, init?: ResponseInit) = /** Fork the polling program, let the test clock cover `seconds` of polling, and join. */ export const settle = (program: Effect.Effect, seconds: number) => Effect.gen(function* () { - const fiber = yield* Effect.forkChild(program) - yield* TestClock.adjust(`${seconds} seconds`) + const fiber = yield* Effect.forkChild(program, { startImmediately: true }) + for (let i = 0; i < seconds && fiber.pollUnsafe() === undefined; i++) { + yield* TestClock.withLive(Effect.sleep("1 millis")) + yield* TestClock.adjust("1 second") + } return yield* Fiber.join(fiber) }) diff --git a/packages/ai/test/minimax-video.test.ts b/packages/ai/test/minimax-video.test.ts index d33cebfd85ca..7eca8d2944f8 100644 --- a/packages/ai/test/minimax-video.test.ts +++ b/packages/ai/test/minimax-video.test.ts @@ -129,10 +129,13 @@ describe("MiniMax Video / H3 start", () => { }), ) - it.effect("leaves resolution, duration and ratio unset for MiniMax to require", () => + it.effect("defaults a text-only ratio to 16:9 and leaves resolution and duration unset", () => Effect.gen(function* () { - const requests = yield* sent([{ model: h3 }]) - expect(requests[0].body).toEqual({ model: "MiniMax-H3-Lite", content: [{ type: "text", text: "test" }] }) + const requests = yield* sent([{ model: h3 }, { model: h3, aspect: "auto" }]) + expect(requests.map((request) => request.body)).toEqual([ + { model: "MiniMax-H3-Lite", content: [{ type: "text", text: "test" }], ratio: "16:9" }, + { model: "MiniMax-H3-Lite", content: [{ type: "text", text: "test" }], ratio: "16:9" }, + ]) }), ) diff --git a/packages/ai/test/provider/checkpoint.test.ts b/packages/ai/test/provider/checkpoint.test.ts index 7838ee78095d..25bf852ece8d 100644 --- a/packages/ai/test/provider/checkpoint.test.ts +++ b/packages/ai/test/provider/checkpoint.test.ts @@ -26,7 +26,6 @@ testEffect( model: "fixture", stream: true, store: true, - instructions: "Keep the context", parallel_tool_calls: false, prompt_cache_key: "session-key", service_tier: "priority", @@ -37,8 +36,13 @@ testEffect( text: { verbosity: "high", format: { type: "json_object" } }, prompt_cache_retention: "24h", prompt_cache_options: { mode: "session", ttl: "1h" }, - input: [{ role: "user", content: [{ type: "input_text", text: "hello" }] }, { type: "compaction_trigger" }], + input: [ + { role: "developer", content: "Keep the context" }, + { role: "user", content: [{ type: "input_text", text: "hello" }] }, + { type: "compaction_trigger" }, + ], }) + expect(body.instructions).toBeUndefined() expect(body.tools).toHaveLength(1) expect(body.tools[0].name).toBe("lookup") expect(body.max_output_tokens).toBeUndefined() diff --git a/packages/ai/test/provider/conversation-lowering.test.ts b/packages/ai/test/provider/conversation-lowering.test.ts index 033cde58c5c8..0cfb085f695f 100644 --- a/packages/ai/test/provider/conversation-lowering.test.ts +++ b/packages/ai/test/provider/conversation-lowering.test.ts @@ -21,8 +21,8 @@ it.effect("conversation lowering excludes generation settings and tool definitio ) expect(body).toEqual({ model: "fixture", - instructions: "Keep the context", input: [ + { type: "message", role: "developer", content: "Keep the context" }, { type: "message", role: "user", content: [{ type: "input_text", text: "hello" }] }, { type: "message", role: "assistant", status: "completed", content: [{ type: "output_text", text: "hi" }] }, ], diff --git a/packages/ai/test/provider/explicit-compaction.test.ts b/packages/ai/test/provider/explicit-compaction.test.ts index ea09f03abd2d..a74bf45281d3 100644 --- a/packages/ai/test/provider/explicit-compaction.test.ts +++ b/packages/ai/test/provider/explicit-compaction.test.ts @@ -32,7 +32,10 @@ testEffect( if (new URL(request.url).pathname.endsWith("/compact")) { expect(JSON.parse(text)).toEqual({ model: "overlaid", - input: [{ type: "message", role: "user", content: [{ type: "input_text", text: "hello" }] }], + input: [ + { type: "message", role: "developer", content: "system instructions" }, + { type: "message", role: "user", content: [{ type: "input_text", text: "hello" }] }, + ], instructions: "request instructions", previous_response_id: "resp_previous", }) @@ -112,8 +115,7 @@ for (const model of [ expect(new URL(request.url).pathname).toEndWith("/responses/compact") expect(JSON.parse(text)).toEqual({ model: "fixture", - input: [item], - instructions: "Keep the context", + input: [{ type: "message", role: "developer", content: "Keep the context" }, item], include: ["reasoning.encrypted_content"], }) return respond(JSON.stringify({ object: "response.compaction", output: [checkpoint] })) @@ -422,15 +424,21 @@ for (const model of [ if (new URL(request.url).pathname.endsWith("/responses/compact")) { expect(body).toEqual({ model: model.id, - input: [{ type: "message", role: "user", content: [{ type: "input_text", text: "original" }] }], - instructions: "system", + input: [ + { type: "message", role: "developer", content: "system" }, + { type: "message", role: "user", content: [{ type: "input_text", text: "original" }] }, + ], include: ["reasoning.encrypted_content"], ...(model.id === "gpt-5.3-codex" ? { reasoning: { effort: "medium", summary: "auto" } } : {}), }) return respond( JSON.stringify({ object: "response.compaction", - output, + // `/compact` echoes the leading developer message; the replay leads with its own instead. + output: [ + { type: "message", role: "developer", content: [{ type: "input_text", text: "system" }] }, + ...output, + ], usage: { input_tokens: 1000, output_tokens: 10, total_tokens: 1010 }, }), { headers: { "content-type": "application/json" } }, @@ -438,6 +446,7 @@ for (const model of [ } expect(new URL(request.url).pathname.endsWith("/responses")).toBe(true) expect(body.input).toEqual([ + { type: "message", role: "developer", content: "system" }, ...output, { type: "message", role: "user", content: [{ type: "input_text", text: "continue" }] }, ]) diff --git a/packages/ai/test/provider/openai-compatible-responses.test.ts b/packages/ai/test/provider/openai-compatible-responses.test.ts index b05858e1011c..91cf975e66bd 100644 --- a/packages/ai/test/provider/openai-compatible-responses.test.ts +++ b/packages/ai/test/provider/openai-compatible-responses.test.ts @@ -47,8 +47,10 @@ describe("Open Responses-compatible route", () => { }) expect(prepared.body).toEqual({ model: "example-model", - input: [{ type: "message", role: "user", content: [{ type: "input_text", text: "Say hello." }] }], - instructions: "You are concise.", + input: [ + { type: "message", role: "developer", content: "You are concise." }, + { type: "message", role: "user", content: [{ type: "input_text", text: "Say hello." }] }, + ], stream: true, store: false, include: ["reasoning.encrypted_content"], @@ -87,8 +89,9 @@ describe("Open Responses-compatible route", () => { }), ) - expect(prepared.body.instructions).toBe("Initial instructions.") + expect(prepared.body).not.toHaveProperty("instructions") expect(prepared.body.input).toEqual([ + { type: "message", role: "developer", content: "Initial instructions." }, { type: "message", role: "user", content: [{ type: "input_text", text: "Before." }] }, { type: "message", role: "developer", content: "Operator update." }, { type: "message", role: "assistant", status: "completed", content: [{ type: "output_text", text: "After." }] }, diff --git a/packages/ai/test/provider/openai-responses-cache.recorded.test.ts b/packages/ai/test/provider/openai-responses-cache.recorded.test.ts index 915ded54fa55..dcb989befaca 100644 --- a/packages/ai/test/provider/openai-responses-cache.recorded.test.ts +++ b/packages/ai/test/provider/openai-responses-cache.recorded.test.ts @@ -24,6 +24,17 @@ const cacheRequest = ai.request({ promptCacheKey: "recorded-cache-test", }) +// GPT-6.2 never caches top-level `instructions`; a system prompt this size caches only as a developer message. +const frontierRequest = ai.request({ + id: "recorded_openai_responses_cache_gpt_6_2", + model: OpenAI.configure({ apiKey: process.env.OPENAI_API_KEY ?? "fixture" }).responses("gpt-6.2-sol"), + system: LARGE_CACHEABLE_SYSTEM, + prompt: "Say hi.", + maxTokens: 64, + promptCacheKey: "recorded-cache-test-gpt-6-2", + providerOptions: { reasoningEffort: "low" }, +}) + const recorded = recordedTests({ prefix: "openai-responses-cache", provider: "openai", @@ -44,4 +55,14 @@ describe("OpenAI Responses cache recorded", () => { expect(second.usage?.cacheReadInputTokens ?? 0).toBeGreaterThan(0) }), ) + + recorded.effect.with("caches the system prompt on gpt-6.2-sol", { tags: ["cache"] }, () => + Effect.gen(function* () { + const first = yield* LLMClient.generate(frontierRequest) + expect(first.usage?.cacheWriteInputTokens ?? 0).toBeGreaterThan(1024) + + const second = yield* LLMClient.generate(frontierRequest) + expect(second.usage?.cacheReadInputTokens ?? 0).toBeGreaterThan(1024) + }), + ) }) diff --git a/packages/ai/test/provider/openai-responses-websocket.recorded.test.ts b/packages/ai/test/provider/openai-responses-websocket.recorded.test.ts index a22598bdfd8c..c85b508875eb 100644 --- a/packages/ai/test/provider/openai-responses-websocket.recorded.test.ts +++ b/packages/ai/test/provider/openai-responses-websocket.recorded.test.ts @@ -143,8 +143,9 @@ describe("OpenAI Responses WebSocket recorded", () => { expect(second.text).toBe("Paris is sunny.") expect(channel.opens()).toBe(1) expect(channel.sent).toHaveLength(2) + // The system prompt leads the first send's input, so the continuation does not repeat it. + expect(channel.sent[1]).not.toHaveProperty("instructions") expect(channel.sent[1]).toMatchObject({ - instructions: "Call get_weather once, then reply exactly: Paris is sunny.", previous_response_id: expect.any(String), input: [{ type: "function_call_output", call_id: call.id, output: expect.any(String) }], }) @@ -173,8 +174,8 @@ describe("OpenAI Responses WebSocket recorded", () => { expect(second.text).toBe("Beta.") expect(channel.opens()).toBe(2) expect(channel.sent[1]).not.toHaveProperty("previous_response_id") - expect(channel.sent[1]).toMatchObject({ instructions: "Follow the user's exact reply instruction." }) expect(conversation(channel.sent[1])).toMatchObject([ + { type: "message", role: "developer", content: "Follow the user's exact reply instruction." }, { type: "message", role: "user", content: [{ type: "input_text", text: "Reply exactly: Alpha." }] }, { role: "assistant", status: "completed", content: [{ type: "output_text", text: "Alpha." }] }, { type: "message", role: "user", content: [{ type: "input_text", text: "Reply exactly: Beta." }] }, @@ -209,8 +210,8 @@ describe("OpenAI Responses WebSocket recorded", () => { expect(channel.opens()).toBe(2) expect(channel.sent[1]).toHaveProperty("previous_response_id", expect.any(String)) expect(channel.sent[2]).not.toHaveProperty("previous_response_id") - expect(channel.sent[2]).toMatchObject({ instructions: "Follow the user's exact reply instruction." }) expect(conversation(channel.sent[2])).toMatchObject([ + { type: "message", role: "developer", content: "Follow the user's exact reply instruction." }, { type: "message", role: "user", content: [{ type: "input_text", text: "Reply exactly: Ready." }] }, { role: "assistant", status: "completed", content: [{ type: "output_text", text: "Ready." }] }, { type: "message", role: "user", content: [{ type: "input_text", text: "Reply exactly: Recovered." }] }, diff --git a/packages/ai/test/provider/openai-responses.test.ts b/packages/ai/test/provider/openai-responses.test.ts index ec445aa0d284..9b17b8615f14 100644 --- a/packages/ai/test/provider/openai-responses.test.ts +++ b/packages/ai/test/provider/openai-responses.test.ts @@ -128,8 +128,10 @@ describe("OpenAI Responses route", () => { expect(prepared.body).toEqual({ model: "gpt-4.1-mini", - input: [{ type: "message", role: "user", content: [{ type: "input_text", text: "Say hello." }] }], - instructions: "You are concise.", + input: [ + { type: "message", role: "developer", content: "You are concise." }, + { type: "message", role: "user", content: [{ type: "input_text", text: "Say hello." }] }, + ], store: false, include: ["reasoning.encrypted_content"], stream: true, @@ -719,6 +721,56 @@ describe("OpenAI Responses route", () => { }), ) + it.effect("continues a custom tool call from completed response output", () => + Effect.gen(function* () { + const firstRequest = { + type: "response.create", + model: "gpt-6-astra", + store: false, + input: [{ type: "message", role: "user", content: [{ type: "input_text", text: "Run it." }] }], + } + const first = continuationDriver(firstRequest) + const firstCreate = yield* first.create(undefined) + const saved = checkpoint( + yield* first.observe( + firstCreate, + ProviderShared.encodeJson({ + type: "response.completed", + response: { + id: "resp_1", + output: [ + { + type: "custom_tool_call", + id: "ctc_1", + status: "completed", + call_id: "call_1", + name: "run", + input: "ls", + }, + ], + }, + }), + ), + ) + const second = continuationDriver({ + ...firstRequest, + input: [ + ...firstRequest.input, + { type: "custom_tool_call", call_id: "call_1", name: "run", input: "ls" }, + { type: "custom_tool_call_output", call_id: "call_1", output: "a.txt" }, + ], + }) + + const create = yield* second.create(saved) + + expect(create.mode).toBe("incremental") + expect(ProviderShared.decodeJson(create.message)).toMatchObject({ + previous_response_id: "resp_1", + input: [{ type: "custom_tool_call_output", call_id: "call_1", output: "a.txt" }], + }) + }), + ) + it.effect("continues a promoted steer after assistant output with response-only text metadata", () => Effect.forEach([undefined, []], (output) => Effect.gen(function* () { @@ -2005,9 +2057,10 @@ describe("OpenAI Responses route", () => { }), ) + expect(prepared.body).not.toHaveProperty("instructions") expect(prepared.body).toMatchObject({ - instructions: "You are concise. Continue from the provided history.", input: [ + { type: "message", role: "developer", content: "You are concise. Continue from the provided history." }, { type: "message", role: "user", diff --git a/packages/ai/test/provider/xai-responses.test.ts b/packages/ai/test/provider/xai-responses.test.ts index 613bcbc75706..1646fc7fdaf4 100644 --- a/packages/ai/test/provider/xai-responses.test.ts +++ b/packages/ai/test/provider/xai-responses.test.ts @@ -287,9 +287,9 @@ describe("xAI Responses route", () => { const unstored = yield* send(false, yield* completed(yield* channelDriver(step(false, "First")), "resp_1")) expect(unstored.mode).toBe("full") expect(JSON.parse(unstored.message)).toMatchObject({ - instructions: "You are terse.", store: false, input: [ + { type: "message", role: "developer", content: "You are terse." }, { type: "message", role: "user", content: [{ type: "input_text", text: "First" }] }, { type: "message", role: "user", content: [{ type: "input_text", text: "Second" }] }, ], diff --git a/packages/ai/test/transcription.test.ts b/packages/ai/test/transcription.test.ts index 730902637c58..ec2ab8c8eb29 100644 --- a/packages/ai/test/transcription.test.ts +++ b/packages/ai/test/transcription.test.ts @@ -1,12 +1,11 @@ import { describe, expect } from "bun:test" -import { Effect, Fiber, Layer, Stream } from "effect" -import * as TestClock from "effect/testing/TestClock" +import { Effect, Layer, Stream } from "effect" import { HttpClientRequest } from "effect/http" import { Media } from "../src/effect.js" import { Transcription, TranscriptionClient, type TranscriptionEvent } from "../src/experimental.js" import { AssemblyAI, Deepgram, ElevenLabs, Google, OpenAI } from "../src/providers.js" import { it } from "./lib/effect.js" -import { dynamicResponse, json, observe, type Call } from "./lib/http.js" +import { dynamicResponse, json, observe, settle, type Call } from "./lib/http.js" import { sseEvents } from "./lib/sse.js" const layer = (handler: Parameters[0]) => @@ -408,9 +407,7 @@ describe("Transcription", () => { ), ) - const fiber = yield* Effect.forkChild(program) - yield* TestClock.adjust("5 seconds") - const { response, failure } = yield* Fiber.join(fiber) + const { response, failure } = yield* settle(program, 5) expect(calls.slice(0, 2).map((call) => [call.method, call.url, call.auth])).toEqual([ ["POST", "https://assemblyai.test/v2/upload", "aai-key"], diff --git a/packages/ai/test/video.test.ts b/packages/ai/test/video.test.ts index 931a40b0540e..77911b784e32 100644 --- a/packages/ai/test/video.test.ts +++ b/packages/ai/test/video.test.ts @@ -386,7 +386,9 @@ describe("ai.video / transient read failures", () => { ), ), ), + { startImmediately: true }, ) + yield* TestClock.withLive(Effect.sleep("1 millis")) yield* TestClock.adjust("9 seconds") expect(calls).toHaveLength(1) yield* TestClock.adjust("1 second") diff --git a/packages/app/component-tests/composer.spec.ts b/packages/app/component-tests/composer.spec.ts index 974cd7824979..3fb3fde481d1 100644 --- a/packages/app/component-tests/composer.spec.ts +++ b/packages/app/component-tests/composer.spec.ts @@ -216,7 +216,8 @@ story( await input.fill("") await input.press("ArrowUp") await expect(input).toHaveText("Explain the latest changes") - await input.press("ControlOrMeta+u") + await component.getByRole("button", { name: "Add images and files", exact: true }).click() + await page.getByRole("menuitem", { name: /^Images and files/ }).click() await input.press("ArrowDown") await expect(input).toBeEmpty() }, diff --git a/packages/app/component-tests/plugin-host.fixture.tsx b/packages/app/component-tests/plugin-host.fixture.tsx index 6379e61a78af..a83d3bb76614 100644 --- a/packages/app/component-tests/plugin-host.fixture.tsx +++ b/packages/app/component-tests/plugin-host.fixture.tsx @@ -1,5 +1,6 @@ import type { PluginInfo, SessionMessageInfo } from "@opencode/client/promise" import { DialogProvider, useDialog } from "@opencode/ui/context/dialog" +import { Icon } from "@opencode/ui/icon" import { Menu } from "@opencode/ui/menu" import { Toast } from "@opencode/ui/toast" import { @@ -828,6 +829,22 @@ export function mountComposerPills(input: { definitions: readonly Entry[] }) { } } +/** Mounts the app's own icon component outside every plugin and host, as any part of the app draws an icon by name. */ +export function mountAppIcon(name: string) { + const container = document.createElement("div") + container.dataset.testid = "app-icon" + document.body.appendChild(container) + + const dispose = render(() => , container) + + return { + unmount: () => { + dispose() + container.remove() + }, + } +} + /** * Mounts the real host and one message's production Markdown inside the session screen's `PluginLinks`, for a session * whose directory is `/repo`. `show(text, streaming)` replaces the message as a stream does; `define` replaces the diff --git a/packages/app/component-tests/plugin-host.spec.ts b/packages/app/component-tests/plugin-host.spec.ts index 3a5fb6b5b4f5..5dc395284eae 100644 --- a/packages/app/component-tests/plugin-host.spec.ts +++ b/packages/app/component-tests/plugin-host.spec.ts @@ -9,6 +9,7 @@ import type { Live, SessionRef, SessionScreen, + SetupContext, } from "@opencode/plugin/gui" import type { BuiltinPanelTab } from "@opencode/plugin/gui/builtin" import type { Bridge, BridgeMessage, EnableState, Installed } from "@opencode/plugin/gui/host" @@ -2041,7 +2042,7 @@ story("composer pills show per session, open their rows, and fail only their own await expect(page.locator("body")).toHaveAttribute("data-picked", "12") }) -story("a composer pill with a menu opens the plugin's content under the host's heading", async ({ page }) => { +story("a composer pill with a menu opens only the plugin's content, named by the view", async ({ page }) => { await page.evaluate(async (fixture) => { const { mountComposerPills, until, ComposerPill } = await import(fixture) @@ -2077,7 +2078,9 @@ story("a composer pill with a menu opens the plugin's content under the host's h await pill.click() const popover = page.locator('[data-slot="session-plugin-pill-popover"]') - await expect(popover.getByText("Ship the release")).toBeVisible() + // The popover is the plugin's alone: the title names it but the host draws no heading. + await expect(popover).toHaveAttribute("aria-label", "Ship the release") + await expect(popover.getByText("Ship the release")).toHaveCount(0) await expect(popover.locator('[data-slot="session-plugin-pill-row"]')).toHaveCount(0) await expect(popover.getByTestId("goal-pause")).toHaveText("Pause /repo") @@ -2089,6 +2092,100 @@ story("a composer pill with a menu opens the plugin's content under the host's h await expect(page.getByTestId("goal-pause")).toBeVisible() }) +story( + "a plugin's declared icons draw by name in SDK fields and in the app, move, and leave with the plugin", + async ({ page }) => { + await page.evaluate(async (fixture) => { + const { mountComposerPills, until, ComposerPill, createSignal } = await import(fixture) + const [round, setRound] = createSignal(1) + document.body.addEventListener("next-round", () => setRound(round() + 1)) + + const host = mountComposerPills({ + definitions: [ + { + id: "acme", + // Its core pulses; the first frame is the resting drawing. + icons: { + goal: ` + + + + + `, + }, + windowEntry: async () => ({ + default: (ctx: SetupContext<{ readonly icons: { readonly goal: string } }>) => + void ctx.add(ComposerPill, { + id: "goal", + show: () => ({ label: `Round ${round()}`, icon: ctx.icons.goal, tone: "warning" }), + }), + }), + }, + // A declared icon that is not an SVG document fails its own plugin before setup. + { + id: "broken", + icons: { bad: "not an svg" }, + windowEntry: async () => ({ default: () => void (document.body.dataset.brokenSetup = "ran") }), + }, + ], + }) + + document.body.addEventListener("leave", () => host.unmount()) + await until(() => host.status("acme") === "active" && host.status("broken") === "failed") + document.body.dataset.broken = host.failure("broken")?.error + }, fixture) + + await expect(page.locator("body")).toHaveAttribute("data-broken", /Icon "broken:bad" is not an SVG document/) + expect(await page.evaluate(() => document.body.dataset.brokenSetup)).toBeUndefined() + + const pill = page.getByTestId("composer-pills").locator('[data-slot="session-plugin-pill"]') + await expect(pill).toHaveText("Round 1") + // The host draws it as it draws its own icons, in the pill's tone. + await expect(pill.locator("svg")).toHaveClass(/text-v2-state-fg-warning/) + + const href = (await pill.locator("use").getAttribute("href")) ?? "" + const symbol = page.locator(`symbol${href}`) + await expect(symbol).toHaveAttribute("viewBox", "0 0 16 16") + await expect(symbol.locator("circle")).toHaveCount(2) + + const radius = () => symbol.getByTestId("goal-core").evaluate((core: SVGCircleElement) => core.r.animVal.value) + + const clock = () => + symbol.evaluate((element: SVGSymbolElement) => ({ + paused: element.ownerSVGElement?.animationsPaused(), + time: element.ownerSVGElement?.getCurrentTime(), + })) + + await page.evaluate(() => document.documentElement.setAttribute("data-motion", "full")) + await expect.poll(radius).toBeGreaterThan(2) + + // The pill's view runs again. The artwork stays where it is, so its animation goes on. + await symbol.evaluate((element) => element.setAttribute("data-kept", "")) + await page.evaluate(() => document.body.dispatchEvent(new Event("next-round"))) + await expect(pill).toHaveText("Round 2") + await expect(symbol).toHaveAttribute("data-kept", "") + + // Under reduced motion the host holds every icon on its first frame. + await page.evaluate(() => document.documentElement.setAttribute("data-motion", "reduce")) + await expect.poll(clock).toEqual({ paused: true, time: 0 }) + await expect.poll(radius).toBe(2) + + // The app's own icon component, outside every plugin, draws the artwork by the same name. + await page.evaluate(async (fixture) => { + const { mountAppIcon } = await import(fixture) + + mountAppIcon("acme:goal") + }, fixture) + await expect(page.getByTestId("app-icon").locator("use")).toHaveAttribute("href", href) + + // The plugin goes away. The app's icon still names the artwork, and now draws nothing. + await page.evaluate(() => document.body.dispatchEvent(new Event("leave"))) + await expect(pill).toHaveCount(0) + await expect(page.getByTestId("app-icon").locator("use")).toHaveAttribute("href", href) + await expect(symbol).toHaveCount(0) + }, +) + story("code block content replaces complete blocks of its languages, and actions sit beside Copy", async ({ page }) => { const host = await page.evaluateHandle(async (fixture) => { const { mountCodeBlocks, until, CodeBlock, CodeBlockAction } = await import(fixture) @@ -2175,10 +2272,14 @@ story("code block content replaces complete blocks of its languages, and actions status: "active", }) - // Only the shell block gets the action, before its Copy button; the TypeScript block is untouched. + // Only the shell block gets the action, before its Wrap and Copy buttons; the TypeScript block is untouched. await expect(root.locator('[data-slot="markdown-code-actions"]')).toHaveCount(1) const shell = blocks.nth(3) - await expect(shell.locator('[data-slot="markdown-code-actions"] + [data-slot="markdown-copy-button"]')).toHaveCount(1) + await expect( + shell.locator( + '[data-slot="markdown-code-toolbar"] > [data-slot="markdown-code-actions"]:first-child + [data-slot="markdown-wrap-button"] + [data-slot="markdown-copy-button"]', + ), + ).toHaveCount(1) await shell.hover() await shell.getByRole("button", { name: "Run in terminal" }).click() await expect(page.locator("body")).toHaveAttribute("data-ran", "echo hi in /repo") diff --git a/packages/app/component-tests/timeline-virtualizer.fixture.tsx b/packages/app/component-tests/timeline-virtualizer.fixture.tsx index fb6d15e9c403..e0934679aef9 100644 --- a/packages/app/component-tests/timeline-virtualizer.fixture.tsx +++ b/packages/app/component-tests/timeline-virtualizer.fixture.tsx @@ -1,5 +1,5 @@ import { TimelineRow } from "@opencode/session-ui/timeline/projection" -import { onCleanup } from "solid-js" +import { createComputed, createMemo, createSignal, onCleanup } from "solid-js" import { createStore } from "solid-js/store" import { render } from "solid-js/web" import { LanguageProvider } from "../src/runtime/i18n/language" @@ -167,3 +167,106 @@ export function mountTimelineVirtualizer(input: { host, ) } + +/** + * Rows the test replaces. `replace(next, settled)` publishes `next` and then, in the same flush and after TanStack has + * read `next`, `settled`: what a projection does when its inputs settle in two steps. Each mounted row records any + * other key's row it is handed. + */ +export function mountTimelineRowChanges(ids: string[]) { + const host = document.createElement("main") + host.dataset.testid = "timeline-row-changes-fixture" + host.style.cssText = "position:fixed;top:24px;right:24px;width:400px;z-index:1000" + document.body.appendChild(host) + const list = (ids: string[]) => ids.map((id) => new TimelineRow.UserMessage({ userMessageID: id })) + const [rows, setRows] = createSignal(list(ids)) + const errors: string[] = [] + const foreign: string[] = [] + let settled: string[] | undefined + + function Fixture() { + const rowByKey = createMemo(() => new Map(rows().map((row) => [TimelineRow.key(row), row]))) + const indexes = createMemo(() => new Map(rows().map((row, index) => [row.userMessageID, index]))) + + const timeline = createTimelineVirtualizer({ + sessionKey: () => "row-changes-fixture", + projection: { + rows, + rowByKey, + activeMessageID: () => undefined, + messageByID: () => new Map(), + messageRowIndex: indexes, + messageLastRowIndex: indexes, + }, + showHeader: () => false, + follow: createTimelineFollow(() => "row-changes-fixture"), + scroll: () => ({ overflow: false, jump: false }), + setScrollRef: () => {}, + onContentResize: () => {}, + onScheduleScrollState: () => {}, + onResumeScroll: () => {}, + onUserScroll: () => {}, + onHistoryScroll: () => {}, + canRenderImmediately: () => true, + }) + + // Created after the virtualizer, so it runs once TanStack has read the rows it follows. + createComputed(() => { + rows() + const next = settled + + settled = undefined + + if (next) setRows(list(next)) + }) + + return ( +
+ false} + renderRow={(row) => { + const key = TimelineRow.key(row()) + + const read = () => { + const other = TimelineRow.key(row()) + + if (other !== key) foreign.push(`${key} read ${other}`) + } + + // Renderers read their row while mounted and again as they unmount, as a row that stops growing in does. + createComputed(read) + onCleanup(read) + + return
{key}
+ }} + /> +
+ ) + } + + render( + () => ( + + + + ), + host, + ) + + return { + errors, + foreign, + mounted: () => + [...host.querySelectorAll("[data-timeline-key]")].map((element) => element.dataset.timelineKey), + replace: (next: string[], then?: string[]) => { + settled = then + + try { + setRows(list(next)) + } catch (error) { + errors.push(String(error)) + } + }, + } +} diff --git a/packages/app/component-tests/timeline-virtualizer.spec.ts b/packages/app/component-tests/timeline-virtualizer.spec.ts index af213ad5a296..a46018732e9a 100644 --- a/packages/app/component-tests/timeline-virtualizer.spec.ts +++ b/packages/app/component-tests/timeline-virtualizer.spec.ts @@ -220,3 +220,50 @@ for (const input of [ } }) } + +// TanStack lists the rows it last read, and rows found their row by key or else by index. A listed key the projection +// had dropped found nothing and crashed rendering with "Match/exhaustive: absurd" (#63944). A row whose key had left +// read the row that moved to its index, and a renderer handed another kind of row throws (#62800). Two rows can share +// a key, as the dividers of a turn interrupted twice do, and one of them mounts. +for (const input of [ + { + name: "a row dropped in the flush that added it", + rows: ["a", "b"], + next: ["a", "b", "c"], + settled: ["a", "b"], + mounted: ["a", "b"], + }, + { + name: "a row that left while another took its index", + rows: ["a", "b", "c"], + next: ["b", "c"], + settled: undefined, + mounted: ["b", "c"], + }, + { + name: "two rows that share a key", + rows: ["a", "b"], + next: ["a", "b", "a"], + settled: undefined, + mounted: ["a", "b"], + }, +]) { + story(`mounts each row with its own row through ${input.name}`, async ({ page }) => { + const result = await page.evaluate( + async ({ fixture, input }) => { + const { mountTimelineRowChanges } = await import(fixture) + const timeline = mountTimelineRowChanges(input.rows) + + while (timeline.mounted().length < input.rows.length) + await new Promise((resolve) => requestAnimationFrame(resolve)) + + timeline.replace(input.next, input.settled) + + return { errors: timeline.errors, foreign: timeline.foreign, mounted: timeline.mounted() } + }, + { fixture, input }, + ) + + expect(result).toEqual({ errors: [], foreign: [], mounted: input.mounted.map((id) => `user-message:${id}`) }) + }) +} diff --git a/packages/app/e2e/regression/home.spec.ts b/packages/app/e2e/regression/home.spec.ts index d1f34aa6daa6..4967863850c5 100644 --- a/packages/app/e2e/regression/home.spec.ts +++ b/packages/app/e2e/regression/home.spec.ts @@ -10,13 +10,12 @@ import { SERVER, session, sessionHref, - tabKey, T0, } from "../utils/app" import { mockOpenCodeServer, mockServers } from "../utils/mock-server" import { fixture, mockStressTimeline } from "../utils/session-fixture" import { mockRemoteServer, mockWorkspace, newSessionLocation } from "../utils/workspace" -import { APP_READY_TIMEOUT, expectAppVisible, expectSessionTitle } from "../utils/waits" +import { APP_READY_TIMEOUT, expectAppVisible } from "../utils/waits" test.use({ serviceWorkers: "block" }) @@ -78,152 +77,6 @@ test("choosing Customize replaces Home with Settings in desktop side tabs", asyn await expect(page.getByTestId("settings-screen")).toBeVisible() }) -async function openProjects(page: Page) { - const remote = project({ id: "proj_remote_site", directory: "/work/website", name: "Website" }) - - const earlier = session({ - id: "ses_site_release", - directory: "/work/website-release", - projectID: remote.id, - title: "Update release notes", - }) - - await mockRemoteServer(page, { - name: "Build server", - project: remote, - directory: remote.worktree, - worktrees: [{ directory: remote.worktree }, { directory: earlier.directory, strategy: "git" }], - sessions: [ - earlier, - session({ id: "ses_tools", directory: "/work/tools", projectID: "proj_tools", title: "Refresh tools" }), - ], - }) - await mockWorkspace(page, { - name: "Website", - sessions: [{ id: "ses_site_local", title: "Preview local changes" }], - seed: { - tabs: [], - usedProjects: { local: ["proj_website"], [REMOTE_SERVER]: [remote.id] }, - settings: { appearance: { tabLayout: "vertical" }, general: { sidebarOrganize: "projects" } }, - }, - }) - await page.goto(`/e2e/utils/windows-menu.html?${new URLSearchParams({ server: SERVER })}`) - const sidebar = page.locator("#vertical-tabs-sidebar") - - const localGroup = sidebar.getByRole("group", { name: "Local Server", exact: true }) - - const remoteGroup = sidebar.getByRole("group", { name: "Build server", exact: true }) - - return { - remote, - earlier, - sidebar, - localToggle: localGroup.getByRole("button", { name: "Local Server", exact: true }), - remoteToggle: remoteGroup.getByRole("button", { name: "Build server", exact: true }), - localProject: localGroup.getByText("Website", { exact: true }), - remoteProject: remoteGroup.getByText("Website", { exact: true }), - } -} - -async function openRemoteHistory(page: Page, view: Awaited>) { - await view.remoteProject.click({ button: "right" }) - await page.getByRole("menuitem", { name: "View session history…", exact: true }).click() - const browser = page.getByRole("dialog", { name: "Browse projects", exact: true }) - - const history = browser.getByRole("listbox", { name: "Search sessions in Website", exact: true }).getByRole("option") - - return { browser, history } -} - -test("desktop Projects groups projects by server and collapses one server at a time", async ({ page }) => { - const view = await openProjects(page) - await expect(view.localToggle).toHaveAttribute("aria-expanded", "true") - await expect(view.remoteToggle).toHaveAttribute("aria-expanded", "true") - await expect(view.localProject).toBeVisible() - await expect(view.remoteProject).toBeVisible() - await expect(view.sidebar.getByRole("button", { name: /Browse/ })).toHaveCount(0) - - await view.remoteToggle.click() - await expect(view.remoteToggle).toHaveAttribute("aria-expanded", "false") - await expect(view.remoteProject).toBeHidden() - await expect(view.localToggle).toHaveAttribute("aria-expanded", "true") - await expect(view.localProject).toBeVisible() - await view.remoteToggle.click() - await expect(view.remoteToggle).toHaveAttribute("aria-expanded", "true") -}) - -test("desktop Projects history opens the worktree session and reopens from its location menu", async ({ page }) => { - const view = await openProjects(page) - const { browser, history } = await openRemoteHistory(page, view) - await expect(history.getByText(view.earlier.title, { exact: true })).toBeVisible() - await expect(history).toHaveCount(1) - await history.click() - await expectSessionTitle(page, view.earlier.title) - - await page.locator('[data-slot="session-location-trigger"]').click() - await page.getByRole("menuitem", { name: /Website/ }).click() - await expect(browser.getByText(view.earlier.title, { exact: true })).toBeVisible() - await page.keyboard.press("Escape") - await expect(browser).toHaveCount(0) -}) - -test("desktop Projects keeps the remote project as the next session's target after its last tab closes", async ({ - page, -}) => { - const view = await openProjects(page) - const { browser, history } = await openRemoteHistory(page, view) - await history.click() - await expectSessionTitle(page, view.earlier.title) - await expect(browser).toHaveCount(0) - await view.sidebar.getByRole("button", { name: "Close tab", exact: true }).click() - - const landing = page.getByRole("main") - - await expect(landing).toContainText("Website") - await expect(landing).toContainText("Build server") - await expect(view.remoteProject).toBeVisible() - await view.sidebar.getByRole("button", { name: "Settings", exact: true }).click() - await page.getByRole("button", { name: "Back to app", exact: true }).click() - await landing.getByRole("button", { name: "New session", exact: true }).click() - await expect(newSessionLocation(page)).toContainText("Website") - await expect(page.locator('[data-slot="new-session-location-path"]')).toHaveText(view.remote.worktree) -}) - -test("desktop Projects resumes the remembered tab when the window opens at Home", async ({ page }) => { - const earlier = { id: "ses_earlier_tab", title: "Earlier tab" } - - const recent = { id: "ses_recent_tab", title: "Remembered tab" } - - await mockRemoteServer(page, { name: "Hidden server" }) - await seed(page, { storage: { "opencode.global.dat:server": { hidden: { [REMOTE_SERVER]: true } } } }) - await mockWorkspace(page, { - name: "Restored", - sessions: [earlier, recent], - seed: { - settings: { appearance: { tabLayout: "vertical" }, general: { sidebarOrganize: "projects" } }, - storage: { - "opencode.window.windows-menu-test.dat:tabs": [recent, earlier].map(({ id }) => ({ - type: "session", - server: "sidecar", - sessionId: id, - })), - "opencode.window.windows-menu-test.dat:tabs.recent": { key: tabKey(recent.id, "sidecar") }, - }, - }, - }) - await page.goto(`/e2e/utils/windows-menu.html?${new URLSearchParams({ server: SERVER })}`) - await expectSessionTitle(page, recent.title) - - const projects = page.locator("#vertical-tabs-sidebar section").filter({ - has: page.getByRole("button", { name: "Projects", exact: true }), - }) - - await expect(projects.getByText("Restored", { exact: true })).toBeVisible() - await expect(projects.getByText("Local Server", { exact: true })).toHaveCount(0) - await expect(projects.getByRole("group", { name: "Local Server", exact: true })).toHaveCount(0) - await expect(projects.getByRole("group", { name: "Hidden server", exact: true })).toHaveCount(0) -}) - test("a working Home session keeps its project avatar and shows its activity ring at the end of the row", async ({ page, }) => { diff --git a/packages/app/e2e/regression/tabs.spec.ts b/packages/app/e2e/regression/tabs.spec.ts index a5e18d0ccc44..6b2134e98155 100644 --- a/packages/app/e2e/regression/tabs.spec.ts +++ b/packages/app/e2e/regression/tabs.spec.ts @@ -2750,3 +2750,149 @@ async function mockGaveUpPermission(page: Page, tabLayout: "horizontal" | "inbox attempts: () => attempts.count, } } + +test("tab groups reorder without color drift, collapse and auto-expand on navigation, and combine by dwelling into manual groups", async ({ + page, +}) => { + const dirA = "C:/OpenCode/TabGroupsA" + const dirB = "/srv/tab-groups-b" + const localOne = session({ id: "ses_tg_local_1", directory: dirA, title: "Local alpha" }) + const localTwo = session({ id: "ses_tg_local_2", directory: dirA, title: "Local beta" }) + const localThree = session({ id: "ses_tg_local_3", directory: dirA, title: "Local delta" }) + const remoteOne = session({ id: "ses_tg_remote_1", directory: dirB, title: "Remote gamma" }) + + await mockServers(page, { + [SERVER]: { + hostname: "local", + directory: dirA, + project: project({ id: "proj_tg_a", directory: dirA, name: "opencode" }), + provider: NO_PROVIDER, + sessions: [localOne, localTwo, localThree], + pageMessages: () => ({ items: [] }), + strictDirectory: true, + }, + [REMOTE_SERVER]: { + hostname: "blade", + directory: dirB, + project: project({ id: "proj_tg_b", directory: dirB, name: "blade-repo" }), + provider: NO_PROVIDER, + sessions: [remoteOne], + pageMessages: () => ({ items: [] }), + strictDirectory: true, + }, + }) + + await seed(page, { + servers: [{ url: REMOTE_SERVER, name: "blade" }], + tabs: [localOne.id, localTwo.id, localThree.id, { session: remoteOne.id, server: REMOTE_SERVER }], + settings: { + appearance: { tabLayout: "vertical", sidebarOpen: true }, + general: { tabGroups: true, sidebarOrganize: "list" }, + }, + }) + + await page.goto(sessionHref(localOne.id)) + const sidebar = page.locator('[data-slot="vertical-tabs-sidebar"]') + const localHeader = sidebar.locator(`[data-tab-group-header][data-group-key="server:${SERVER}"]`) + const remoteHeader = sidebar.locator(`[data-tab-group-header][data-group-key="server:${REMOTE_SERVER}"]`) + const remoteTab = sidebar.locator(`[data-titlebar-tab-slot]:has(a[href="${sessionHref(remoteOne.id, REMOTE_SERVER)}"])`) + + await expect(sidebar.locator("[data-tab-group]")).toHaveCount(2) + await expect(remoteTab).toBeVisible() + + // Inline search filters open tabs in place without showing closed/recent results underneath. + // The global Search sessions button stays above the inline open-tab filter. + await expect(sidebar.getByRole("button", { name: "Search sessions", exact: true })).toBeVisible() + const filterInput = sidebar.getByRole("textbox", { name: "Filter tabs", exact: true }) + await filterInput.fill("Remote gamma") + await expect(remoteTab).toBeVisible() + await expect(sidebar.locator(`[data-titlebar-tab-slot]:has(a[href="${sessionHref(localOne.id)}"])`)).toHaveCount(0) + await filterInput.press("Escape") + await expect(filterInput).toHaveValue("") + await expect(sidebar.locator(`[data-titlebar-tab-slot]:has(a[href="${sessionHref(localOne.id)}"])`)).toBeVisible() + + const initialLocalColor = await localHeader.getAttribute("data-group-color") + const initialRemoteColor = await remoteHeader.getAttribute("data-group-color") + + // Dragging the 1-tab remote group above the larger local group reorders cleanly without mutating group hues. + const [localHdrBox, remoteHdrBox] = await Promise.all([localHeader.boundingBox(), remoteHeader.boundingBox()]) + + if (!localHdrBox || !remoteHdrBox) throw new Error("group headers have no bounding box") + await page.mouse.move(remoteHdrBox.x + 40, remoteHdrBox.y + 13) + await page.mouse.down() + await page.mouse.move(localHdrBox.x + 40, localHdrBox.y + 6, { steps: 6 }) + await page.mouse.up() + await expect(sidebar.locator("[data-tab-group]").first()).toHaveAttribute("data-group-key", `server:${REMOTE_SERVER}`) + await expect(localHeader).toHaveAttribute("data-group-color", initialLocalColor!) + await expect(remoteHeader).toHaveAttribute("data-group-color", initialRemoteColor!) + + // Recoloring blade's swatch changes only blade and never shifts local's hue. + await remoteHeader.click({ button: "right" }) + const nextRemoteHue = initialRemoteColor === "pink" ? "blue" : "pink" + const nextHueLabel = nextRemoteHue === "pink" ? "Rose" : "Steel" + await page.getByRole("radio", { name: nextHueLabel, exact: true }).click() + await page.keyboard.press("Escape") + await expect(remoteHeader).toHaveAttribute("data-group-color", nextRemoteHue) + await expect(localHeader).toHaveAttribute("data-group-color", initialLocalColor!) + + // Collapsing the remote group hides its tab; navigating into that session auto-expands the group. + await remoteHeader.locator("button").first().click() + await expect(remoteTab).toHaveCount(0) + await expect(remoteHeader).toContainText("1") + await page.evaluate((href) => window.history.pushState({}, "", href), sessionHref(remoteOne.id, REMOTE_SERVER)) + await page.evaluate(() => window.dispatchEvent(new PopStateEvent("popstate"))) + await expect(remoteTab).toBeVisible() + + // Turning off automatic grouping flattens the strip; dwelling a tab on another combines them into a manual group. + await sidebar.locator('[data-action="tab-groups-menu"]').click() + await expect(page.getByRole("menuitemradio")).toHaveText(["None", "Server", "Project"]) + await page.getByRole("menuitemradio", { name: "None", exact: true }).click() + await expect(page.getByRole("menu")).toHaveCount(0) + await expect(sidebar.locator("[data-tab-group]")).toHaveCount(0) + + const slotOne = sidebar.locator(`[data-titlebar-tab-slot]:has(a[href="${sessionHref(localOne.id)}"])`) + const slotTwo = sidebar.locator(`[data-titlebar-tab-slot]:has(a[href="${sessionHref(localTwo.id)}"])`) + const slotThree = sidebar.locator(`[data-titlebar-tab-slot]:has(a[href="${sessionHref(localThree.id)}"])`) + const [boxOne, boxTwo] = await Promise.all([slotOne.boundingBox(), slotTwo.boundingBox()]) + + if (!boxOne || !boxTwo) throw new Error("tab slots have no bounding box") + await page.mouse.move(boxTwo.x + 40, boxTwo.y + 14) + await page.mouse.down() + await page.mouse.move(boxOne.x + 40, boxOne.y + 3, { steps: 6 }) + await expect(slotOne).not.toHaveAttribute("data-combine-target", "true") + await page.mouse.move(boxOne.x + 40, boxOne.y + 14, { steps: 4 }) + await expect(slotOne).toHaveAttribute("data-combine-target", "true") + await page.mouse.up() + + const manualGroup = sidebar.locator("[data-tab-group]") + await expect(manualGroup).toHaveCount(1) + await expect(manualGroup.locator("[data-titlebar-tab-slot]")).toHaveCount(2) + + // Dragging an ungrouped tab onto the manual group header adds it to the group, and dragging below extracts it back out. + const [boxThree, manualHdrBox] = await Promise.all([ + slotThree.boundingBox(), + manualGroup.locator("[data-tab-group-header]").boundingBox(), + ]) + + if (!boxThree || !manualHdrBox) throw new Error("manual group targets have no bounding box") + await page.mouse.move(boxThree.x + 40, boxThree.y + 14) + await page.mouse.down() + await page.mouse.move(manualHdrBox.x + 50, manualHdrBox.y + 15, { steps: 6 }) + await expect(manualGroup.locator("[data-tab-group-header]")).toHaveAttribute("data-drop-over", "true") + await page.mouse.up() + await expect(manualGroup.locator("[data-titlebar-tab-slot]")).toHaveCount(3) + + const [lastGroupedBox, groupFullBox] = await Promise.all([ + manualGroup.locator("[data-titlebar-tab-slot]").last().boundingBox(), + manualGroup.boundingBox(), + ]) + + if (!lastGroupedBox || !groupFullBox) throw new Error("grouped slot has no bounding box") + const lastSlot = manualGroup.locator("[data-titlebar-tab-slot]").last() + await page.mouse.move(lastGroupedBox.x + 40, lastGroupedBox.y + 14) + await page.mouse.down() + await page.mouse.move(lastGroupedBox.x + 40, groupFullBox.y + groupFullBox.height + 28, { steps: 6 }) + await expect(lastSlot).toHaveAttribute("data-lane-shift", "out") + await page.mouse.up() + await expect(manualGroup.locator("[data-titlebar-tab-slot]")).toHaveCount(2) +}) diff --git a/packages/app/e2e/regression/timeline-cache.spec.ts b/packages/app/e2e/regression/timeline-cache.spec.ts index 3694b210304a..8ba2767f30c4 100644 --- a/packages/app/e2e/regression/timeline-cache.spec.ts +++ b/packages/app/e2e/regression/timeline-cache.spec.ts @@ -282,6 +282,28 @@ test("scrolls within a long answer without mounting unrelated history", async ({ await expect(answer.locator('[data-component="markdown"]')).toHaveAttribute("data-markdown-ready", "") }) +// Each cached view provides its own Markdown context, so it must pass the app's code wrap setting on. +test("wraps the code blocks of a cached view when the setting is on", async ({ page }) => { + await mockStressTimeline(page, { pageMessages: () => ({ items: messages[fixture.sourceID] }) }) + await installTimelineSettings(page) + await page.addInitScript(() => { + const settings = JSON.parse(localStorage.getItem("settings.v3")!) + localStorage.setItem( + "settings.v3", + JSON.stringify({ ...settings, general: { ...settings.general, wrapCodeBlocks: true } }), + ) + }) + await page.goto(sessionHref(fixture.sourceID)) + + const markdown = page.locator( + `[data-timeline-part-id="${expected[fixture.sourceID].answerID}"] [data-component="markdown"]`, + ) + + await expect(markdown).toHaveAttribute("data-markdown-ready", "") + await expect(markdown).toHaveAttribute("data-code-wrap", "") + await expect(markdown.locator('[data-component="markdown-code"] > pre').first()).toHaveCSS("white-space", "pre-wrap") +}) + test("fills a short cold transcript before revealing it", async ({ page }) => { const history = messages[fixture.sourceID].slice(-6).map((message, index) => { if (message.type === "user") return { ...message, text: `Prompt ${index}`, metadata: undefined } diff --git a/packages/app/package.json b/packages/app/package.json index 508e5d06445f..781f3ea28aaa 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,6 +1,6 @@ { "name": "@opencode/app", - "version": "2.3.1", + "version": "2.3.2", "description": "", "type": "module", "exports": { @@ -67,6 +67,7 @@ "@opencode/session-ui": "workspace:*", "@opencode/ui": "workspace:*", "@opencode/util": "workspace:*", + "@opentui/keymap": "catalog:", "@pierre/highlights": "catalog:", "@pierre/trees": "1.0.0-beta.6", "@sentry/solid": "catalog:", diff --git a/packages/app/src/composer/editor/interaction.ts b/packages/app/src/composer/editor/interaction.ts index 41a149a0dedc..bc73927b3d94 100644 --- a/packages/app/src/composer/editor/interaction.ts +++ b/packages/app/src/composer/editor/interaction.ts @@ -474,19 +474,6 @@ export function createComposerEditor(input: { flushFocus() - if ( - mode() === "normal" && - (event.metaKey || event.ctrlKey) && - !event.altKey && - !event.shiftKey && - event.key.toLowerCase() === "u" - ) { - event.preventDefault() - attach() - - return true - } - const ctrl = event.ctrlKey && !event.metaKey && !event.altKey && !event.shiftKey const open = isComposerPopoverOpen(readState()) @@ -537,18 +524,6 @@ export function createComposerEditor(input: { return true } - const stop = - (input.view.submit.working?.() || input.view.submit.held?.()) && - ((event.ctrlKey && !event.metaKey && !event.altKey && !event.shiftKey && event.key.toLowerCase() === "g") || - event.key === "Escape") - - if (stop) { - event.preventDefault() - input.view.submit.onStop() - - return true - } - if ( !event.altKey && !event.ctrlKey && diff --git a/packages/app/src/composer/model.ts b/packages/app/src/composer/model.ts index c4c4a931c7c9..9520c38c73b7 100644 --- a/packages/app/src/composer/model.ts +++ b/packages/app/src/composer/model.ts @@ -2,7 +2,7 @@ import { ImagePreview } from "@opencode/ui/image-preview" import { useDialog } from "@opencode/ui/context/dialog" import type { ReferenceInfo } from "@opencode/client/promise" import type { Links, MountedSession } from "@opencode/plugin/gui" -import { createComponent, createEffect, createMemo, on, onCleanup } from "solid-js" +import { createComponent, createEffect, createMemo, createSignal, on, onCleanup } from "solid-js" import { Predicate } from "effect" import type { ComposerSuggestion } from "./types" import { createComposerEditor, type ComposerEditorModel } from "./editor/interaction" @@ -33,6 +33,7 @@ import type { PromptHistoryComment } from "./history/entry" import { createComposerHistory } from "./history/store" import { createComposerSubmit } from "./submit" import { composerSubmitView } from "./machine" +import { isComposerPopoverOpen } from "./suggestions/machine" import { useAttachmentDestination } from "./attachments/destination" import { parseClientSlashCommand } from "./client-slash-command" @@ -73,6 +74,8 @@ export function createComposerModel(adapter: ComposerAdapter, options?: { queue? ), ) let editor: HTMLDivElement | undefined + // The element `prompt.stop` binds its keys to. + const [editorElement, setEditorElement] = createSignal() // A path attachment's image is read through the server, which can see both local and uploaded paths. const pathImages = new Map>() const pathImageReads = new AbortController() @@ -457,6 +460,7 @@ export function createComposerModel(adapter: ComposerAdapter, options?: { queue? onEditor(element) { // SAFETY: the editor's only `setEditor` call passes its editable root, a `
` (`editor/editor.tsx`). editor = element as HTMLDivElement + setEditorElement(editor) if (adapter.kind === "active-session") adapter.setEditor(editor) }, @@ -607,6 +611,20 @@ export function createComposerModel(adapter: ComposerAdapter, options?: { queue? disabled: mode() === "normal", onSelect: () => void controller.dispatch({ type: "mode.normal" }), }, + { + id: "prompt.stop", + title: language.t("command.prompt.stop"), + category: language.t("command.category.session"), + keybind: "escape,ctrl+g", + editable: true, + target: editorElement, + disabled: !adapter.working() && !submitView().held, + // An open list, a queued prompt being edited and shell mode each take the key first in the editor. + skip: (event) => + isComposerPopoverOpen(controller.state) || + (event.key === "Escape" && (!!options?.queue?.editing() || mode() === "shell")), + onSelect: () => void submission.stop(), + }, ]) // SAFETY: the `model` getter defined on the controller above completes `ComposerModel`. diff --git a/packages/app/src/home/projects/region.tsx b/packages/app/src/home/projects/region.tsx index 7853e41a9fa7..586375068b92 100644 --- a/packages/app/src/home/projects/region.tsx +++ b/packages/app/src/home/projects/region.tsx @@ -4,12 +4,14 @@ import type { HomeScrollController } from "../scroll" export function HomeProjects(props: { projects: HomeProjectsController - scroll: HomeScrollController + scroll?: HomeScrollController dropdown?: boolean + scope?: boolean }) { return ( props.scroll?.viewport.containWheel(event)} onChooseProject={props.projects.project.choose} onFocusServer={props.projects.server.focus} onAuthenticateServer={props.projects.server.authenticate} diff --git a/packages/app/src/home/projects/view.tsx b/packages/app/src/home/projects/view.tsx index be71e55fec87..e09339e0bad2 100644 --- a/packages/app/src/home/projects/view.tsx +++ b/packages/app/src/home/projects/view.tsx @@ -80,6 +80,8 @@ export type HomeProjectsViewProps = { onHideProject: (server: ServerConnection.Any, project: LocalProject) => void onOpenSettings: () => void onOpenHelp: () => void + /** With `dropdown`, opens the panel from a compact picker at the end of Home's search field. */ + scope?: boolean } export function HomeProjectsView(props: HomeProjectsViewProps) { @@ -95,38 +97,59 @@ export function HomeProjectsView(props: HomeProjectsViewProps) { setState("open", open)} - placement="bottom-start" - sameWidth - gutter={6} + placement={props.scope ? "bottom-end" : "bottom-start"} + sameWidth={!props.scope} + gutter={props.scope ? 8 : 6} > - + }> + {(project) => } + + + + + {(project) => displayName(project())} + + + 1 && server()}> + {(server) => ( + + {props.serverLabel(server())} + + )} + + + + + } > - }> - {(project) => } - - - + event.preventDefault()} + > + {(project) => } + {(project) => displayName(project())} - 1 && server()}> - {(server) => ( - - {props.serverLabel(server())} - - )} - - - - + + +
button]:w-auto lg:[&>button]:w-full`} + classList={props.classList} > { - if (layout.home.searchFocus.take()) search.query.focus() + // The navigation prototype has no search dialog, so Home's search field starts focused. + if (layout.home.searchFocus.take() || settings.appearance.navigationPrototype()) search.query.focus() }) - return + return ( + + ) } export function HomeView(props: { projects: ReturnType sessions: ReturnType search: ReturnType + /** The navigation prototype's project picker, at the end of the search field in place of the projects column. */ + projectScope?: boolean + /** Search filters the list in place rather than opening a results panel. */ + searchInline?: boolean }) { const mobile = createMediaQuery("(max-width: 767px)") - const scroll = createHomeScrollController(props.sessions.data.groups) + const scroll = createHomeScrollController(props.search.result.groups) return (
- +
@@ -72,18 +88,28 @@ export function HomeView(props: { onScroll={(event) => scroll.viewport.update(event.currentTarget.scrollTop)} >
- + - + : undefined} + searchInline={props.searchInline} + />
-