chore: allow app.letta.com access to local if user grants permission (#1830)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
@@ -9,13 +9,15 @@ from letta.schemas.embedding_config import EmbeddingConfig
|
||||
from letta.schemas.llm_config import LLMConfig
|
||||
from letta.utils import printd
|
||||
|
||||
cors_origins = ["http://letta.localhost", "http://localhost:8283", "http://localhost:8083", "http://localhost:3000"]
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
model_config = SettingsConfigDict(env_prefix="letta_")
|
||||
|
||||
letta_dir: Optional[Path] = Field(Path.home() / ".letta", env="LETTA_DIR")
|
||||
debug: Optional[bool] = False
|
||||
cors_origins: Optional[list] = ["http://letta.localhost", "http://localhost:8283", "http://localhost:8083"]
|
||||
cors_origins: Optional[list] = cors_origins
|
||||
|
||||
# database configuration
|
||||
pg_db: Optional[str] = None
|
||||
|
||||
Reference in New Issue
Block a user