fix: add max_tokens default and mock web-search endpoint for demo
- Inject max_tokens: 4096 in Claude API proxy when AIUI omits it - Add /aiui/api/web-search stub returning empty results (no search backend in demo) - Add nginx proxy rule for web-search endpoint Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
f8e5e947ec
commit
87602f7887
@@ -78,6 +78,14 @@ http {
|
||||
}
|
||||
}
|
||||
|
||||
# Proxy AIUI API requests (web-search, claude) to backend
|
||||
location /aiui/api/web-search {
|
||||
proxy_pass http://neode-backend:5959;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
# Proxy Claude API requests to backend (which handles API key + streaming)
|
||||
location /aiui/api/claude/ {
|
||||
proxy_pass http://neode-backend:5959;
|
||||
|
||||
Reference in New Issue
Block a user