Update constants from api (#607)
* fix caption ipa display * fetch gpt/tts providers from API * fetch remote gpt presets * update constants * fix conversavtion save * refactor ipa convert * fetch ipa mapping from api * fix ipa mark * fix constant * validate camdict pron audio src
This commit is contained in:
@@ -13,10 +13,10 @@ export const jsonCommand = async (
|
||||
}
|
||||
): Promise<any> => {
|
||||
const { key, temperature = 0, baseUrl, schema } = options;
|
||||
let { modelName = "gpt-4-turbo" } = options;
|
||||
let { modelName = "gpt-4o" } = options;
|
||||
|
||||
if (RESPONSE_JSON_FORMAT_MODELS.indexOf(modelName) === -1) {
|
||||
modelName = "gpt-4-turbo";
|
||||
modelName = "gpt-4o";
|
||||
}
|
||||
|
||||
const chatModel = new ChatOpenAI({
|
||||
|
||||
Reference in New Issue
Block a user