MetaGPT+Zhipu glm-4 generated the cli_blackjack game can not run
Bug description
looks like the generated code has dependency issues among the classes.
% python main.py
Do you want to play a game of Blackjack? [Y/n] Y
Traceback (most recent call last):
File "/Users/xuxiaotian/project/metaGPT/MetaGPT/workspace/cli_blackjack/cli_blackjack/main.py", line 98, in
Bug solved method
Environment information
- LLM type and model name: zhipu, glm-4
- System version: MacOS 14.4.1,
- Python version: 3.9
- MetaGPT version or branch: dev version
- packages version:
- installation method: pip install from source
Screenshots or logs
I met the same problem, it seems that zhipu glm-4 is bad at code generation.
Due to the lack of updates or replies by the user for a long time, we will close it. Please reopen it if necessary.
This issue has been closed because it took too long.