ciyidogan commited on
Commit
13a429a
·
verified ·
1 Parent(s): ea7ec49

Update config_provider.py

Browse files
Files changed (1) hide show
  1. 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
- model_config = ConfigDict(populate_by_name=True)
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):