Jacek Zadrożny
commited on
Commit
·
f991885
1
Parent(s):
f73bfd0
Fix: Import Optional from typing in config.py
Browse files- Added rom typing import Optional to resolve NameError: name 'Optional' is not defined when llm_base_url is defined with type hint Optional[str].
config.py
CHANGED
|
@@ -9,6 +9,7 @@ from pydantic_settings import BaseSettings
|
|
| 9 |
from pydantic import Field, field_validator
|
| 10 |
from functools import lru_cache
|
| 11 |
import os
|
|
|
|
| 12 |
|
| 13 |
|
| 14 |
class Settings(BaseSettings):
|
|
|
|
| 9 |
from pydantic import Field, field_validator
|
| 10 |
from functools import lru_cache
|
| 11 |
import os
|
| 12 |
+
from typing import Optional
|
| 13 |
|
| 14 |
|
| 15 |
class Settings(BaseSettings):
|