Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Disable HF inference endpoints

Tomas Valenta578b7827fc07
diff --git a/state/model.ts b/state/model.ts
index fbf078370..334092b37 100644
--- a/state/model.ts
+++ b/state/model.ts
@@ -157,7 +157,7 @@ export const modelTemplates: {
},
models: [
{
- name: 'Hub model',
+ name: 'Inference API',
args: {
repo_id: {
editable: true,
@@ -167,17 +167,17 @@ export const modelTemplates: {
},
},
},
- {
- name: 'Inference Endpoints model',
- args: {
- endpoint_url: {
- editable: true,
- type: 'string',
- label: 'Endpoint URL',
- placeholder: '...endpoints.huggingface.cloud',
- },
- },
- },
+ // {
+ // name: 'Inference Endpoints model',
+ // args: {
+ // endpoint_url: {
+ // editable: true,
+ // type: 'string',
+ // label: 'Endpoint URL',
+ // placeholder: '...endpoints.huggingface.cloud',
+ // },
+ // },
+ // },
],
},
[ModelProvider.Replicate]: {