anythingllm-docs icon indicating copy to clipboard operation
anythingllm-docs copied to clipboard

Custom Agent `$schema` reference

Open timothycarambat opened this issue 1 year ago • 0 comments

Reference: https://github.com/Mintplex-Labs/anything-llm/pull/2344

Add documentation for the supported $schema that can we can leverage for ease of development

I didn’t find a really good place to put it to, and the folder of the JavaScript file that loads the plugin.jsons seemed to be the most sane.

The docs should mention it in plugin-json.mdx. JSONSchema files can be either referenced in plugin.json, like

{ "$schema": "https://raw.githubusercontent.com/Mintplex-Labs/anything-llm/refs/heads/master/server/utils/agents/imported-manifest.schema.json" } or be linked to appropriate files using IDE configuration.

timothycarambat avatar Sep 23 '24 15:09 timothycarambat