a2a-source-edit: write agent.py

This commit is contained in:
a2a-cloud
2026-07-13 11:15:43 +00:00
parent 97765bce78
commit e9222f519b

View File

@@ -42,6 +42,7 @@ APPROVAL_PHRASE = "I_APPROVE_THE_LISTED_STEPS"
OUTPUT_ROOT = "outputs/integrations" OUTPUT_ROOT = "outputs/integrations"
SECRET_WORDS = ("secret", "token", "password", "passwd", "apikey", "api_key", "authorization", "bearer") SECRET_WORDS = ("secret", "token", "password", "passwd", "apikey", "api_key", "authorization", "bearer")
def _tool_input_schema(request_model: type[BaseModel]) -> dict[str, Any]: def _tool_input_schema(request_model: type[BaseModel]) -> dict[str, Any]:
return { return {
"type": "object", "type": "object",