Ufoptg commited on
Commit
cfd06db
1 Parent(s): 8dc44d3

Update models.py

Browse files
Files changed (1) hide show
  1. models.py +2 -0
models.py CHANGED
@@ -1,5 +1,6 @@
1
  from typing import Optional, List, Dict, Any
2
  from pydantic import BaseModel
 
3
 
4
  class CustomErrorResponseModel(BaseModel):
5
  detail: List[Dict[str, Any]]
@@ -74,6 +75,7 @@ class GeminiPro(BaseModel):
74
  bard_api_key: Optional[str] = None
75
  mongo_url: Optional[str] = None
76
  user_id: Optional[int] = None
 
77
  version: Optional[str] = "v1beta"
78
  gemini_api_key: Optional[str] = None
79
  is_login: Optional[bool] = False
 
1
  from typing import Optional, List, Dict, Any
2
  from pydantic import BaseModel
3
+ from . import ORACLE_TOKEN
4
 
5
  class CustomErrorResponseModel(BaseModel):
6
  detail: List[Dict[str, Any]]
 
75
  bard_api_key: Optional[str] = None
76
  mongo_url: Optional[str] = None
77
  user_id: Optional[int] = None
78
+ oracle_base: Optional[str] = ORACLE_TOKEN
79
  version: Optional[str] = "v1beta"
80
  gemini_api_key: Optional[str] = None
81
  is_login: Optional[bool] = False