Closed ruifengma closed 3 months ago
According to line numbers and code in the logging, you're using the commit before supporting streaming mode, but the formatted_str
function and attribute _colored_name
is added to support streaming mode.
Could you provide the commit id of your current agentscope repo? (The top commit id when executing git log
)
Hi @DavdGao ,here you go 0f1571497e863d3e186eb486a55bfe90a2844b4a
It's very strange since we can find the attribute _colored_name
in your commit https://github.com/modelscope/agentscope/blob/0f1571497e863d3e186eb486a55bfe90a2844b4a/src/agentscope/message.py#L167
Please try to reinstall AgentScope from the source as follows
git clone https://github.com/modelscope/agentscope.git
cd agentscope
pip install -e .
It's very strange since we can find the attribute
_colored_name
in your commitPlease try to reinstall AgentScope from the source as follows
git clone https://github.com/modelscope/agentscope.git cd agentscope pip install -e .
got the same problem, and I have reinstalled the agentscope, but I still meet the same bug.
I have reproduced the error in the commit 0f1571 successfully. However, this bug has been already solved in PR: https://github.com/modelscope/agentscope/commit/83537a190c56c4d8a07034f5426b90e7518a6fc4
Please check if you're using the latest commit (17aec270d041a25c74d0db899508302174eb4af3)
Feel free to create a new issue if needed, closing this for now.
Describe the bug
To Reproduce
This is the example from the repo
Expected behavior inference without error
Error messages AttributeError: no attribute '_colored_name'
Environment (please complete the following information):
Additional context Add any other context about the problem here.