✓ PASS

tanstack-ai 1.4.0

stream.utf8 · ollama-openai

Back to results · Scenario

Requirements

IdLevelStatusEvidence
text-reportedMUSTSATISFIEDtext.value="Café Zürich — καλημέρα! Tokyo for us! 🌸🎉" (primary); truth.text="Café Zürich — καλημέρα! Tokyo for us! 🌸🎉"
no-replacement-charsMUSTSATISFIEDtext.value="Café Zürich — καλημέρα! Tokyo for us! 🌸🎉" (primary); U+FFFD count=0

What the provider sent

Finish
stop
Raw finish
stop
Text
Café Zürich — καλημέρα! Tokyo for us! 🌸🎉
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-308","object":"chat.completion.chunk","created":1791831670,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"C"},"finish_reason":null}]}


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


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


data: {"id":"chatcmpl-308","object":"chat.completion.chunk","created":1791831670,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" Zürich"},"finish_reason":null}]}


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


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


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


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


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


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


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


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


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


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


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


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


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


data: [DONE]

What the library reported

Outcome
returned
Finish
{
  "raw": null,
  "source": "RUN_FINISHED.metadata.tanstack.finishReason",
  "surface": "primary",
  "value": "stop"
}
Text
Value
Café Zürich — καλημέρα! Tokyo for us! 🌸🎉
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": 163.22615699999994,
  "error": null,
  "finish": {
    "raw": null,
    "source": "RUN_FINISHED.metadata.tanstack.finishReason",
    "surface": "primary",
    "value": "stop"
  },
  "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": "Café Zürich — καλημέρα! Tokyo for us! 🌸🎉"
  },
  "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/stream.utf8

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

Reproduce

wiretruth serve ollama-openai/stream.utf8

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