Skip to content

Add Blob's "display_name" to the Artifacts tab view #292

@slilichenko

Description

@slilichenko

Currently, display name is not used, but it can be useful to provide in the UI. For example, this code:

    await tool_context.save_artifact("incident_data",
                                     Part(inline_data=Blob(
                                         display_name=f"Full data for incident {incident_id}",
                                         mime_type="text/json",
                                         data=full_data.model_dump_json().encode("utf-8"))))

gets rendered as shown on this image:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions