File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
examples/tutorials/10_async/10_temporal/090_claude_agents_sdk_mvp/project Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ jobs:
122122
123123 build-agents :
124124 needs : find-agents
125- if : ${{ needs.find-agents.outputs.has_agents == 'true' && needs.find-agents.outputs.agents != '[]' }}
125+ if : ${{ needs.find-agents.outputs.has_agents == 'true' }}
126126 runs-on : ubuntu-latest
127127 timeout-minutes : 15
128128 strategy :
Original file line number Diff line number Diff line change 55
66# === DEBUG SETUP (AgentEx CLI Debug Support) ===
77if os .getenv ("AGENTEX_DEBUG_ENABLED" ) == "true" :
8+ print ("test me" )
89 try :
910 import debugpy
11+
1012 debug_port = int (os .getenv ("AGENTEX_DEBUG_PORT" , "5679" ))
1113 debug_type = os .getenv ("AGENTEX_DEBUG_TYPE" , "acp" )
1214 wait_for_attach = os .getenv ("AGENTEX_DEBUG_WAIT_FOR_ATTACH" , "false" ).lower () == "true"
13-
15+
1416 # Configure debugpy
1517 debugpy .configure (subProcess = False )
1618 debugpy .listen (debug_port )
17-
19+
1820 print (f"🐛 [{ debug_type .upper ()} ] Debug server listening on port { debug_port } " )
19-
21+
2022 if wait_for_attach :
2123 print (f"⏳ [{ debug_type .upper ()} ] Waiting for debugger to attach..." )
2224 debugpy .wait_for_client ()
2325 print (f"✅ [{ debug_type .upper ()} ] Debugger attached!" )
2426 else :
2527 print (f"📡 [{ debug_type .upper ()} ] Ready for debugger attachment" )
26-
28+
2729 except ImportError :
2830 print ("❌ debugpy not available. Install with: pip install debugpy" )
2931 sys .exit (1 )
5254 type = "temporal" ,
5355 temporal_address = os .getenv ("TEMPORAL_ADDRESS" , "localhost:7233" ),
5456 plugins = [OpenAIAgentsPlugin (model_provider = temporal_streaming_model_provider )],
55- interceptors = [context_interceptor ]
56- )
57+ interceptors = [context_interceptor ],
58+ ),
5759)
5860
5961
6971
7072# @acp.on_task_cancel
7173# This does not need to be handled by your workflow.
72- # It is automatically handled by the temporal client which cancels the workflow directly
74+ # It is automatically handled by the temporal client which cancels the workflow directly
75+
You can’t perform that action at this time.
0 commit comments