Commit 351580f
✨ Support text generation task for Nebius AI Studio provider (#1561)
In this PR, I'm adding text-generation task support for the `nebius`
provider (Nebius AI Studio). This is necessary to make completions for
model
[mistralai/Devstral-Small-2505](https://huggingface.co/mistralai/Devstral-Small-2505)
work.
Please let me know if my changes are inconsistent with how you think to
support such models. I will make the necessary changes. Thanks!
Co-authored-by: célina <[email protected]>1 parent cf8e494 commit 351580f
File tree
2 files changed
+50
-1
lines changed- packages/inference
- src/providers
- test
2 files changed
+50
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
53 | 82 | | |
54 | 83 | | |
55 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1424 | 1424 | | |
1425 | 1425 | | |
1426 | 1426 | | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
1427 | 1434 | | |
1428 | 1435 | | |
1429 | 1436 | | |
| |||
1471 | 1478 | | |
1472 | 1479 | | |
1473 | 1480 | | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
1474 | 1494 | | |
1475 | 1495 | | |
1476 | 1496 | | |
| |||
0 commit comments