Files
crewAI/tests
Devin AI 39ea952acd Implement LLM generations, logprobs, and XML parsing features
- Add support for n generations and logprobs parameters in LLM class
- Extend Agent class to accept LLM generation parameters (llm_n, llm_logprobs, llm_top_logprobs)
- Add return_full_completion parameter to access complete LLM response metadata
- Implement XML parser utility for extracting content from tags like <thinking>
- Add completion metadata support to TaskOutput and LiteAgentOutput classes
- Add comprehensive tests and examples demonstrating new functionality
- Maintain full backward compatibility with existing code

Addresses issue #3052: How to obtain n generations or generations in different tags

Co-Authored-By: João <joao@crewai.com>
2025-06-24 05:14:22 +00:00
..
2025-03-14 03:00:30 -03:00
2023-10-29 19:51:59 -03:00