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
@@ -420,7 +420,7 @@ class CustomProfile:
420420 """Custom profile customization for prompts and validation."""
421421
422422 path : str
423- prompts : Dict [str , str ] = Field (default = {}, init = False )
423+ prompts : dict [str , str ] = Field (default = {}, init = False )
424424
425425 def __post_init__ (self ) -> None :
426426 """Validate and load profile."""
@@ -433,7 +433,7 @@ def _validate_and_process(self) -> None:
433433 if profile_module is not None and checks .is_valid_profile (profile_module ):
434434 self .prompts = profile_module .PROFILE_CONFIG .get ("system_prompts" , {})
435435
436- def get_prompts (self ) -> Dict [str , str ]:
436+ def get_prompts (self ) -> dict [str , str ]:
437437 """Retrieve prompt attribute."""
438438 return self .prompts
439439
You can’t perform that action at this time.
0 commit comments