Skip to content

Commit 82bdd4f

Browse files
Fixing lint errors
git push
1 parent 0d0a482 commit 82bdd4f

File tree

2 files changed

+11
-7
lines changed
  • examples/tutorials/10_agentic/10_temporal/010_agent_chat
  • src/agentex/lib/core/services/adk/providers

2 files changed

+11
-7
lines changed

examples/tutorials/10_agentic/10_temporal/010_agent_chat/dev.ipynb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
},
9292
{
9393
"cell_type": "code",
94-
"execution_count": null,
94+
"execution_count": 5,
9595
"id": "4",
9696
"metadata": {},
9797
"outputs": [
@@ -1514,6 +1514,13 @@
15141514
},
15151515
"metadata": {},
15161516
"output_type": "display_data"
1517+
},
1518+
{
1519+
"name": "stdout",
1520+
"output_type": "stream",
1521+
"text": [
1522+
"Streaming timed out after 120 seconds - returning collected messages\n"
1523+
]
15171524
}
15181525
],
15191526
"source": [

src/agentex/lib/core/services/adk/providers/openai.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Standard library imports
2-
import json
32
from typing import Any, Literal
43
from contextlib import AsyncExitStack, asynccontextmanager
54

@@ -13,14 +12,13 @@
1312
from openai.types.responses import (
1413
ResponseCompletedEvent,
1514
ResponseTextDeltaEvent,
16-
ResponseFunctionWebSearch,
17-
ResponseCodeInterpreterToolCall,
1815
ResponseFunctionToolCall,
16+
ResponseFunctionWebSearch,
1917
ResponseOutputItemDoneEvent,
20-
ResponseTextDeltaEvent,
18+
ResponseCodeInterpreterToolCall,
19+
ResponseReasoningSummaryPartDoneEvent,
2120
ResponseReasoningSummaryPartAddedEvent,
2221
ResponseReasoningSummaryTextDeltaEvent,
23-
ResponseReasoningSummaryPartDoneEvent,
2422
)
2523

2624
# Local imports
@@ -31,7 +29,6 @@
3129
from agentex.lib.core.tracing.tracer import AsyncTracer
3230
from agentex.types.task_message_delta import (
3331
TextDelta,
34-
ReasoningContentDelta,
3532
ReasoningSummaryDelta,
3633
)
3734
from agentex.types.task_message_update import (

0 commit comments

Comments
 (0)