Commit 392a887
committed
[owl] Fix byok check on actual deployment provider (#914)
* fix EmbeddedLLM/JAM.ai.dev#913
* billing is now deployment provider-aware
* quota check depends on deployment provider - org key pair
* UI model selection will check deployment provider - org key pair
* in byok case, if the org has credit/quota for other deployment byok deployment will be prioritized, but still able to fallback.1 parent 299cb1f commit 392a887
File tree
7 files changed
+936
-38
lines changed- services
- api
- src/owl
- routers
- utils
- billing
- tests
- routers
- utils
- app/src/lib/components/preset
7 files changed
+936
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | 163 | | |
| 164 | + | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
| |||
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
234 | | - | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
| |||
264 | 266 | | |
265 | 267 | | |
266 | 268 | | |
267 | | - | |
268 | 269 | | |
| 270 | + | |
| 271 | + | |
269 | 272 | | |
270 | 273 | | |
271 | 274 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
547 | 556 | | |
548 | 557 | | |
549 | | - | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
550 | 563 | | |
551 | 564 | | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
552 | 572 | | |
553 | 573 | | |
554 | 574 | | |
555 | 575 | | |
556 | 576 | | |
| 577 | + | |
| 578 | + | |
557 | 579 | | |
558 | 580 | | |
559 | 581 | | |
| |||
598 | 620 | | |
599 | 621 | | |
600 | 622 | | |
| 623 | + | |
| 624 | + | |
601 | 625 | | |
602 | 626 | | |
603 | 627 | | |
| |||
651 | 675 | | |
652 | 676 | | |
653 | 677 | | |
654 | | - | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
655 | 683 | | |
656 | 684 | | |
657 | 685 | | |
658 | 686 | | |
659 | 687 | | |
660 | 688 | | |
| 689 | + | |
| 690 | + | |
661 | 691 | | |
662 | 692 | | |
663 | 693 | | |
| |||
690 | 720 | | |
691 | 721 | | |
692 | 722 | | |
693 | | - | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
694 | 728 | | |
695 | 729 | | |
696 | 730 | | |
697 | 731 | | |
698 | 732 | | |
699 | 733 | | |
| 734 | + | |
| 735 | + | |
700 | 736 | | |
701 | 737 | | |
702 | 738 | | |
| |||
0 commit comments