From 7ec0064157c19b212034bf3d9a33542cf1fd5838 Mon Sep 17 00:00:00 2001 From: Richard Michael Date: Thu, 26 Jun 2025 16:35:50 -0700 Subject: [PATCH] chore: Code organization: completions follow all schema definitions --- src/everything/everything.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/everything/everything.ts b/src/everything/everything.ts index 8c22b9d8..372a4365 100644 --- a/src/everything/everything.ts +++ b/src/everything/everything.ts @@ -62,13 +62,6 @@ const SampleLLMSchema = z.object({ .describe("Maximum number of tokens to generate"), }); -// Example completion values -const EXAMPLE_COMPLETIONS = { - style: ["casual", "formal", "technical", "friendly"], - temperature: ["0", "0.5", "0.7", "1.0"], - resourceId: ["1", "2", "3", "4", "5"], -}; - const GetTinyImageSchema = z.object({}); const AnnotatedMessageSchema = z.object({ @@ -119,6 +112,13 @@ enum PromptName { RESOURCE = "resource_prompt", } +// Example completion values +const EXAMPLE_COMPLETIONS = { + style: ["casual", "formal", "technical", "friendly"], + temperature: ["0", "0.5", "0.7", "1.0"], + resourceId: ["1", "2", "3", "4", "5"], +}; + export const createServer = () => { const server = new Server( {