forked fromjanhq/cortex.cpp
- Notifications
You must be signed in to change notification settings - Fork0
Commitf8c1df6
fix: engine Issues & API Issues (janhq#1811)
* chore: convention* fix: correct get remote model list* feat: auto generate remote model config* feat: support update remote engine* fix: do not generate remote model* chore: change engine_name to engine* fix: api key template on engine level* fix: add type for local engine* chore: cleanup* fix: add remote engine to /v1/engines GET* fix: build* fix: load engine when start model* chore: add log* fix: ignore chat_completions in model* fix: delete remote model* fix: replace api_key_template by header_template* fix: use engine from model yaml* fix: better error handling in stream mode* chore: cleanup* chore: unit test for anthropic response---------Co-authored-by: vansangpfiev <sang@jan.ai>1 parentc508e68 commitf8c1df6
File tree
20 files changed
+663
-322
lines changed- docs/static/openapi
- engine
- common
- config
- controllers
- cortex-common
- database
- extensions/remote-engine
- services
- test/components
20 files changed
+663
-322
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5388 | 5388 | | |
5389 | 5389 | | |
5390 | 5390 | | |
5391 | | - | |
5392 | | - | |
| 5391 | + | |
| 5392 | + | |
5393 | 5393 | | |
5394 | 5394 | | |
5395 | 5395 | | |
5396 | 5396 | | |
5397 | 5397 | | |
5398 | 5398 | | |
5399 | 5399 | | |
5400 | | - | |
| 5400 | + | |
5401 | 5401 | | |
5402 | | - | |
| 5402 | + | |
5403 | 5403 | | |
5404 | 5404 | | |
5405 | 5405 | | |
| |||
5432 | 5432 | | |
5433 | 5433 | | |
5434 | 5434 | | |
5435 | | - | |
| 5435 | + | |
5436 | 5436 | | |
5437 | 5437 | | |
5438 | 5438 | | |
| |||
5454 | 5454 | | |
5455 | 5455 | | |
5456 | 5456 | | |
5457 | | - | |
| 5457 | + | |
5458 | 5458 | | |
5459 | 5459 | | |
5460 | 5460 | | |
| |||
6162 | 6162 | | |
6163 | 6163 | | |
6164 | 6164 | | |
6165 | | - | |
| 6165 | + | |
6166 | 6166 | | |
6167 | | - | |
| 6167 | + | |
6168 | 6168 | | |
6169 | 6169 | | |
6170 | 6170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 49 | + | |
| 50 | + | |
75 | 51 | | |
76 | 52 | | |
77 | 53 | | |
| |||
80 | 56 | | |
81 | 57 | | |
82 | 58 | | |
83 | | - | |
| 59 | + | |
84 | 60 | | |
85 | 61 | | |
86 | 62 | | |
| |||
89 | 65 | | |
90 | 66 | | |
91 | 67 | | |
92 | | - | |
93 | | - | |
| 68 | + | |
| 69 | + | |
94 | 70 | | |
95 | 71 | | |
96 | 72 | | |
| |||
101 | 77 | | |
102 | 78 | | |
103 | 79 | | |
104 | | - | |
| 80 | + | |
105 | 81 | | |
106 | 82 | | |
107 | 83 | | |
| |||
111 | 87 | | |
112 | 88 | | |
113 | 89 | | |
114 | | - | |
115 | | - | |
| 90 | + | |
| 91 | + | |
116 | 92 | | |
117 | 93 | | |
118 | 94 | | |
| |||
134 | 110 | | |
135 | 111 | | |
136 | 112 | | |
137 | | - | |
| 113 | + | |
138 | 114 | | |
139 | 115 | | |
140 | 116 | | |
| |||
144 | 120 | | |
145 | 121 | | |
146 | 122 | | |
147 | | - | |
148 | | - | |
| 123 | + | |
| 124 | + | |
149 | 125 | | |
150 | 126 | | |
151 | 127 | | |
| |||
This file was deleted.
0 commit comments
Comments
(0)