Repository navigation
OpenAI example generation and add gpt-5 family support [ #1989 #1990 ] - #1992
Conversation
|
Woot! It looks great and I'll try to review this on tomorrow! cc @paulux84 |
… improve error handling and add support for new `max_completion_tokens` on gpt-5 models family Signed-off-by: Paolo Pino <[email protected]>
Signed-off-by: Paolo Pino <[email protected]>
Signed-off-by: Paolo Pino <[email protected]>
0afc000 to
12086e6
Compare
|
I've fixed the problem. cc @lbroudoux |
This is a false positive. I removed the warning. Thanks for pushing the fix, i'll pursue the review asap. |
thanks for your work @lbroudoux ...really useful for dev community |
…java Co-authored-by: Sebastien DEGODEZ <[email protected]> Signed-off-by: Paolo Pino <[email protected]>
Signed-off-by: Laurent Broudoux <[email protected]>
|
We have a formatting error, but I can fix it just after the merge. I think I'll do it this morning and integrate it into the |
|
You are now a Microcks community contributor! 💖 Thanks and congrats 🚀 on merging your first pull request! We are delighted and very proud of you! 👏 📢 If you're using Microcks in your organization, please add your company name to this list. 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. If you need to know why and how to add yourself to the list, please read the blog post "Join the Microcks Adopters list and Empower the vibrant open source Community 🙌" Kudos and please keep going, we need you 🙌 |
#1992) * fix: Refactor OpenAI sample generation to support retry mechanism and improve error handling and add support for new `max_completion_tokens` on gpt-5 models family Signed-off-by: Paolo Pino <[email protected]> * fix: Add conditional handling for 'logit_bias' based on model support Signed-off-by: Paolo Pino <[email protected]> * test: Add unit tests for `AICopilotRunnerService` and `OpenAICopilot` Signed-off-by: Paolo Pino <[email protected]> * Update webapp/src/main/java/io/github/microcks/util/ai/OpenAICopilot.java Co-authored-by: Sebastien DEGODEZ <[email protected]> Signed-off-by: Paolo Pino <[email protected]> * Adding missing Collections import Signed-off-by: Laurent Broudoux <[email protected]> --------- Signed-off-by: Paolo Pino <[email protected]> Signed-off-by: Laurent Broudoux <[email protected]> Co-authored-by: Sebastien DEGODEZ <[email protected]> Co-authored-by: Laurent Broudoux <[email protected]>
#1992) * fix: Refactor OpenAI sample generation to support retry mechanism and improve error handling and add support for new `max_completion_tokens` on gpt-5 models family Signed-off-by: Paolo Pino <[email protected]> * fix: Add conditional handling for 'logit_bias' based on model support Signed-off-by: Paolo Pino <[email protected]> * test: Add unit tests for `AICopilotRunnerService` and `OpenAICopilot` Signed-off-by: Paolo Pino <[email protected]> * Update webapp/src/main/java/io/github/microcks/util/ai/OpenAICopilot.java Co-authored-by: Sebastien DEGODEZ <[email protected]> Signed-off-by: Paolo Pino <[email protected]> * Adding missing Collections import Signed-off-by: Laurent Broudoux <[email protected]> --------- Signed-off-by: Paolo Pino <[email protected]> Signed-off-by: Laurent Broudoux <[email protected]> Co-authored-by: Sebastien DEGODEZ <[email protected]> Co-authored-by: Laurent Broudoux <[email protected]> (cherry picked from commit 1419d23)
Description
max_completion_tokensand conditionally omittinglogit_biaswhen the selected model does not support it, while preserving the existing behavior for previous models.Related issue(s)
Fixes #1989
Fixes #1990