Devin AI
d422439b7a
Fix Ollama embedding configurator to respect API_BASE environment variable
- Add support for API_BASE environment variable in _configure_ollama method
- Implement priority order: url config > api_base config > API_BASE env var > default
- Handle URL construction with proper /api/embeddings endpoint appending
- Maintain backward compatibility with existing url parameter
- Add comprehensive tests covering all configuration scenarios
- Fixes issue #3099: Ollama integration problems with API_BASE configuration
The fix ensures consistent behavior with other embedding providers and
allows users to configure Ollama embeddings using environment variables
for better deployment flexibility.
Co-Authored-By: João <joao@crewai.com>
2025-07-01 22:01:45 +00:00
..
2025-04-29 07:35:26 -07:00
2025-06-25 14:59:55 -04:00
2025-06-26 12:29:06 -04:00
2025-04-30 10:47:58 -04:00
2025-05-01 15:48:29 -04:00
2025-04-29 07:35:26 -07:00
2024-12-04 12:39:34 -05:00
2025-03-14 03:00:30 -03:00
2025-04-29 07:35:26 -07:00
2025-06-10 17:38:40 -07:00
2025-06-10 12:17:06 -04:00
2025-07-01 22:01:45 +00:00
2023-10-29 19:51:59 -03:00
2025-05-20 07:40:40 -07:00
2025-06-20 10:53:37 -04:00
2025-05-21 12:58:57 -07:00
2025-06-14 12:21:46 -07:00
2025-07-01 09:30:16 -04:00
2025-02-26 13:42:17 -05:00
2025-04-09 09:35:05 +00:00
2025-05-29 14:34:34 -04:00
2025-06-25 14:59:55 -04:00
2025-05-21 12:58:57 -07:00
2025-05-21 12:58:57 -07:00
2025-01-20 13:30:09 -03:00
2025-06-11 12:08:00 -04:00
2025-02-19 13:52:47 -08:00
2025-05-21 13:47:41 -04:00
2025-06-26 09:55:53 -04:00
2025-05-19 23:26:03 -07:00
2025-03-26 16:29:15 -03:00
2025-05-21 13:47:41 -04:00