Open sunyq1995 opened 11 months ago
This can happen sometimes, especially with weak models. Is gpt-3.5 in use?
Hi @sonichi, thanks for your reply. I've tried to use gpt4, however, it returned same error as gpt3.5. and I'm also curious where is the return format provided to gpt?
@kevin666aa could you follow up?
have the same issue. please can you either resolve that issue, i.e. ensuring always json format for function calling or advise on how we can force/wrap/... the assistant return or user-proxy function call to be the required json (or make python function call accept also pure python code. in the meantime had to write separate function python call as the standard python code_execution seems to fail arbitrarily. propose to try to accept also pure function code or detecting missing json and auto-transform it.
Hi, I'm running the given example named agentchat_function_call.ipynb in the notebook, and meet the error that " You argument should follow json format.". It looks like the assistant agent return wrong format of code, could anyone help? Thanks!
All returns: