Skip to content

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Nov 13, 2024

$ aichat -S -m qianwen:qwen-turbo-latest -r %functions% what is the weather in Pairs and Berlin?
Call get_current_weather {"location":"Paris"}
Call get_current_weather {"location":"Berlin"}
Error: Failed to call chat-completions api

Caused by:
    <400> InternalError.Algo.InvalidParameter: messages with role "tool" must be a response to a preceeding message with "tool_calls". (type: invalid_request_error)

@sigoden sigoden merged commit ff0ea19 into main Nov 13, 2024
3 checks passed
@sigoden sigoden deleted the fix branch November 13, 2024 10:24
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.

1 participant