MirrorDimensions

Docs / Reference

mirror model

Model routes: the services an agent's model calls can go to.

Its commands: list, add, routes, remove.

Terminal
mirror model <command>

mirror model list

The model services the catalog knows: where each API lives and how it takes a key.

Terminal
mirror model list

mirror model add

Add a model route for a service to this world's mirror.yaml.

Terminal
mirror model add <service_id> [options]
Argument Needed What it is
service_id Yes A service from mirror model list.
Option Takes What it does
--name text The route's name (default: the service's id).
--host text The host name, for a gateway you host or a regional endpoint.
--key-env text The environment variable that holds your key.
--scheme text How the key is sent: bearer, x-api-key or api-key.
--base-path text Where the API lives on the host, like /api/v1.

mirror model routes

The model routes this world has.

Terminal
mirror model routes

mirror model remove

Remove a model route from this world's mirror.yaml.

Terminal
mirror model remove [name] [options]
Argument Needed What it is
name No The route's name.
Option Takes What it does
--all nothing (a switch) Remove every model route this world has.

This page is written from the program itself when the site is built.