File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
src/open_responses_server Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ pip install open-responses-server
5454Or install from source:
5555
5656```
57+ pip install uv
5758uv venv
5859uv pip install .
5960uv pip install -e ".[dev]" # dev dependencies
Original file line number Diff line number Diff line change @@ -1295,7 +1295,7 @@ async def stream_proxy():
12951295 async with httpx .AsyncClient (timeout = 60.0 ) as client :
12961296 async with client .stream (
12971297 request .method ,
1298- f"{ OPENAI_BASE_URL_INTERNAL } /v1/ { path_name } " , # Add /v1 here
1298+ f"{ OPENAI_BASE_URL_INTERNAL } /{ path_name } " ,
12991299 headers = headers ,
13001300 content = body ,
13011301 timeout = 60.0
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ curl https://api.openai.com/v1/models -s \
3+ -H " Content-Type: application/json" \
4+ -H " Authorization: Bearer ${OPENAI_API_KEY} " | jq
You can’t perform that action at this time.
0 commit comments