✓ PASS

tanstack-ai 1.4.0

truncation.text-stream · ollama-openai

Back to results · Scenario

Requirements

IdLevelStatusEvidence
cause-is-truncationMUSTSATISFIEDfinish.value="length" (primary: RUN_FINISHED.metadata.tanstack.finishReason); truth.finish="length"; error.category=null; structured.returned_as_success=false
text-reportedSHOULDSATISFIEDtext.value="Octopuses rely on their unique physiology to camouflage against the vast array of natural" (primary); truth.text="Octopuses rely on their unique physiology to camouflage against the vast array of natural"
usage-reportedSHOULDSATISFIEDusage.output=null (absent); truth.usage.output=null; wire carried no output; library reported none

What the provider sent

Finish
length
Raw finish
length
Text
Octopuses rely on their unique physiology to camouflage against the vast array of natural
Tool calls
[]
Usage
{
  "alternatives": {},
  "cached_input": null,
  "input": null,
  "output": null,
  "raw": null,
  "reasoning": null,
  "total": null
}
Stream completed
true
Error
null
Wire excerpt
status: 200
content-type: text/event-stream
body (sse):
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"Oct"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":"op"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":"uses"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" rely"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" on"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" their"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" unique"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" physiology"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" to"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" camouflage"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" against"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" the"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" vast"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" array"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" of"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" natural"},"finish_reason":null}]}


data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{},"finish_reason":"length"}]}


data: [DONE]

What the library reported

Outcome
returned
Finish
{
  "raw": null,
  "source": "RUN_FINISHED.metadata.tanstack.finishReason",
  "surface": "primary",
  "value": "length"
}
Text
Value
Octopuses rely on their unique physiology to camouflage against the vast array of natural
Surface
primary
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": 20,
  "completed": true,
  "used": true
}
Error
null
Unsupported reason
null
Full observation JSON
{
  "elapsed_ms": 225.79089299999998,
  "error": null,
  "finish": {
    "raw": null,
    "source": "RUN_FINISHED.metadata.tanstack.finishReason",
    "surface": "primary",
    "value": "length"
  },
  "format": "wiretruth.observation/v1",
  "library": {
    "api": "chat",
    "language": "javascript",
    "name": "tanstack-ai",
    "version": "1.4.0"
  },
  "notes": [],
  "outcome": "returned",
  "stream": {
    "chunks_seen": 20,
    "completed": true,
    "used": true
  },
  "structured": {
    "attempted": false,
    "returned_as_success": false,
    "value": null
  },
  "text": {
    "surface": "primary",
    "value": "Octopuses rely on their unique physiology to camouflage against the vast array of natural"
  },
  "tool_calls": [],
  "unsupported_reason": null,
  "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 ollama-openai/truncation.text-stream

ProvenanceValue
Recorded at2026-10-12T19:01:21Z
Requested modelqwen3.5:0.8b
Returned modelqwen3.5:0.8b
CI runhttps://github.com/kartsan03/wiretruth/actions/runs/38294739276

Reproduce

wiretruth serve ollama-openai/truncation.text-stream

Plain-library snippet from the shim manifest.

openaiCompatible({ name: 'ollama', baseURL: WIRETRUTH_BASE_URL_OLLAMA_OPENAI, apiKey, models: [model] })(model); Chat Completions is the documented default for Ollama /v1. https://tanstack.com/ai/latest/docs/adapters/openai-compatible

Upstream

No matching upstream report.

History

VersionGrade
1.4.0✓ PASS
1.0.0✓ PASS
0.71.0✓ PASS