Skip to content

Commit

Permalink
feat(fine tuned models) enable access to fine tuned OpenAI models whi…
Browse files Browse the repository at this point in the history
…ch all start with ft:gpt...
  • Loading branch information
ykim-isabel committed Jan 31, 2024
1 parent 9ce23b0 commit 082f5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptcli/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class AssistantConfig(TypedDict, total=False):


def get_completion_provider(model: str) -> CompletionProvider:
if model.startswith("gpt"):
if model.startswith("gpt") or model.startswith("ft:gpt"):
return OpenAICompletionProvider()
elif model.startswith("claude"):
return AnthropicCompletionProvider()
Expand Down

0 comments on commit 082f5ae

Please sign in to comment.