Skip to content

Commit

Permalink
fix: typo in logger call and error path in gui [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
chenweize1998 committed Oct 23, 2023
1 parent 193088a commit dd4e651
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 75 deletions.
6 changes: 3 additions & 3 deletions agentverse/agents/simulation_agent/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

from agentverse.message import Message

#from . import agent_registry
#from .base import BaseAgent
# from . import agent_registry
# from .base import BaseAgent
from agentverse.agents import agent_registry
from agentverse.agents.base import BaseAgent

Expand Down Expand Up @@ -66,7 +66,7 @@ async def astep(self, env_description: str = "") -> Message:
raise
except Exception as e:
logger.error(e)
logger.warning("Retrying...")
logger.warn("Retrying...")
continue

if parsed_response is None:
Expand Down
Loading

0 comments on commit dd4e651

Please sign in to comment.