-
Notifications
You must be signed in to change notification settings - Fork 102
Feature/a2a client add remote agent #589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| headers['parent_group_id'] = input_message.group_id | ||
| return headers | ||
|
|
||
| async def send_remote_response_output(self, remote_response: TaskResponse, context: Context, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reuse llm_agent and micro refactor
| logger.error(f"Error in thread monitor: {e}") | ||
|
|
||
| # check and clean up resources for dead threads every 5 seconds | ||
| time.sleep(5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest configuring the sleep time
| logger.error(f"get agent card failed, agent_id: {self.agent_id}") | ||
| raise ValueError(f"get agent card failed, agent_id: {self.agent_id}") | ||
| return agent_card.description | ||
| desc = sync_exec(remote_agent_desc, self) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest call in init and caching it, async refresh avoids information changes after remote restart
No description provided.