Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Improve models UI

Tomas Valenta46951c961f93
diff --git a/components/Editor/Sidebar/Agent/index.tsx b/components/Editor/Sidebar/Agent/index.tsx
index 4f4a43557..1876bba34 100644
--- a/components/Editor/Sidebar/Agent/index.tsx
+++ b/components/Editor/Sidebar/Agent/index.tsx
@@ -122,7 +122,7 @@ function Agent({
<Text
text={`Missing key "${missingCreds[0][1].label || missingCreds[0][0]}"`}
size={Text.size.S3}
- className="text-red-600"
+ className="text-slate-400"
/>
<Button
className="whitespace-pre-wrap"
diff --git a/components/Editor/Sidebar/Model/index.tsx b/components/Editor/Sidebar/Model/index.tsx
index 74e284f14..a5c939425 100644
--- a/components/Editor/Sidebar/Model/index.tsx
+++ b/components/Editor/Sidebar/Model/index.tsx
@@ -90,7 +90,7 @@ function Model({ }: Props) {
<Text
text={getMissingCreds(provider as ModelProvider, creds).length === 0 ? '' : 'Missing keys'}
className="
- text-red-600
+ text-slate-400
"
size={Text.size.S3}
/>
diff --git a/state/model.ts b/state/model.ts
index ea277839f..896c7b5c7 100644
--- a/state/model.ts
+++ b/state/model.ts
@@ -47,7 +47,7 @@ export const models: {
{
name: 'Deployed model',
args: {
- model_name: {
+ model: {
editable: true,
type: 'string',
label: 'Model name'