Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions packages/tasks/src/local-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,20 @@ const snippetLemonade = (model: ModelData, filepath?: string): LocalAppSnippet[]
];
};

const snippetPaddler = (): LocalAppSnippet[] => {
return [
{
title: "Run Paddler cluster",
setup: "# Install Paddler: https://paddler.intentee.com/docs/introduction/installation/",
content: [
"# Run the management server\npaddler balancer --management-addr 127.0.0.1:8060 --web-admin-panel-addr 127.0.0.1:8062",
"# Run Paddler agents to scale your setup\npaddler agent --management-addr 127.0.0.1:8060 --name agent-1",
"# Use `Model` tab in the Paddler admin panel to paste the link to this model\n# More info: https://paddler.intentee.com/docs/starting-out/model-swapping/",
],
},
];
};

/**
* Add your new local app here.
*
Expand Down Expand Up @@ -524,6 +538,13 @@ export const LOCAL_APPS = {
displayOnModelPage: isLlamaCppGgufModel,
snippet: snippetLemonade,
},
paddler: {
prettyLabel: "Paddler (self-hosted cluster)",
docsUrl: "https://paddler.intentee.com",
mainTask: "text-generation",
displayOnModelPage: isLlamaCppGgufModel,
snippet: snippetPaddler,
},
} satisfies Record<string, LocalApp>;

export type LocalAppKey = keyof typeof LOCAL_APPS;