Commit 542fba9
committed
chore(mistral): Update Mistral provider files and remove outdated VCR cassettes
- Refactored the chat provider to be closer to the other implementations.
- No longer ignoring specs except custom dimensions.
- Refactored error message formatting in the Mistral provider.
- Mistral (small) may hallucinate tools which explains previous failures. Added robustness for that.
- Updated chat and streaming files to include necessary modules and methods.
- Removed outdated VCR cassettes related to Mistral functionality.
- Updated test fixtures to reflect changes in API responses and model handling.
- Added frozen string literal to Mistral provider files for performance.1 parent 1c6365f commit 542fba9
File tree
42 files changed
+641
-5089
lines changed- lib/ruby_llm/providers
- mistral
- spec
- fixtures/vcr_cassettes
- ruby_llm
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+641
-5089
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | | - | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
0 commit comments