Find answers from the community

Updated 9 months ago

tool2=code_spec.to_tool_list()

tool2=code_spec.to_tool_list()
L
t
8 comments
combine those into a sigle list of tools?
yes i tried but only one of them gets triggered
is there another way of combining tools and make a single agent out of them?
i tried using the example given on documentation page but that too doesnt work for me
WARNING:llama_index.llms.openai.utils:Retrying llama_index.llms.openai.base.OpenAI._chat in 0.40240643987967806 seconds as it raised BadRequestError: Error code: 400 - {'error': {'message': "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: call_1lgE49IzjuMqltHFlEKfA175", 'type': 'invalid_request_error', 'param': 'messages.[2].role', 'code': None}}.
this is the error message it throws
@Logan M can u suggest some workaround?
Add a reply
Sign up and join the conversation on Discord