Find answers from the community

Updated 2 months ago

What's the secret fact

The simple example logs:
Plain Text
DEBUG:llama_agents.control_plane.server - Sending task ef3bd09a-274b-4848-a6ca-7527709e3a07 to services: [QueueMessage(id_='10ab27b2-b089-4d17-8350-5bd9b35bc6ef', publisher_id='default', data={'task_id': 'ef3bd09a-274b-4848-a6ca-7527709e3a07', 'history': [{'role': <MessageRole.USER: 'user'>, 'content': "What's the secret fact?", 'additional_kwargs': {}}], 'result': "I'm not sure what specific secret fact you're referring to. Could you provide more details or clarify what you mean?", 'data': {}}, action=<ActionTypes.COMPLETED_TASK: 'completed_task'>, stats=QueueMessageStats(publish_time=None, process_start_time=None, process_end_time=None), type='human')]
INFO:llama_agents.message_queues.base - Publishing message to 'human' with action 'ActionTypes.COMPLETED_TASK'
DEBUG:llama_agents.message_queues.base - Message: {'id_': '10ab27b2-b089-4d17-8350-5bd9b35bc6ef', 'publisher_id': 'ControlPlaneServer-a450c4fc-37ae-4beb-b571-3039e47760a6', 'data': {'task_id': 'ef3bd09a-274b-4848-a6ca-7527709e3a07', 'history': [{'role': <MessageRole.USER: 'user'>, 'content': "What's the secret fact?", 'additional_kwargs': {}}], 'result': "I'm not sure what specific secret fact you're referring to. Could you provide more details or clarify what you mean?", 'data': {}}, 'action': <ActionTypes.COMPLETED_TASK: 'completed_task'>, 'stats': {'publish_time': None, 'process_start_time': None, 'process_end_time': None}, 'type': 'human'}
DEBUG:llama_agents.control_plane.server - Task ef3bd09a-274b-4848-a6ca-7527709e3a07 created
INFO:llama_agents.message_queues.simple - Successfully published message 'control_plane' to consumer.
INFO:llama_agents.message_queues.simple - Successfully published message 'human' to consumer.
I'm not sure what specific secret fact you're referring to. Could you provide more details or clarify what you mean?
L
1 comment
llama-agents has been repurposed/refactored actually, see the note in the readme of the (now renamed) repo
https://github.com/run-llama/llama_deploy?tab=readme-ov-file#why-llama-deploy
Add a reply
Sign up and join the conversation on Discord