✓ PASS

any-llm 1.40.2

finish.stop-sequence · ollama

Back to results · Scenario

Requirements

IdLevelStatusEvidence
finish-is-stopMUSTSATISFIEDfinish.value="stop" (primary: choices[0].finish_reason); truth.finish="stop"; required finish="stop"
text-reportedMUSTSATISFIEDtext.value="Here are two ways to do this. You can copy the code block and run it in a text editor or use the provided Python script.\n\n### Method 1: Using Python Code\nT… (primary); truth.text="Here are two ways to do this. You can copy the code block and run it in a text editor or use the provided Python script.\n\n### Method 1: Using Python Code\nT…

What the provider sent

Finish
stop
Raw finish
stop
Text
Here are two ways to do this. You can copy the code block and run it in a text editor or use the provided Python script. ### Method 1: Using Python Code This script counts from 1 to 10, then executes "
Tool calls
[]
Usage
{
  "alternatives": {},
  "cached_input": 0,
  "input": 32,
  "output": 53,
  "raw": {
    "eval_count": 53,
    "prompt_eval_cached_count": 0,
    "prompt_eval_count": 32
  },
  "reasoning": null,
  "total": 85
}
Stream completed
null
Error
null
Wire excerpt
status: 200
content-type: application/json; charset=utf-8
body (json):
{
  "model": "qwen3.5:0.8b",
  "created_at": "2026-10-12T19:00:54.40490571Z",
  "message": {
    "role": "assistant",
    "content": "Here are two ways to do this. You can copy the code block and run it in a text editor or use the provided Python script.\n\n### Method 1: Using Python Code\nThis script counts from 1 to 10, then executes \""
  },
  "done": true,
  "done_reason": "stop",
  "total_duration": 6648731547,
  "load_duration": 2649670219,
  "prompt_eval_count": 32,
  "prompt_eval_cached_count": 0,
  "prompt_eval_duration": 355958000,
  "eval_count": 53,
  "eval_duration": 3640907000
}

What the library reported

Outcome
returned
Finish
{
  "raw": "stop",
  "source": "choices[0].finish_reason",
  "surface": "primary",
  "value": "stop"
}
Text
Value
Here are two ways to do this. You can copy the code block and run it in a text editor or use the provided Python script. ### Method 1: Using Python Code This script counts from 1 to 10, then executes "
Surface
primary
Tool calls
[]
Usage
{
  "cached_input": null,
  "input": 32,
  "output": 53,
  "reasoning": null,
  "surface": {
    "cached_input": "absent",
    "input": "primary",
    "output": "primary",
    "reasoning": "absent",
    "total": "primary"
  },
  "total": 85
}
Stream
{
  "chunks_seen": null,
  "completed": null,
  "used": false
}
Error
null
Unsupported reason
null
Full observation JSON
{
  "elapsed_ms": 124.74890798330307,
  "error": null,
  "finish": {
    "raw": "stop",
    "source": "choices[0].finish_reason",
    "surface": "primary",
    "value": "stop"
  },
  "format": "wiretruth.observation/v1",
  "library": {
    "api": "any_llm.completion",
    "language": "python",
    "name": "any-llm",
    "version": "1.40.2"
  },
  "notes": [],
  "outcome": "returned",
  "stream": {
    "chunks_seen": null,
    "completed": null,
    "used": false
  },
  "structured": {
    "attempted": false,
    "returned_as_success": false,
    "value": null
  },
  "text": {
    "surface": "primary",
    "value": "Here are two ways to do this. You can copy the code block and run it in a text editor or use the provided Python script.\n\n### Method 1: Using Python Code\nThis script counts from 1 to 10, then executes \""
  },
  "tool_calls": [],
  "unsupported_reason": null,
  "usage": {
    "cached_input": null,
    "input": 32,
    "output": 53,
    "reasoning": null,
    "surface": {
      "cached_input": "absent",
      "input": "primary",
      "output": "primary",
      "reasoning": "absent",
      "total": "primary"
    },
    "total": 85
  }
}

Fixture

recorded ollama/finish.stop-sequence

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

Reproduce

wiretruth serve ollama/finish.stop-sequence

Plain-library snippet from the shim manifest.

any_llm.completion(model=model, provider='ollama', api_base=WIRETRUTH_BASE_URL_OLLAMA, api_key=WIRETRUTH_API_KEY)

Upstream

No matching upstream report.

History

VersionGrade
1.40.2✓ PASS
1.38.0✓ PASS
1.33.0✓ PASS