소스 검색

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),
                 ]