-
Notifications
You must be signed in to change notification settings - Fork 381
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
AI 代理 Wasm 插件对接 Google Gemini/Gemini Flash #947
Comments
我想尝试下这个issue~ |
您好,我在开发的时候遇到一个问题,gemini的模型选择和api_key都是放在请求url中的,但是在wasm代理的时候只能在ProcessRequestBody获取body绑定的model类型,这样的话就没法修改请求url,请问有解决方法吗? gemini API |
1.4.0 里是可以在 ProcessRequestBody 里修改 header 的。可以参考一下 qwen 的实现和这个 PR #1005 。 |
好的,另外还想问下,开发wsam插件有本地调试的方案吗? |
|
嗯嗯这个我看过了,我想问的是支持单步调试吗? |
这个应该还不支持的。 |
请问有什么办法能看到网关发送给LLM服务商的请求吗?我这边显示请求格式错误,但是不好调试排错 |
打日志就行了,在gateway容器里看 |
https://developers.generativeai.google/
The text was updated successfully, but these errors were encountered: