a2a-source-edit: write agent.py
This commit is contained in:
1
agent.py
1
agent.py
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user