演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
483 B
Python
19 lines
483 B
Python
from pydantic import Field
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class UpstashConfig(BaseSettings):
|
|
"""
|
|
Configuration settings for Upstash vector database
|
|
"""
|
|
|
|
UPSTASH_VECTOR_URL: str | None = Field(
|
|
description="URL of the upstash server (e.g., 'https://vector.upstash.io')",
|
|
default=None,
|
|
)
|
|
|
|
UPSTASH_VECTOR_TOKEN: str | None = Field(
|
|
description="Token for authenticating with the upstash server",
|
|
default=None,
|
|
)
|