formulahendry / chatgpt-teams-bot

A ChatGPT Teams Bot app to let you chat with ChatGPT in Microsoft Teams
218 stars 66 forks source link

Model defaulting to gpt-3.5-turbo-0301 even with gpt-3.5-turbo specified. #3

Open nathancjackson opened 1 year ago

nathancjackson commented 1 year ago

So i'm not sure if I am missing the config elsewhere - but the bot is currently configured to utilize gpt-3.5-turbo, but when its pushed to Azure, it seems to default back to turbo0301.

What I have this set to:

// src/chatgpt-api.ts
var CHATGPT_MODEL = "gpt-3.5-turbo";

Oddly enough - it seems to use 3.5-turbo when i debug locally - but will not respect the model selection when provisioned on Azure and Teams. However, the system message does work both locally and when pushed to Azure.

formulahendry commented 1 year ago

@nathancjackson you could follow this code to update the model: https://github.com/transitive-bullshit/chatgpt-api/issues/471#issuecomment-1469260101