mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-28 19:05:31 +02:00
20 lines
No EOL
576 B
TypeScript
20 lines
No EOL
576 B
TypeScript
import { Agent, ToolAttachment } from "../entities/agent.js";
|
|
import z from "zod";
|
|
import { CopilotInstructions } from "./instructions.js";
|
|
import { BuiltinTools } from "../lib/builtin-tools.js";
|
|
|
|
const tools: Record<string, z.infer<typeof ToolAttachment>> = {};
|
|
for (const [name, tool] of Object.entries(BuiltinTools)) {
|
|
tools[name] = {
|
|
type: "builtin",
|
|
name,
|
|
};
|
|
}
|
|
|
|
export const CopilotAgent: z.infer<typeof Agent> = {
|
|
name: "rowboatx",
|
|
description: "Rowboatx copilot",
|
|
instructions: CopilotInstructions,
|
|
model: "gpt-5.1",
|
|
tools,
|
|
} |