Skip to content

Conversation

@jayjfletcher
Copy link

… in schemas

  • Added test cases for tool calls with various inputs in both Anthropics and Converses.
  • Improved handling of empty tool call arguments by converting them to stdClass objects.
  • Updated ToolMap and MessageMap to standardize the mapping of parameterless tools.
  • Introduced providerToolCalls as an empty array in text handlers for consistency.

Description

I ran into some issues (mostly mapping) due to some changes in the main Prism package not being reflected in the Bedrock package, so I went ahead and got things up to snuff.

Breaking Changes

… in schemas

- Added test cases for tool calls with various inputs in both Anthropics and Converses.
- Improved handling of empty tool call arguments by converting them to stdClass objects.
- Updated `ToolMap` and `MessageMap` to standardize the mapping of parameterless tools.
- Introduced `providerToolCalls` as an empty array in text handlers for consistency.
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.

2 participants