Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
SqliteStorage
db_url
db_file
db_engine
from agno.storage.sqlite import SqliteStorage # 使用 Sqlite 数据库创建存储后端 storage = SqliteStorage( # 将 session 存储在 ai.sessions 表中 table_name="agent_sessions", # db_file: Sqlite 数据库文件 db_file="tmp/data.db", ) # 将存储添加到 Agent agent = Agent(storage=storage)
table_name
str
schema
Optional[str]
"ai"
None
Optional[Engine]
schema_version
int
1
auto_upgrade_schema
bool
False