Skip to content

Commit

Permalink
[hotfix] Fix missing UserAgent (#5)
Browse files Browse the repository at this point in the history
* Update __init__.py

* format
  • Loading branch information
rayrayraykk authored Jan 16, 2024
1 parent 06929d7 commit 1d6d98d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/agentscope/agents/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# -*- coding: utf-8 -*-
""" Import all agent related modules in the package. """
""" Import all agent-related modules in the package. """
from typing import Callable
from .agent import AgentBase
from .rpc_agent import RpcAgentBase
from .dialog_agent import DialogAgent
from .dict_dialog_agent import DictDialogAgent
from .user_agent import UserAgent

# todo: convert Operator to a common base class for AgentBase and PipelineBase
_Operator = Callable[..., dict]
Expand All @@ -15,4 +16,5 @@
"RpcAgentBase",
"DialogAgent",
"DictDialogAgent",
"UserAgent",
]

0 comments on commit 1d6d98d

Please sign in to comment.