lucoiso / UEHttpGPT

HttpGPT is an Unreal Engine plugin that facilitates integration with OpenAI's GPT based services (ChatGPT and DALL-E) through asynchronous REST requests, making it easy for developers to communicate with these services.
https://forums.unrealengine.com/t/free-httpgpt-integrate-chatgpt-in-the-engine-via-asynchronous-tasks-rest/765168?u=lucoiso
MIT License
202 stars 50 forks source link

HttpGPT 1.5.4 (UE5.1 version) missing support for gpt35turbo16k in HttpGPTHelper.cpp #74

Closed GreebleGraphics closed 1 year ago

GreebleGraphics commented 1 year ago

Greetings,

HttpGPTHelper.cpp (version 1.5.4, HttpGPT_UE51.zip file) does not include EHttpGPTChatModel::gpt35turbo16k support for these two functions:

UHttpGPTHelper::GetEndpointForModel UHttpGPTHelper::ModelSupportsChat

Example excerpt from the log that shows the problem when trying to use the gpt-35-turbo-16k model:

LogHttpGPT: Error: OnProgressCompleted (47373): Request failed LogHttpGPT: Display: SetReadyToDestroy (47373): Setting task as Ready to Destroy LogBlueprintUserMessages: [BP_HttpGPT_Test_C_2] Invalid URL (POST /None)

Adding the missing ENUM case fixes the problem.

image image

Thank you for writing HttpGPT!

Jen