Skip to content

Commit

Permalink
revert optional api_base based on shadeMe comment
Browse files Browse the repository at this point in the history
  • Loading branch information
augchan42 committed Jan 27, 2024
1 parent acbc9d7 commit 9e651f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/nodes/prompt/invocation_layer/open_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(
api_key: str,
model_name_or_path: str = "gpt-3.5-turbo-instruct",
max_length: Optional[int] = 100,
api_base: Optional[str] = "https://api.openai.com/v1",
api_base: str = "https://api.openai.com/v1",
openai_organization: Optional[str] = None,
timeout: Optional[float] = None,
**kwargs,
Expand Down

0 comments on commit 9e651f3

Please sign in to comment.