mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
renaming workflows and activities
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import asyncio
|
||||
|
||||
from shared.config import get_temporal_client
|
||||
from workflows.tool_workflow import ToolWorkflow
|
||||
from workflows.agent_goal_workflow import AgentGoalWorkflow
|
||||
|
||||
|
||||
async def main():
|
||||
@@ -12,7 +12,7 @@ async def main():
|
||||
handle = client.get_workflow_handle(workflow_id)
|
||||
|
||||
# Queries the workflow for the conversation history
|
||||
history = await handle.query(ToolWorkflow.get_conversation_history)
|
||||
history = await handle.query(AgentGoalWorkflow.get_conversation_history)
|
||||
|
||||
print("Conversation History")
|
||||
print(history)
|
||||
|
||||
Reference in New Issue
Block a user