Skip to content

Commit b835341

Browse files
committed
print the output in this example
1 parent 3f9b8f5 commit b835341

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/responses/basic.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ end
2222

2323
print("Response ID: " .. response.id)
2424
print("Status: " .. (response.status or "unknown"))
25+
print(response.output[1].content[1].text)
2526

2627
print("\n== Streaming example (via session) ==")
2728
local stream_session = client:new_responses_chat_session()

0 commit comments

Comments
 (0)