Skip to content

Conversation

aron
Copy link
Contributor

@aron aron commented Jun 26, 2025

Requires building the standalone executable with:

deno compile --allow-read --allow-write --allow-net --allow-env -o coglet-deno deno-coglet/coglet.ts

This will produce a ./coglet-deno binary that conforms to the IPC interface expected by the runner.

The cog-fixture directory contains an example JavaScript model:

// Example function-based predictor
export function simplePredictFunction({ text }) {
  return `hello ${text}`;
}
CleanShot.2025-06-26.at.17.12.26.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant