Skip to content

Conversation

@ipince
Copy link
Contributor

@ipince ipince commented Nov 10, 2025

Summary

TSIA

How was it tested?

Unit test; running testpitot locally

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 License.

By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the Community Contribution License.

@ipince ipince requested a review from loreto November 10, 2025 22:34
Copy link
Contributor

@loreto loreto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

"action": {
"type": "screenshot"
},
"pending_safety_checks": []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to omit this field and test it all works even with the field omitted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, done

"command": "ls -la",
"working_directory": "/tmp"
"call_id": "call_123",
"action": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are really polishing the computer call use case, it could be good to add test cases for all the possible actions open ai returns.

And maybe another test for pending safety checks (omitted, empty, and filled)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do that in a separate PR

@ipince ipince merged commit c5c7c5a into main Nov 10, 2025
13 checks passed
@ipince ipince deleted the rodrigo/aisdk-tool-call-id branch November 10, 2025 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants