A reply that `FALLBACK_MODEL` wrote after `MODEL` declined, with the block that marks the hand-over.
(id: str)
| 364 | |
| 365 | |
| 366 | def fallback_response(id: str) -> httpx2.Response: |
| 367 | """A reply that `FALLBACK_MODEL` wrote after `MODEL` declined, with the block that marks the hand-over.""" |
| 368 | body = message_response(id, iterations=FALLBACK_ITERATIONS).json() |
| 369 | return httpx2.Response(200, json={**body, "model": FALLBACK_MODEL, "content": fallback_reply().get("content")}) |
| 370 | |
| 371 | |
| 372 | def tool_change_replies() -> list[httpx2.Response]: |