fix(agent): reject padded assistant model ids
This commit is contained in:
1 parent
9b7a04431c
commit
3983c30fe1
2 files changed
+9
-1
No files matched your search
@@ -14,7 +14,6 @@ export const clientChatMessageSchema = z.object({
|
||||
|
||||
export const clientChatModelSchema = z
|
||||
.string()
|
||||
.trim()
|
||||
.refine((value) => isValidLlmModelId(value), "Invalid assistant model");
|
||||
|
||||
export const clientChatInputSchema = z.object({
|
||||
|
||||
Reference in new issue
Block a user