– UNSUPPORTED

tanstack-ai 1.4.0

finish.unknown-value · ollama-openai

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
other
Raw finish
wiretruth_unknown_reason
Text
Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage
Tool calls
[]
Usage
{
  "alternatives": {},
  "cached_input": 28,
  "input": 32,
  "output": 16,
  "raw": {
    "completion_tokens": 16,
    "prompt_tokens": 32,
    "prompt_tokens_details": {
      "cached_tokens": 28
    },
    "total_tokens": 48
  },
  "reasoning": null,
  "total": 48
}
Stream completed
null
Error
null
Wire excerpt
status: 200
content-type: application/json
body (json):
{
  "id": "chatcmpl-54",
  "object": "chat.completion",
  "created": 1791831683,
  "model": "qwen3.5:0.8b",
  "system_fingerprint": "fp_ollama",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage"
      },
      "finish_reason": "wiretruth_unknown_reason"
    }
  ],
  "usage": {
    "prompt_tokens": 32,
    "prompt_tokens_details": {
      "cached_tokens": 28
    },
    "completion_tokens": 16,
    "total_tokens": 48
  }
}

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": 0.8764019999999846,
  "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

derived ollama-openai/finish.unknown-value

ProvenanceValue
Transformreplace_finish_value
Source fixtureollama-openai/truncation.text
RationaleThe provider sends a finish value that a library may not recognize.
Evidencehttps://github.com/BerriAI/litellm/issues/21347

Reproduce

wiretruth serve ollama-openai/finish.unknown-value

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– UNSUPPORTED
1.0.0– UNSUPPORTED
0.71.0– UNSUPPORTED