aboutsummaryrefslogtreecommitdiff
path: root/speller_agent.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-10-13 22:21:52 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2023-10-13 22:21:52 -0600
commit7a52807cb1180bb45d4186780a379686dc6c2972 (patch)
tree6df99bdc7afcc6bef359aa5853e959ea1ac83e7b /speller_agent.py
parent5970e1ae2037636ff14a466b61da801ca18c4744 (diff)
ooga chaga
Diffstat (limited to 'speller_agent.py')
-rw-r--r--speller_agent.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/speller_agent.py b/speller_agent.py
index 9328e88..ff25915 100644
--- a/speller_agent.py
+++ b/speller_agent.py
@@ -21,6 +21,7 @@ class SpellerAgent(RespondAgent[SpellerAgentConfig]):
conversation_id: str,
is_interrupt: bool = False,
) -> Tuple[Optional[str], bool]:
+ print("SpellerAgent: ", human_input)
return "".join(c + " " for c in human_input), False
@@ -28,6 +29,7 @@ class SpellerAgentFactory(AgentFactory):
def create_agent(
self, agent_config: AgentConfig, logger: Optional[logging.Logger] = None
) -> BaseAgent:
+ print("Setting up agent")
if agent_config.type == AgentType.CHAT_GPT:
return ChatGPTAgent(
agent_config=typing.cast(ChatGPTAgentConfig, agent_config)