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