logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
2. Use the LlamaIndex callback handler to track events and see where the process might be failing:
python
import llama_index.core
llama_index.core.set_global_handler("simple")
``
3. Review your agent configurations, especially the
can_handoff_to` parameters, to ensure they're set up correctly.
- Check that all agents in your workflow are properly initialized and have the necessary tools and prompts.
If you're still facing issues after trying these steps, you might want to create a minimal reproducible example and seek help from the LlamaIndex community or support channels, as the problem might be specific to your implementation.
LlamaIndex Tracing and Debugging----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------