Files
wehub-resource-sync ec2b666284
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
chore: import upstream snapshot with attribution
2026-07-13 13:25:13 +08:00

183 lines
3.9 KiB
JSON

{
"appName": "node_as_tool",
"events": [
{
"author": "user",
"content": {
"parts": [
{
"text": "What discount does customer c123 get?"
}
],
"role": "user"
},
"id": "e-1",
"invocationId": "i-1",
"nodeInfo": {
"path": ""
}
},
{
"author": "customer_service_agent",
"content": {
"parts": [
{
"functionCall": {
"args": {
"user_id": "c123"
},
"id": "fc-1",
"name": "customer_lookup_workflow"
}
}
],
"role": "model"
},
"id": "e-2",
"invocationId": "i-1",
"longRunningToolIds": [
"fc-1"
],
"nodeInfo": {
"path": "customer_service_agent@1"
}
},
{
"author": "customer_lookup_workflow",
"branch": "customer_lookup_workflow@fc-1",
"id": "e-3",
"invocationId": "i-1",
"nodeInfo": {
"outputFor": [
"customer_lookup_workflow@1/lookup_customer_data@1",
"customer_lookup_workflow@1"
],
"path": "customer_lookup_workflow@1/lookup_customer_data@1"
},
"output": {
"tier": "Verified VIP Member",
"user_id": "c123"
}
},
{
"author": "customer_service_agent",
"content": {
"parts": [
{
"functionResponse": {
"id": "fc-1",
"name": "customer_lookup_workflow",
"response": {
"tier": "Verified VIP Member",
"user_id": "c123"
}
}
}
],
"role": "user"
},
"id": "e-4",
"invocationId": "i-1",
"nodeInfo": {
"path": "customer_service_agent@1"
}
},
{
"author": "customer_service_agent",
"content": {
"parts": [
{
"functionCall": {
"args": {
"tier": "Verified VIP Member"
},
"id": "fc-2",
"name": "calculate_discount"
}
}
],
"role": "model"
},
"id": "e-5",
"invocationId": "i-1",
"longRunningToolIds": [
"fc-2"
],
"nodeInfo": {
"path": "customer_service_agent@1"
}
},
{
"author": "calculate_discount",
"branch": "calculate_discount@fc-2",
"content": {
"parts": [
{
"text": "Checking discount rules for tier 'Verified VIP Member'..."
}
],
"role": "user"
},
"id": "e-6",
"invocationId": "i-1",
"nodeInfo": {
"path": "calculate_discount@1"
}
},
{
"author": "calculate_discount",
"branch": "calculate_discount@fc-2",
"id": "e-7",
"invocationId": "i-1",
"nodeInfo": {
"outputFor": [
"calculate_discount@1"
],
"path": "calculate_discount@1"
},
"output": "20% off"
},
{
"author": "customer_service_agent",
"content": {
"parts": [
{
"functionResponse": {
"id": "fc-2",
"name": "calculate_discount",
"response": {
"result": "20% off"
}
}
}
],
"role": "user"
},
"id": "e-8",
"invocationId": "i-1",
"nodeInfo": {
"path": "customer_service_agent@1"
}
},
{
"author": "customer_service_agent",
"content": {
"parts": [
{
"text": "Customer c123 is a Verified VIP Member and gets a 20% discount."
}
],
"role": "model"
},
"id": "e-9",
"invocationId": "i-1",
"nodeInfo": {
"path": "customer_service_agent@1"
}
}
],
"id": "12345678-1234-1234-1234-123456789abc",
"userId": "user"
}