You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the ai-proxy plugin with the openai-compatible provider and configuring an override.endpoint, the endpoint must be a full URL including the path (http://127.0.0.1:8080/v1/chat/completions). because when I do not configure the URL in the endpoint of ai-proxy, the forwarding fails.
This creates a problem when you want to proxy multiple endpoints (e.g., /v1/chat/completions, /v1/embeddings, /v1/completions) from the same model service — you forced to:
Create multiple separate routes in APISIX, each with a different override.endpoint configuration, OR
Use ai-proxy-multi with multiple instances (which is designed for load balancing/fallback, not path-based routing)
OpenResty / Nginx version (run openresty -V or nginx -V):nginx version: openresty/1.27.1.2
built by gcc 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1)
built with OpenSSL 3.4.1 11 Feb 2025
etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
APISIX Dashboard version, if relevant:
Plugin runner version, for issues related to plugin runners:
LuaRocks version, for installation issues (run luarocks --version):
Description
When using the ai-proxy plugin with the openai-compatible provider and configuring an override.endpoint, the endpoint must be a full URL including the path (http://127.0.0.1:8080/v1/chat/completions). because when I do not configure the URL in the endpoint of ai-proxy, the forwarding fails.
This creates a problem when you want to proxy multiple endpoints (e.g., /v1/chat/completions, /v1/embeddings, /v1/completions) from the same model service — you forced to:
Environment
APISIX version (run
apisix version): 3.16.0Operating system (run
uname -a): Linux 49e6a76a70b2 6.8.0-110-generic test: missingno_shuffle()innode/sanity.ttest case and added more step information. #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 x86_64 x86_64 GNU/LinuxOpenResty / Nginx version (run
openresty -Vornginx -V):nginx version: openresty/1.27.1.2built by gcc 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1)
built with OpenSSL 3.4.1 11 Feb 2025
etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info):APISIX Dashboard version, if relevant:
Plugin runner version, for issues related to plugin runners:
LuaRocks version, for installation issues (run
luarocks --version):