mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-15 23:42:37 +00:00
- Add thinking_config parameter to GeminiCompletion.__init__ (accepts dict or ThinkingConfig) - Include thinking_config in _prepare_generation_config when set - Rewrite _process_stream_chunk to iterate over parts directly instead of using chunk.text, avoiding warnings when non-text parts (thought, function_call) are present - Convert _extract_text_from_response from staticmethod to instance method; separate thought parts from text parts and store thoughts in self.previous_thoughts - Add 11 tests covering thinking config initialization, generation config integration, thought part extraction in streaming and non-streaming paths Co-Authored-By: João <joao@crewai.com>