async def get_response(self,
message: str | list[TResponseInputItem],
recipient_agent: str | Agent | None = None,
context_override: dict[str, Any] | None = None,
hooks_override: RunHooks | None = None,
run_config: RunConfig | None = None,
message_files: list[str] | None = None,
file_ids: list[str] | None = None,
additional_instructions: str | None = None,
**kwargs: Any
) -> RunResult:
"""
Initiate an interaction with a specified agent within the agency.
Parameters:
message: The input message for the agent
recipient_agent: Target agent instance or name (defaults to first entry point)
context_override: Additional context to pass to the agent run
hooks_override: Specific hooks to use for this run, overriding agency defaults
run_config: Configuration for the agent run
message_files: Backward compatibility parameter for file attachments
file_ids: Additional file IDs for the agent run
additional_instructions: Additional instructions for this run only
**kwargs: Additional arguments passed to the target agent's get_response
Returns:
RunResult: The result of the agent execution chain
"""