Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500: 'Message' object has no attribute 'tool_calls' #59

Open
anzestrela opened this issue Jun 27, 2024 · 1 comment
Open

500: 'Message' object has no attribute 'tool_calls' #59

anzestrela opened this issue Jun 27, 2024 · 1 comment

Comments

@anzestrela
Copy link

I am running a slightly modified version of farfalle, to be able to use a custom OpenAI compatable API I changed llm.llm = LiteLLM(model=llm.llm.model) to llm.llm = LiteLLM(model=llm.llm.model, api_base="http://192.168.73.78:5000/v1") it generates the answer but when trying to generate related_queries it errors with: 500: 'Message' object has no attribute 'tool_calls' I know that the version of llama3-8b I am using supports function calling, as it is working with openwebUI.

@arsaboo
Copy link
Contributor

arsaboo commented Jun 29, 2024

Yeah, looks like llama3 does not work very well. Try other models.

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

No branches or pull requests

2 participants