Implement chat completions in go (#16491)

### Summary

POST   /api/v1/chat/completions
This commit is contained in:
qinling0210
2026-07-01 15:52:52 +08:00
committed by GitHub
parent b8e960e6c8
commit 7862f69f39
19 changed files with 1917 additions and 2362 deletions

View File

@@ -45,6 +45,16 @@ server {
include proxy.conf;
}
location ~ ^/api/v1/datasets/search {
proxy_pass http://127.0.0.1:9384;
include proxy.conf;
}
location ~ ^/api/v1/chat/completions {
proxy_pass http://127.0.0.1:9384;
include proxy.conf;
}
location ~ ^/v1/system/config {
proxy_pass http://127.0.0.1:9384;
include proxy.conf;