Skip to content

Expose raw http response in model API response#714

Open
dumbbellcode wants to merge 6 commits into
laravel:0.xfrom
dumbbellcode:feat/support_raw_http_response_in_text_response
Open

Expose raw http response in model API response#714
dumbbellcode wants to merge 6 commits into
laravel:0.xfrom
dumbbellcode:feat/support_raw_http_response_in_text_response

Conversation

@dumbbellcode

@dumbbellcode dumbbellcode commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Usage

$response = $agent->prompt('Summarise this document.')
$httpResponse = $response->raw // accessible from the last api call

@dumbbellcode dumbbellcode changed the title Support raw http response in text response Expose raw http response in model API response Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant