Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions python/src/agent_squad/agents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,8 @@ async def on_llm_start(

Parameters:
self: The instance of the callback handler class.
agent_name: Name of the agent that is starting.
name: Name of the llm that is starting.
payload_input: Dictionary containing the agent's input.
messages: List of message dictionaries representing the conversation history.
run_id: Unique identifier for this specific agent run.
tags: Optional list of string tags associated with this agent run.
metadata: Optional dictionary containing additional metadata about the run.
Expand Down
4 changes: 2 additions & 2 deletions python/src/agent_squad/agents/comprehend_filter_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ def __init__(self, options: ComprehendFilterAgentOptions):
self.comprehend_client = options.client
else:
if options.region:
self.client = boto3.client(
self.comprehend_client = boto3.client(
'comprehend',
region_name=options.region or os.environ.get('AWS_REGION')
)
else:
self.client = boto3.client('comprehend')
self.comprehend_client = boto3.client('comprehend')

self.custom_checks: list[CheckFunction] = []

Expand Down