chore: Code organization: completions follow all schema definitions

This commit is contained in:
Richard Michael
2025-06-26 16:35:50 -07:00
parent 114ad51b54
commit 7ec0064157

View File

@@ -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(
{