瀏覽代碼

feat: add openai paid llm model. (#2392)

Garfield Dai 1 年之前
父節點
當前提交
f5c08070d9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      api/core/hosting_configuration.py

+ 2 - 1
api/core/hosting_configuration.py

@@ -125,12 +125,13 @@ class HostingConfiguration:
                     RestrictModel(model="gpt-4-turbo-preview", model_type=ModelType.LLM),
                     RestrictModel(model="gpt-4-32k", model_type=ModelType.LLM),
                     RestrictModel(model="gpt-4-1106-preview", model_type=ModelType.LLM),
+                    RestrictModel(model="gpt-4-0125-preview", model_type=ModelType.LLM),
                     RestrictModel(model="gpt-3.5-turbo", model_type=ModelType.LLM),
                     RestrictModel(model="gpt-3.5-turbo-16k", model_type=ModelType.LLM),
                     RestrictModel(model="gpt-3.5-turbo-16k-0613", model_type=ModelType.LLM),
                     RestrictModel(model="gpt-3.5-turbo-1106", model_type=ModelType.LLM),
-                    RestrictModel(model="gpt-4-0125-preview", model_type=ModelType.LLM),
                     RestrictModel(model="gpt-3.5-turbo-0613", model_type=ModelType.LLM),
+                    RestrictModel(model="gpt-3.5-turbo-0125", model_type=ModelType.LLM),
                     RestrictModel(model="gpt-3.5-turbo-instruct", model_type=ModelType.LLM),
                     RestrictModel(model="text-davinci-003", model_type=ModelType.LLM),
                 ]