Commit 2df74b8
authored
Fix OpenAI endpoint on Kubernetes gateways (#2147)
The endpoint didn't work both in the old and the
new gateway implementations. The model proxy
attempted forwarding requests to `localhost` that
resolves to `::1` on Kubernetes gateways, while
Nginx is only listening on `127.0.0.1`.1 parent 9f9aefa commit 2df74b8
File tree
1 file changed
+1
-1
lines changed- src/dstack/_internal/proxy/lib/services
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments