Skip to content
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

feat(ai-proxy): google-gemini support #12948

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM kong:3.6.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this file


USER root

RUN luarocks install lua-resty-gcp
COPY kong/plugins/ai-proxy/ /usr/local/share/lua/5.1/kong/plugins/ai-proxy/
COPY kong/llm/ /usr/local/share/lua/5.1/kong/llm/

USER kong
5 changes: 5 additions & 0 deletions changelog/unreleased/kong/ai-proxy-google-gemini.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
message: |
Kong AI Gateway (AI Proxy and associated plugin family) now supports
the Google Gemini "chat" (generateContent) interface.
type: feature
scope: Plugin
1 change: 1 addition & 0 deletions kong-3.8.0-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ dependencies = {
"lua-resty-healthcheck == 3.0.2",
"lua-messagepack == 0.5.4",
"lua-resty-aws == 1.4.1",
"lua-resty-gcp == 0.0.13",
"lua-resty-openssl == 1.3.1",
"lua-resty-counter == 0.2.1",
"lua-resty-ipmatcher == 0.6.1",
Expand Down