File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11"""Model with service configuration."""
22
33from pathlib import Path
4- from typing import Optional , Any , Pattern , Dict
4+ from typing import Optional , Any , Pattern
55from enum import Enum
66from functools import cached_property
77import re
@@ -417,7 +417,7 @@ class CustomProfile:
417417 """Custom profile customization for prompts and validation."""
418418
419419 path : str
420- prompts : Dict [str , str ] = Field (default = {}, init = False )
420+ prompts : dict [str , str ] = Field (default = {}, init = False )
421421
422422 def __post_init__ (self ) -> None :
423423 """Validate and load profile."""
@@ -430,7 +430,7 @@ def _validate_and_process(self) -> None:
430430 if profile_module is not None and checks .is_valid_profile (profile_module ):
431431 self .prompts = profile_module .PROFILE_CONFIG .get ("system_prompts" , {})
432432
433- def get_prompts (self ) -> Dict [str , str ]:
433+ def get_prompts (self ) -> dict [str , str ]:
434434 """Retrieve prompt attribute."""
435435 return self .prompts
436436
You can’t perform that action at this time.
0 commit comments