Merge branch 'feature/1.5-local-model' into 'main'

update api doc

See merge request apipark/APIPark!188
This commit is contained in:
刘健
2025-02-15 10:58:52 +08:00
+1 -1
View File
@@ -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,