mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 05:58:08 +01:00
renaming signal from confirmed to confirm
This commit is contained in:
@@ -208,13 +208,6 @@ class AgentGoalWorkflow:
|
|||||||
return
|
return
|
||||||
self.prompt_queue.append(prompt)
|
self.prompt_queue.append(prompt)
|
||||||
|
|
||||||
#Signal that comes from api/main.py via a post to /confirm
|
|
||||||
@workflow.signal
|
|
||||||
async def confirmed(self) -> None:
|
|
||||||
"""Signal handler for user confirmation of tool execution."""
|
|
||||||
workflow.logger.info("Received user signal: confirmation")
|
|
||||||
self.confirmed = True
|
|
||||||
|
|
||||||
#Signal that comes from api/main.py via a post to /confirm
|
#Signal that comes from api/main.py via a post to /confirm
|
||||||
@workflow.signal
|
@workflow.signal
|
||||||
async def confirm(self) -> None:
|
async def confirm(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user