You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/extensions/llm-task/index.ts

12 lines
427 B
TypeScript

import { definePluginEntry, type AnyAgentTool, type OpenClawPluginApi } from "./api.js";
import { createLlmTaskTool } from "./src/llm-task-tool.js";
export default definePluginEntry({
id: "llm-task",
name: "LLM Task",
description: "Optional tool for structured subtask execution",
register(api: OpenClawPluginApi) {
api.registerTool(createLlmTaskTool(api) as unknown as AnyAgentTool, { optional: true });
},
});