Spaces:
Building
Building
Update config_provider.py
Browse files- config_provider.py +3 -4
config_provider.py
CHANGED
@@ -117,11 +117,10 @@ class VersionConfig(BaseModel):
|
|
117 |
general_prompt: str
|
118 |
llm: LLMConfig
|
119 |
intents: List[IntentConfig]
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
class Config:
|
124 |
extra = "allow"
|
|
|
125 |
|
126 |
|
127 |
class ProjectConfig(BaseModel):
|
|
|
117 |
general_prompt: str
|
118 |
llm: LLMConfig
|
119 |
intents: List[IntentConfig]
|
120 |
+
|
121 |
+
class Config:
|
|
|
|
|
122 |
extra = "allow"
|
123 |
+
populate_by_name = True
|
124 |
|
125 |
|
126 |
class ProjectConfig(BaseModel):
|