Running tasksolving/24point: string indices must be integers, not 'str'
641217688tly opened this issue · comments
LiYan Tao commented
agentverse-tasksolving --task tasksolving/tool_using/24point
No vLLM server running at the specified URL.
BMTools is not installed, tools in the simulation environment cannot be used. To install BMTools, please follow the instruction in the README.md file. If you aren't running a *simulation* case with tool, you can ignore this warning.
Loop Round 0
Role Assignment:
a mathematician with a deep understanding of combinatorics and number theory, which are essential for understanding and solving the 24-Point Game
a computer scientist specializing in artificial intelligence and machine learning, who can help in understanding how AI models can be trained and tested using games like the 24-Point Game
a game designer with experience in creating and analyzing logic and puzzle games, who can provide insights into other similar games that can be used to test the models' mathematical reasoning abilities
Reviews:
[Bella]: The 24-Point Game is a mathematical puzzle game, usually played with a deck of playing cards. Each player is dealt four cards fro
m the deck, and they must use all four numbers on the cards in any combination of addition, subtraction, multiplication, or division to re
ach the number 24. The player must use all four numbers once and only once. It's a good game for testing the mathematical reasoning abilities of AI models.
To address the task at hand, I propose the following sub-tasks:
1. Explain the 24-Point Game in more detail and discuss its relevance to AI and machine learning (Bella).
2. Write a Python code solution for the 24-Point Game and test its functionality (Bella).
3. Research and discuss other similar games that can be used to test the mathematical reasoning abilities of AI models (Charlie).
Charlie, does this breakdown seem reasonable to you? Do you have any suggestions or other games on your mind?
Reviews:
[Charlie]: That sounds like a good plan, Bella. I can definitely research and discuss other similar games that can be used to test mathematical reasoning abilities of AI models. Some games that come to my mind are Sudoku, Magic Squares, and the Tower of Hanoi. I'll provide detailed insights into these games and how they can be used for testing AI models.
Decision Plan:
Bella - Explain the 24-Point Game in more detail and discuss its relevance to AI and machine learning, and write a Python code solution for the 24-Point Game and test its functionality.
Charlie - Research and discuss other similar games such as Sudoku, Magic Squares, and the Tower of Hanoi that can be used to test the mathematical reasoning abilities of AI models.
string indices must be integers, not 'str'
Retrying...
string indices must be integers, not 'str'
Retrying...
string indices must be integers, not 'str'
Retrying...
string indices must be integers, not 'str'
Retrying...
string indices must be integers, not 'str'
Retrying...
string indices must be integers, not 'str'
Retrying...
Error code: 429 - {'error': {'message': 'Rate limit reached for gpt-4 in organization org-8HVqZkwkEi9l8Umi3cS7raUZ on tokens per min (TPM)
: Limit 10000, Used 9483, Requested 1290. Please try again in 4.638s. Visit https://platform.openai.com/account/rate-limits to learn more.', 'type': 'tokens', 'param': None, 'code': 'rate_limit_exceeded'}}
Retrying...
string indices must be integers, not 'str'
Retrying...
Before running, I have pulled and started the ToolServer image provided by XAgnet as instructed in the README.
However, when running tasksolving/24point, the cmd show that "string indices must be integers, not 'str'".
Hua Tang commented
Hi there. I've run into the same error. Do you solve it?