-
Notifications
You must be signed in to change notification settings - Fork 347
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
[Bug]: werewolf_utils:extract_name_and_id:58 - vote: invalid name wait and see, set to Abstain #486
Comments
@qbc2016 please take a look at this issue. |
Hello, your model configuration settings for ollama are correct, the following is all you need:
The error occurs because the model does not follow the prompt correctly. |
this is full log
Moderator: Which player do you vote to kill?
(I'm choosing to not vote at this point, hoping to gather more information from my fellow villagers.)
Traceback (most recent call last):
|
This happens because in the MarkdownJsonDictParser, the prompt setting instructs the LLM to generate responses in JSON format as follows: |
Thanks for reply, I'm focusing on game |
AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English.
Describe the bug
I want to run
game_werewolf
example using local OllamaTo Reproduce
Steps to reproduce the behavior:
Expected behavior
I am trying to find documents about customizing ollama this config in
model_configs.json
original code
But I don't find anything can resolve, please help me edit this config with ollama and run this example.
Environment (please complete the following information):
I have tried to change majority_vote.py like below, but still not working
There are too many things that I don't know, please help me run the example to understand these knowledge. Thanks
http://localhost:5000 is url of agent scope ui
The text was updated successfully, but these errors were encountered: