From 2bbddc81b1fed6a46050c7c70a467f9ff5929f47 Mon Sep 17 00:00:00 2001 From: Liujian <824010343@qq.com> Date: Sat, 15 Feb 2025 10:58:13 +0800 Subject: [PATCH] update api doc --- module/ai-api/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/ai-api/schema.go b/module/ai-api/schema.go index 71dbefab..2511d0ab 100644 --- a/module/ai-api/schema.go +++ b/module/ai-api/schema.go @@ -133,7 +133,7 @@ func genMessageSchema() *openapi3.Schema { roleSchema.Example = "user" contentSchema := openapi3.NewStringSchema() contentSchema.Description = "The message content" - contentSchema.Example = "Hello, how can I help you?" + contentSchema.Example = "Hello, who are you?" result.WithProperties(map[string]*openapi3.Schema{ "role": roleSchema, "content": contentSchema,