-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(plugins/ai-proxy): simplify code with early return #12804
Conversation
This may might maybe conflict with #12792 where I've added streaming support. I can pick these commits and test later today. |
If you cherry-pick this PR successfully we can close it safely. |
@ttyS0e Thanks, please let us know once you finish the cherry-pick. I'll convert this PR as a draft to avoid unintended merge. |
It seems to work fine on both yes! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See log attachment from @ttyS0e, this works fine for future feature requests also.
Successfully created cherry-pick PR for |
Summary
if ...
indents by using early returnERROR_MSG
KAG-4150
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdIssue reference
Fix #[issue number]