Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Hide routes of the model links

Tomas Valentae9a6d5a8740f
diff --git a/components/Editor/Sidebar/Model/ProviderCard/index.tsx b/components/Editor/Sidebar/Model/ProviderCard/index.tsx
index bdd203730..7b5279956 100644
--- a/components/Editor/Sidebar/Model/ProviderCard/index.tsx
+++ b/components/Editor/Sidebar/Model/ProviderCard/index.tsx
@@ -99,7 +99,7 @@ function ProviderCard({
font-medium
text-[#527CE7]
"
- text={template.link.replace('https://', '')}
+ text={template.link.replace('https://', '').split('/')[0]}
/>
</Link>
</div>