Skip to content

Commit 19fca9a

Browse files
committed
Add model in helper functions
1 parent 331ca82 commit 19fca9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/HttpGPTCommonModule/Private/Utils/HttpGPTHelper.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ const FName UHttpGPTHelper::GetEndpointForModel(const EHttpGPTChatModel& Model)
131131
case EHttpGPTChatModel::gpt4:
132132
case EHttpGPTChatModel::gpt432k:
133133
case EHttpGPTChatModel::gpt35turbo:
134+
case EHttpGPTChatModel::gpt35turbo16k:
134135
return "v1/chat/completions";
135136

136137
case EHttpGPTChatModel::textdavinci003:
@@ -151,6 +152,7 @@ const bool UHttpGPTHelper::ModelSupportsChat(const EHttpGPTChatModel& Model)
151152
case EHttpGPTChatModel::gpt4:
152153
case EHttpGPTChatModel::gpt432k:
153154
case EHttpGPTChatModel::gpt35turbo:
155+
case EHttpGPTChatModel::gpt35turbo16k:
154156
return true;
155157

156158
case EHttpGPTChatModel::textdavinci003:

0 commit comments

Comments
 (0)