zed/assets
Nathan Sobo b9176fe4bb
Add custom icon for Anthropic hosted models (#16436)
This commit adds a custom icon for Anthropic hosted models.


![CleanShot 2024-08-18 at 15 40
38@2x](https://github.com/user-attachments/assets/d467ccab-9628-4258-89fc-782e0d4a48d4)
![CleanShot 2024-08-18 at 15 40
34@2x](https://github.com/user-attachments/assets/7efaff9c-6a58-47ba-87ea-e0fe0586fedc)


- Adding a new SVG icon for Anthropic hosted models.
  - The new icon is located at: `assets/icons/ai_anthropic_hosted.svg`
- Updating the LanguageModel trait to include an optional icon method
- Implementing the icon method for CloudModel to return the custom icon
for Anthropic hosted models
- Updating the UI components to use the model-specific icon when
available
- Adding a new IconName variant for the Anthropic hosted icon

We should change the non-hosted icon in some small way to distinguish it
from the hosted version. I duplicated the path for now so we can
hopefully add it for the next release.

Release Notes:

- N/A
2024-08-18 16:07:15 -06:00
..
fonts Fix font selection on macOS (#13615) 2024-06-27 17:02:45 -06:00
icons Add custom icon for Anthropic hosted models (#16436) 2024-08-18 16:07:15 -06:00
keymaps Revert "Match VSCode behavior for ctrl-a/ctrl-e on MacOS" (#16246) 2024-08-14 14:51:49 -06:00
prompts Revert changes to inline assist indentation logic and prompt (#16403) 2024-08-17 02:24:55 -06:00
settings context_servers: Add initial implementation (#16103) 2024-08-15 10:49:30 -04:00
sounds Update collaboration sounds, add sounds to screensharing 2023-07-04 16:18:42 -04:00
themes linux: Indicate when the window is focused (#14266) 2024-07-12 14:20:58 -07:00