ai.clients._wrapper_turn

(internal) A wrapper's turn over its member `attempts`, oldest first: it answers as the last one, which succeeded, and makes no call itself.

Reference version

Signature

function ai.clients._wrapper_turn(attempts: ai.ModelTurn[]) -> ai.ModelTurn throws never

(internal) A wrapper's turn over its member attempts, oldest first: it answers as the last one, which succeeded, and makes no call itself.

Source:<builtin>/ai/ns_clients/clients.bamlbytes 9513–9719