Skip to content

Conversation

@simonpcouch
Copy link
Collaborator

Closes #31. :)


as_tool_call_result <- function(data, result) {
is_error <- FALSE
if (inherits(result, "btw::BtwToolResult")) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Doing so conditionally so that we can continue to support arbitrary functions as tools.

@simonpcouch simonpcouch merged commit 71edb4a into main May 28, 2025
6 checks passed
@simonpcouch simonpcouch deleted the session-31 branch May 28, 2025 15:25
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.

coercion error with code -32603

2 participants