– UNSUPPORTED

tanstack-ai 1.4.0

truncation.tool-call-args · openai-chat

Back to results · Scenario

Requirements

IdLevelStatusEvidence

Notes

  • TanStack AI's chat() always requests a streamed response (stream: false collects the stream), so it never sends the non-streamed request this fixture replays. (https://tanstack.com/ai/latest/docs/api/ai#chat-options)

What the provider sent

Finish
length
Raw finish
length
Text
null
Tool calls
[
  {
    "arguments": null,
    "arguments_parsed_ok": false,
    "arguments_raw": "{\"title\":\"Weekend Pottery Workshop\",\"",
    "id": "call_W6i0YDA3qww31EI14Xkd4cmB",
    "name": "create_event"
  }
]
Usage
{
  "alternatives": {},
  "cached_input": 0,
  "input": 182,
  "output": 20,
  "raw": {
    "completion_tokens": 20,
    "completion_tokens_details": {
      "accepted_prediction_tokens": 0,
      "audio_tokens": 0,
      "reasoning_tokens": 0,
      "rejected_prediction_tokens": 0
    },
    "prompt_tokens": 182,
    "prompt_tokens_details": {
      "audio_tokens": 0,
      "cache_write_tokens": 0,
      "cached_tokens": 0
    },
    "total_tokens": 202
  },
  "reasoning": 0,
  "total": 202
}
Stream completed
null
Error
null
Wire excerpt
status: 200
content-type: application/json
body (json):
{
  "id": "chatcmpl-EXmWepZSbcMU86TnlRq4kH4xvQ2nK",
  "object": "chat.completion",
  "created": 1791720064,
  "model": "gpt-6-luna",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": null,
        "tool_calls": [
          {
            "id": "call_W6i0YDA3qww31EI14Xkd4cmB",
            "type": "function",
            "function": {
              "name": "create_event",
              "arguments": "{\"title\":\"Weekend Pottery Workshop\",\""
            }
          }
        ],
        "refusal": null,
        "annotations": []
      },
      "finish_reason": "length"
    }
  ],
  "usage": {
    "prompt_tokens": 182,
    "completion_tokens": 20,
    "total_tokens": 202,
    "prompt_tokens_details": {
      "cached_tokens": 0,
      "cache_write_tokens": 0,
      "audio_tokens": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 0,
      "audio_tokens": 0,
      "accepted_prediction_tokens": 0,
      "rejected_prediction_tokens": 0
    }
  },
  "service_tier": "default",
  "system_fingerprint": null
}

What the library reported

Outcome
unsupported
Finish
{
  "raw": null,
  "source": null,
  "surface": "absent",
  "value": null
}
Text
Value
null
Surface
absent
Tool calls
[]
Usage
{
  "cached_input": null,
  "input": null,
  "output": null,
  "reasoning": null,
  "surface": {
    "cached_input": "absent",
    "input": "absent",
    "output": "absent",
    "reasoning": "absent",
    "total": "absent"
  },
  "total": null
}
Stream
{
  "chunks_seen": null,
  "completed": null,
  "used": false
}
Error
null
Unsupported reason
TanStack AI's chat() always requests a streamed response (stream: false collects the stream), so it never sends the non-streamed request this fixture replays. https://tanstack.com/ai/latest/docs/api/ai#chat-options
Full observation JSON
{
  "elapsed_ms": 1.2880820000000313,
  "error": null,
  "finish": {
    "raw": null,
    "source": null,
    "surface": "absent",
    "value": null
  },
  "format": "wiretruth.observation/v1",
  "library": {
    "api": "chat",
    "language": "javascript",
    "name": "tanstack-ai",
    "version": "1.4.0"
  },
  "notes": [],
  "outcome": "unsupported",
  "stream": {
    "chunks_seen": null,
    "completed": null,
    "used": false
  },
  "structured": {
    "attempted": false,
    "returned_as_success": false,
    "value": null
  },
  "text": {
    "surface": "absent",
    "value": null
  },
  "tool_calls": [],
  "unsupported_reason": "TanStack AI's chat() always requests a streamed response (stream: false collects the stream), so it never sends the non-streamed request this fixture replays. https://tanstack.com/ai/latest/docs/api/ai#chat-options",
  "usage": {
    "cached_input": null,
    "input": null,
    "output": null,
    "reasoning": null,
    "surface": {
      "cached_input": "absent",
      "input": "absent",
      "output": "absent",
      "reasoning": "absent",
      "total": "absent"
    },
    "total": null
  }
}

Fixture

recorded openai-chat/truncation.tool-call-args

ProvenanceValue
Recorded at2026-10-11T12:01:04Z
Requested modelgpt-6-luna
Returned modelgpt-6-luna
CI runhttps://github.com/kartsan03/wiretruth/actions/runs/38137650119

Reproduce

wiretruth serve openai-chat/truncation.tool-call-args

Plain-library snippet from the shim manifest.

createOpenaiChatCompletions(model, apiKey, { baseURL: WIRETRUTH_BASE_URL_OPENAI_CHAT }); POST /v1/chat/completions. https://tanstack.com/ai/latest/docs/adapters/openai#chat-completions-api

Upstream

No matching upstream report.

History

VersionGrade
1.4.0– UNSUPPORTED
1.0.0– UNSUPPORTED
0.71.0– UNSUPPORTED