(client: OpenAI)
| 110 | |
| 111 | |
| 112 | def 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 | |
| 123 | def test_prefill_exactly_one_page(client: OpenAI): |
nothing calls this directly
no outgoing calls
no test coverage detected