Skip to content

Add allowed_image_domains to client-visible ThreadMetadata - #119

Merged
jiwon-oai merged 1 commit into
mainfrom
add-allowed-image-domains
Mar 4, 2026
Merged

Add allowed_image_domains to client-visible ThreadMetadata#119
jiwon-oai merged 1 commit into
mainfrom
add-allowed-image-domains

Conversation

@jiwon-oai

@jiwon-oai jiwon-oai commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

If provided, this will restrict the images that are allowed to be rendered in assistant messages for the thread.

Tested locally:

No allowed_image_domains by default Streamed back as thread.updated event when added in respond() Excluded when only the title is added
Screenshot 2026-03-04 at 10 38 43 AM Screenshot 2026-03-04 at 10 50 36 AM Screenshot 2026-03-04 at 10 51 56 AM

Saved to thread and retrieved on load:

Screenshot 2026-03-04 at 10 54 17 AM
@jiwon-oai
jiwon-oai added this pull request to the merge queue Mar 4, 2026
Merged via the queue into main with commit f3dca00 Mar 4, 2026
1 check passed
@jiwon-oai
jiwon-oai deleted the add-allowed-image-domains branch March 4, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants