MeiliSearch/crates/meilisearch/tests
meili-bors[bot] 0776217801
Merge #5234
5234: Parse ollama URL to adapt configuration depending on the endpoint r=Kerollmops a=dureuill

# Pull Request

## Related issue
Fixes #5002 

## What does this PR do?
- Parses `url` parameter of `ollama` to recognize supported endpoint and adapt the REST configuration to the recognized endpoint
- Throws a new error if no endpoint is recognized
- Add a test for the various recognized endpoints


Thanks to `@Guikingone` for the original report and PR

Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2025-01-20 09:51:42 +00:00
..
assets Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
auth Format fixes after running: cargo +nightly fmt 2025-01-07 11:16:37 +11:00
batches fix the tests 2025-01-13 16:17:50 +01:00
common fix the tests 2025-01-13 16:17:50 +01:00
dashboard Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
documents Fix tests 2025-01-14 13:55:33 +01:00
dumps Fix tests 2025-01-14 13:55:34 +01:00
features Fix tests 2025-01-14 13:55:34 +01:00
index Merge #5182 2025-01-13 15:18:55 +00:00
logs #4840 - Partial fix - Confirm task success after waiting for it. 2024-12-24 23:06:07 +11:00
search Fix tests 2025-01-14 13:55:33 +01:00
settings Fix tests 2025-01-14 13:55:34 +01:00
similar Fix tests 2025-01-14 13:55:34 +01:00
snapshot Format fixes after running: cargo +nightly fmt 2025-01-07 11:16:37 +11:00
stats #4840 - Partial fix - Confirm task success after waiting for it. 2024-12-24 23:06:07 +11:00
swap_indexes #4840 - Partial fix - Remove hard coded task ids to prevent flaky tests. 2024-12-24 23:05:59 +11:00
tasks fix the tests 2025-01-13 16:17:50 +01:00
vector Merge #5234 2025-01-20 09:51:42 +00:00
content_type.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
integration.rs add the front end tests on the batches routes 2024-11-20 10:51:06 +01:00