chore: import upstream snapshot with attribution
Continuous Integration / Pre-commit Linter (push) Waiting to run
Continuous Integration / Mypy Check (Python 3.10) (push) Waiting to run
Continuous Integration / Mypy Check (Python 3.11) (push) Waiting to run
Continuous Integration / Mypy Check (Python 3.12) (push) Waiting to run
Continuous Integration / Mypy Check (Python 3.13) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.10) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.11) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.12) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.13) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.14) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.10) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.11) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.12) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.13) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.14) (push) Waiting to run
Copybara PR Handler / close-imported-pr (push) Waiting to run

This commit is contained in:
wehub-resource-sync
2026-07-13 13:25:13 +08:00
commit ec2b666284
2231 changed files with 491535 additions and 0 deletions
@@ -0,0 +1,36 @@
{
"events": [
{
"author": "user",
"content": {
"parts": [
{
"text": "Hi"
}
],
"role": "user"
},
"id": "e-1",
"invocationId": "i-1",
"nodeInfo": {
"path": ""
}
},
{
"author": "callback_demo_agent",
"content": {
"parts": [
{
"text": "Hello from before_model callback!"
}
],
"role": "model"
},
"id": "e-2",
"invocationId": "i-1",
"nodeInfo": {
"path": "callback_demo_agent@1"
}
}
]
}
@@ -0,0 +1,89 @@
{
"events": [
{
"author": "user",
"content": {
"parts": [
{
"text": "weather in London"
}
],
"role": "user"
},
"id": "e-1",
"invocationId": "i-1",
"nodeInfo": {
"path": ""
}
},
{
"author": "callback_demo_agent",
"content": {
"parts": [
{
"functionCall": {
"args": {
"city": "London"
},
"id": "fc-1",
"name": "get_weather"
}
},
{
"text": "\n\nafter_model_callback: [Token Usage: Input=22, Output=5]"
}
],
"role": "model"
},
"finishReason": "STOP",
"id": "e-2",
"invocationId": "i-1",
"longRunningToolIds": [],
"nodeInfo": {
"path": "callback_demo_agent@1"
}
},
{
"author": "callback_demo_agent",
"content": {
"parts": [
{
"functionResponse": {
"id": "fc-1",
"name": "get_weather",
"response": {
"result": "Weather in London is always rainy (intercepted by callback)."
}
}
}
],
"role": "user"
},
"id": "e-3",
"invocationId": "i-1",
"nodeInfo": {
"path": "callback_demo_agent@1"
}
},
{
"author": "callback_demo_agent",
"content": {
"parts": [
{
"text": "The weather in London is always rainy (intercepted by callback)."
},
{
"text": "\n\nafter_model_callback: [Token Usage: Input=133, Output=13]"
}
],
"role": "model"
},
"finishReason": "STOP",
"id": "e-4",
"invocationId": "i-1",
"nodeInfo": {
"path": "callback_demo_agent@1"
}
}
]
}
@@ -0,0 +1,89 @@
{
"events": [
{
"author": "user",
"content": {
"parts": [
{
"text": "weather in Sunnyvale"
}
],
"role": "user"
},
"id": "e-1",
"invocationId": "i-1",
"nodeInfo": {
"path": ""
}
},
{
"author": "callback_demo_agent",
"content": {
"parts": [
{
"functionCall": {
"args": {
"city": "Sunnyvale"
},
"id": "fc-1",
"name": "get_weather"
}
},
{
"text": "\n\nafter_model_callback: [Token Usage: Input=23, Output=6]"
}
],
"role": "model"
},
"finishReason": "STOP",
"id": "e-2",
"invocationId": "i-1",
"longRunningToolIds": [],
"nodeInfo": {
"path": "callback_demo_agent@1"
}
},
{
"author": "callback_demo_agent",
"content": {
"parts": [
{
"functionResponse": {
"id": "fc-1",
"name": "get_weather",
"response": {
"result": "The weather in Sunnyvale is sunny."
}
}
}
],
"role": "user"
},
"id": "e-3",
"invocationId": "i-1",
"nodeInfo": {
"path": "callback_demo_agent@1"
}
},
{
"author": "callback_demo_agent",
"content": {
"parts": [
{
"text": "The weather in Sunnyvale is sunny."
},
{
"text": "\n\nafter_model_callback: [Token Usage: Input=108, Output=8]"
}
],
"role": "model"
},
"finishReason": "STOP",
"id": "e-4",
"invocationId": "i-1",
"nodeInfo": {
"path": "callback_demo_agent@1"
}
}
]
}