Skip to content

models

Models: talking to models, one way for every kind.

On this page 6
TypeScript
import { models } from "copilotz/plugins/models";

What it keeps

It keeps 1 collection.

CollectionKept asFields
imagedocumentstype, size, data, model, tags, at

What it lets callers do

Of its 11 Actions, people may call 2; agents may call 1; contacts and someone signed out may call none.

ActionPersonAgentContactAnyoneKeyRoutineWhat it does
llm.testyesnononononoTries one model your own plan pays for with a short question, to show it answers.
models.offeredyesyesnonoyesyesThe providers and models an agent can be given.

An agent works for a person, and calls what both may. A key calls only what its scope names. A routine is work done for a person, which they set going.

Only the app's own code calls embeddings.embed, image.generate, llm.generate, llm.stream, models.check, models.efforts, models.keyable, models.price and transcription.transcribe: its plugins, its schedules and the system.

Other plugins call it through its adapters: embeddings (hash, openai, openai-compatible), image (fake, gemini, openai), llm (anthropic, fake, gemini, openai, openai-compatible), transcription (fake, openai, openai-compatible).

Where it shows

It has no Views: it shows nowhere on its own.

  • What it adds to resources: provider (fake, hash).

What it needs

Nothing to set. It reads model, modelKeys, modelUse, provider, spending and usage, resource kinds the app and other plugins fill.

What it requires

It builds on no other plugin.

It ships with copilotz@1.0.0-rc.66.

Listing

It keeps every listing rule.