Commit 4b5e56c
Complete migration to native OpenAI Responses API format (#131)
* Initial plan
* Update RawConversationRequest to use OpenAI Responses API endpoint
Co-authored-by: phrocker <[email protected]>
* Add response format conversion from Responses API to Chat Completions format
Co-authored-by: phrocker <[email protected]>
* Update all conversation endpoints to use Responses API with unified conversion
Co-authored-by: phrocker <[email protected]>
* Remove unsupported parameters from Responses API conversion (stop, presence_penalty, frequency_penalty, logit_bias)
Co-authored-by: phrocker <[email protected]>
* Fix content type to always use input_text in Responses API requests
Co-authored-by: phrocker <[email protected]>
* Disable image input support for Responses API (requires further investigation)
Co-authored-by: phrocker <[email protected]>
* Re-enable image support with correct Responses API format and extract converter to separate class
Co-authored-by: phrocker <[email protected]>
* Migrate to native Responses API format - remove all converters and update Response class
Co-authored-by: phrocker <[email protected]>
* Update enterprise-agent to use Responses API format - fix all compilation errors and update tests
Co-authored-by: phrocker <[email protected]>
* Fix response service
* update
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: phrocker <[email protected]>
Co-authored-by: Marc Parisi <[email protected]>1 parent db1e381 commit 4b5e56c
File tree
27 files changed
+2820
-401
lines changed- api/src/main/resources/db/migration
- core/src/main/java/io/sentrius/sso/core/services/agents
- dataplane/src/main/java/io/sentrius/sso/core/services/automation
- enterprise-agent/src
- main/java/io/sentrius/agent/analysis
- agents
- agents
- verbs
- model
- test/java/io/sentrius/sentrius/analysis/agents/verbs
- integration-proxy/src/main/java/io/sentrius/sso/config
- llm-core
- src
- main/java/io/sentrius/sso/genai
- model
- endpoints
- test/java/io/sentrius/sso/genai
- llm-dataplane/src/main/java/io/sentrius/sso/genai
- ssh-agent/src/main/java/io/sentrius/agent/ssh/service
27 files changed
+2820
-401
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | | - | |
309 | | - | |
| 308 | + | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
Lines changed: 29 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
74 | 79 | | |
75 | | - | |
76 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
77 | 88 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
83 | 93 | | |
84 | | - | |
85 | | - | |
| 94 | + | |
| 95 | + | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | | - | |
96 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
97 | 110 | | |
98 | | - | |
99 | | - | |
100 | 111 | | |
101 | 112 | | |
102 | 113 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| 279 | + | |
278 | 280 | | |
279 | 281 | | |
280 | 282 | | |
| |||
Lines changed: 25 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
229 | | - | |
| 230 | + | |
230 | 231 | | |
231 | 232 | | |
232 | | - | |
233 | | - | |
234 | 233 | | |
235 | | - | |
236 | 234 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | 235 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
251 | 239 | | |
252 | | - | |
253 | | - | |
254 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
255 | 250 | | |
256 | 251 | | |
257 | | - | |
| 252 | + | |
| 253 | + | |
258 | 254 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
| 255 | + | |
| 256 | + | |
264 | 257 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
270 | 262 | | |
271 | 263 | | |
272 | 264 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
| 265 | + | |
| 266 | + | |
277 | 267 | | |
278 | | - | |
279 | | - | |
280 | 268 | | |
281 | 269 | | |
282 | 270 | | |
| |||
Lines changed: 21 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
66 | 77 | | |
67 | 78 | | |
68 | 79 | | |
| |||
Lines changed: 30 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
| 146 | + | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
| 257 | + | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
336 | | - | |
| 335 | + | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
371 | | - | |
| 370 | + | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
| 496 | + | |
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
| 500 | + | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
565 | 565 | | |
566 | | - | |
| 566 | + | |
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
644 | 644 | | |
645 | | - | |
646 | | - | |
| 645 | + | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
696 | 704 | | |
697 | 705 | | |
698 | 706 | | |
| |||
717 | 725 | | |
718 | 726 | | |
719 | 727 | | |
720 | | - | |
721 | | - | |
| 728 | + | |
| 729 | + | |
722 | 730 | | |
723 | 731 | | |
724 | 732 | | |
| |||
822 | 830 | | |
823 | 831 | | |
824 | 832 | | |
825 | | - | |
826 | | - | |
| 833 | + | |
| 834 | + | |
827 | 835 | | |
828 | 836 | | |
829 | 837 | | |
| |||
0 commit comments