Skip to content

Conversation

@cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Sep 8, 2025

Follow up to #107.

Closes #116.
Closes #117.

Pairs with posit-dev/chatlas#173

@cpsievert cpsievert force-pushed the py/tool-displays-followup branch from 07dcebb to fa609ff Compare September 8, 2025 20:48
@cpsievert cpsievert requested a review from gadenbuie September 8, 2025 20:48
Copy link
Collaborator

@gadenbuie gadenbuie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, thank you!

@gadenbuie gadenbuie merged commit 8c48e12 into main Sep 9, 2025
5 checks passed
@gadenbuie gadenbuie deleted the py/tool-displays-followup branch September 9, 2025 14:59
icon = None
if tool and tool.annotations:
tool_title = tool.annotations.get("title")
icon = tool.annotations.get("extras", {}).get("icon")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shoot, it's extra, not extras: posit-dev/chatlas#173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[python] Tool UI should accept strings for display.html and display.icon [python] Use icon when attached as a tool annotation

3 participants