Oh, my God! Why is my conversation store not taking effect? Obviously, the sqlite database and model have been configured

Oh, my God!! Why is my conversation store not taking effect? Obviously, the sqlite database and model have been configured.

from typing import Iterator

from agno.agent import Agent
from agno.models.ollama import Ollama
from agno.run.response import RunResponse
from agno.storage.sqlite import SqliteStorage

Create a storage backend using the Sqlite database

storage = SqliteStorage(
# store sessions in the ai.sessions table
table_name=“agent_sessions”,
# db_file: Sqlite database file
db_file=“tmp/data.db”,
)

Add storage to the Agent

agent = Agent(model=Ollama(host=“http:/xxx:1680”, provider=“Ollama”, id=“xxx”),
storage=storage)
agent.print_response(“”)

Hey @hope_321
Thank you for reaching out and using Agno
We’ve shared this with the team and are working through requests one by one—we’ll get back to you as soon as we can.

In the meantime,

  1. pls share your agent configuration?
  2. Refer: Sqlite Storage - Agno

We will get back to you asap

Hi @hope_321 , I tried on my end and i am able to create a storage .
To create a storage, you will need to pass a prompt in the print_response, and then you should see the data.db file create inside a tmp folder. This data.db file can be opened in tablePlus to see the stored table.
You can check the below cookbook for more reference.
https://github.com/agno-agi/agno/blob/main/cookbook/agents_from_scratch/agent_with_storage.py