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

agentchat_groupchat.ipynb failed #787

Closed
kouyanming opened this issue Nov 28, 2023 · 6 comments
Closed

agentchat_groupchat.ipynb failed #787

kouyanming opened this issue Nov 28, 2023 · 6 comments
Labels
group chat/teams group-chat-related issues models Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.)

Comments

@kouyanming
Copy link

Why do I run agentchat_groupchat.ipynb get an error when I request openai parameter is wrong, only request parameter is the following format {'messages': [{' content ':' you are a mathematician ', 'role' : 'the system'}, {' content ':' who are you, 'role' : 'user'}], 'model' : 'baichuan - chat'}, but much more parameters would be an error.

@rickyloynd-microsoft
Copy link
Contributor

Can you paste the complete error here?

@kouyanming
Copy link
Author

kouyanming commented Nov 28, 2023

image
The above parameter is the parameter when calling openai, but it will be used as a parameter when executing the following code will report an error message of 404
response, _, api_key = requestor.request( "post", url, params=params, headers=headers, stream=stream, request_id=request_id, request_timeout=request_timeout, )

@kouyanming
Copy link
Author

Can you paste the complete error here?
I am very much looking forward to your reply

@gagb gagb added the group chat/teams group-chat-related issues label Nov 28, 2023
@sonichi sonichi added the models Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.) label Dec 3, 2023
@sonichi
Copy link
Contributor

sonichi commented Dec 3, 2023

@thinkall Is this related to #762 ?

@thinkall
Copy link
Collaborator

thinkall commented Dec 4, 2023

@thinkall Is this related to #762 ?

Could be. @kouyanming could you share how do you set up your LLM endpoint?

@thinkall
Copy link
Collaborator

Closing this issue due to inactivity. If you have further questions, please open a new issue or join the discussion in AutoGen Discord server: https://discord.com/invite/Yb5gwGVkE5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group chat/teams group-chat-related issues models Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.)
Projects
None yet
Development

No branches or pull requests

5 participants