mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(api): increase Socrates description max length to 10000 (#66912)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ const usageFields = {
|
||||
export const askSocrates = {
|
||||
body: Type.Object(
|
||||
{
|
||||
description: Type.String({ minLength: 1, maxLength: 2000 }),
|
||||
description: Type.String({ minLength: 1, maxLength: 10000 }),
|
||||
userInput: Type.Optional(Type.String({ minLength: 1, maxLength: 50000 })),
|
||||
seed: Type.String({ minLength: 1, maxLength: 50000 }),
|
||||
hints: Type.Array(socratesHint, { maxItems: 200 })
|
||||
|
||||
Reference in New Issue
Block a user