Files
oak-gpui/assets/icons
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
..
2024-08-12 09:55:00 -04:00
2024-08-12 09:55:00 -04:00
2024-08-01 21:57:51 -04:00
2024-08-01 21:57:51 -04:00
kb
2023-11-20 10:46:23 -05:00
kb
2023-11-20 10:46:23 -05:00
kb
2023-11-20 10:46:23 -05:00
kb
2023-11-20 10:46:23 -05:00
2024-01-03 11:45:41 -05:00
2024-06-25 11:43:30 -04:00
2023-08-14 15:50:42 -04:00
2023-08-14 15:50:42 -04:00
2023-08-14 15:50:42 -04:00
2023-08-14 15:50:42 -04:00
kb
2023-11-20 10:46:23 -05:00
2024-06-11 12:39:45 +02:00
kb
2023-11-20 10:46:23 -05:00
2023-08-14 15:50:42 -04:00
2023-12-01 15:30:01 -05:00
2023-11-05 01:06:41 -05:00
2023-08-16 13:48:12 -04:00
2024-07-26 11:08:42 -04:00
2023-08-14 15:50:42 -04:00
2024-06-26 13:02:58 -04:00
2023-12-18 12:56:57 -05:00
2023-08-14 15:57:31 -04:00
2024-05-07 16:36:13 -04:00
2024-05-07 16:36:13 -04:00
2023-08-16 23:38:11 +03:00
2024-05-16 16:55:54 -04:00
2023-10-17 13:34:51 -04:00
2023-08-14 15:50:42 -04:00
2024-04-23 13:31:21 -04:00
2023-12-19 10:30:46 -05:00
2024-01-03 11:45:41 -05:00
kb
2023-11-20 10:46:23 -05:00
2024-01-03 11:45:41 -05:00
2024-01-03 11:45:41 -05:00
2024-04-11 18:36:58 +02:00
2024-02-19 18:41:43 +02:00
2023-10-17 13:30:09 -06:00
2023-12-19 10:30:46 -05:00
2024-04-11 23:07:29 -06:00
2024-06-18 12:16:54 -07:00
2024-04-23 15:33:09 -06:00
kb
2023-11-20 10:46:23 -05:00
2023-12-19 10:30:46 -05:00
2024-01-03 11:45:41 -05:00
2024-01-03 11:45:41 -05:00
2023-08-14 15:50:42 -04:00
WIP
2023-09-15 14:14:28 -04:00
2024-05-07 16:36:13 -04:00
2024-05-03 12:50:42 -07:00
2024-05-03 12:50:42 -07:00
2024-05-03 12:50:42 -07:00
2024-05-03 12:50:42 -07:00
2024-06-18 12:16:54 -07:00
2024-04-23 13:31:21 -04:00
2023-10-16 15:53:29 -04:00
2023-09-15 11:16:30 -07:00
2024-06-26 13:02:58 -04:00
2023-11-18 00:54:01 -05:00
2024-04-23 13:31:21 -04:00
2023-08-14 15:50:42 -04:00