Can uploaded files go to chat history

how to bring the file being appended to chat , to the history not knowledge base the file upload feature stuff

resposne=agent.run(

"say about the file attached",

 files=\[File(url="https://……...pdf")\])

**
run_id**

“2f82688a-89db-4687-883c-81338cc72b61”

agent_id

“693fe5e6414ea8b83f9e69eb”

agent_name

“General Assistant”

session_id

“69426275fe21fe756380444f”

user_id

“69426275fe21fe756380444f”

content

“I’m unable to access documents or PDFs directly. If you provide me wit…”

content_type

“str”

model

“gpt-4o-mini”

model_provider

“OpenAI”

metrics

Object

input_tokens

1177

output_tokens

40

total_tokens

1217

time_to_first_token

0.09500412000488723

duration

2.491792074004479

created_at

1765964437

status

“COMPLETED”

messages

Array (5)

0

Object

id

“08335a2a-d260-41ba-9e97-426a9ab5853b”

content

“# About Company:
Act as a helpful assistant that answers questions cle…”

from_history

false

stop_after_tool_call

false

role

“system”

created_at

1765964437

1

Object

id

“015d9748-1e46-463f-80fa-be5ce374fd90”

content

"whats in this pdf

This message is from aboobacker.ka@naicoits.com.

…"

from_history

true

stop_after_tool_call

false

role

“user”

files

Array (1)

0

Object

id

“4885ddb2-3585-499b-a82b-edffb5693ab0”

filepath

“/tmp/agno_files_5sn3i6p9/1765964319994_ThaiRecipes.pdf”

created_at

1765964337

2

Object

id

“d85f15c8-a1a6-482f-a5b3-67cc5e1df50c”

content

“The PDF is a cookbook titled “Thai SELECT Cookbook,” which features a …”

from_history

true

stop_after_tool_call

false

role

“assistant”

metrics

Object

input_tokens

6979

output_tokens

344

total_tokens

7323

created_at

1765964337

3

Object

id

“6f50d8be-0043-4fd0-a857-19d4827c7759”

content

"what was in the document

This message is from aboobacker.ka@naicoits…"

from_history

false

stop_after_tool_call

false

role

“user”

created_at

1765964437

4

Object

id

“9ad55224-5408-4016-a9b7-5de24f1b81e4”

content

“I’m unable to access documents or PDFs directly. If you provide me wit…”

from_history

false

stop_after_tool_call

false

role

“assistant”

metrics

Object

input_tokens

1177

output_tokens

40

total_tokens

1217

created_at

1765964437

input

Object

input_content

"what was in the document

This message is from aboobacker.ka@naicoits…"

Hi @Aboobacker, thank you for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all queries one by one and will get back to you soon. If it’s urgent, please let us know. We appreciate your patience!

@yuvi if its possible please connect as fast as possible becasue i am stuck in between a product due to this stuff .if not available so can bypass it with some other way.

Hey there!

When you are use a database with your agent to persist the sessions, the files you input in that session are automatically stored too. So they should be part of the history. Can you give me more information on exactly is not working for you?

thank you @manu for your reply, to confirm when i attach a file , in db the path is there but in the next run its not being attached ,also will the converted data say like the base64 will be stored in db or not currently its not being stored or else each time conversion will take much more time .