MCPcopy Create free account
hub / github.com/ScalingIntelligence/tokasaurus / test_decode_one_token

Function test_decode_one_token

tests/test_basic.py:112–120  ·  view source on GitHub ↗
(client: OpenAI)

Source from the content-addressed store, hash-verified

110
111
112def test_decode_one_token(client: OpenAI):
113 response = client.completions.create(
114 model="",
115 prompt=abc_prompt,
116 max_tokens=1,
117 temperature=0.0,
118 )
119
120 assert response.choices[0].text == " A"
121
122
123def test_prefill_exactly_one_page(client: OpenAI):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected