Repository navigation
Commit 54f619d
committed
fix: use openai client 1.76.0 in vllm_inference.py
The suggested 1.13.3 is incompatible with httpx 0.28.0 and higher. With Python
3.13.3, my `pip install openai==1.13.3` installed httpx 0.28.1. Then `python
openai_compatible/client.py` failed with `TypeError: Client.__init__() got an
unexpected keyword argument 'proxies'`.
This is a bug in older versions of openai. It was first reported in
openai/openai-python#1902 and fixed in
openai/openai-python#1905
`pip install openai==1.76.0 && python openai_compatible/client.py` worked.
Signed-off-by: David Xia <[email protected]>1 parent a0474ed commit 54f619d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments