Skip to content

2.11.6

Choose a tag to compare

@ilvalerione ilvalerione released this 06 Feb 11:26
· 47 commits to 2.x since this release

Reporting STOP_REASON from the LLM response via the AssistantMessage.

You can now get this information with a dedicated method:

$response = MyAgent::make()->chat(...);

$reson = $response->stopReason();