This message was deleted.
# proj-integrations
d
This message was deleted.
b
When use openrouter debug with open hands messages and tools , i get whole error output:
{'message': 'Provider returned error',
'code': 400,
`'metadata': {'raw': '{"type":"error","error":{"type":"invalid_request_error","message":"Your API request included an
assistant
message in the final position, which would pre-fill the
assistant
response. When using tools, pre-filling the
assistant
response is not supported."}}',`
'provider_name': 'Anthropic'}}
checked, work: could use openrouter claude-3-5-haiku-20241022 tools by_change_content_to_str. i couldn't find way to do it in Open hands. Coz it take so much time to fix a bug only in openrouter. Using ANTHROPIC is a solution. Dont use Openrouter with function calling. 🥲