Skip to content

Commit fcf5fdc

Browse files
engeljuJulie Engel
andauthored
update openai url (#53)
Co-authored-by: Julie Engel <[email protected]>
1 parent 456fdac commit fcf5fdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neural_providers/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import urllib.request
1010
from typing import Any, Dict
1111

12-
API_ENDPOINT = 'https://api.openai.com/v1/completions'
12+
API_ENDPOINT = 'https://api.openai.com/v1/chat/completions'
1313

1414
OPENAI_DATA_HEADER = 'data: '
1515
OPENAI_DONE = '[DONE]'

0 commit comments

Comments
 (0)