Spaces:
Paused
Paused
Remove trim on user input (#1122)
Browse files
src/routes/conversation/[id]/+server.ts
CHANGED
|
@@ -141,7 +141,6 @@ export async function POST({ request, locals, params, getClientAddress }) {
|
|
| 141 |
inputs: z.optional(
|
| 142 |
z
|
| 143 |
.string()
|
| 144 |
-
.trim()
|
| 145 |
.min(1)
|
| 146 |
.transform((s) => s.replace(/\r\n/g, "\n"))
|
| 147 |
),
|
|
|
|
| 141 |
inputs: z.optional(
|
| 142 |
z
|
| 143 |
.string()
|
|
|
|
| 144 |
.min(1)
|
| 145 |
.transform((s) => s.replace(/\r\n/g, "\n"))
|
| 146 |
),
|