Bug: SDK crashes when using special characters in prompt
- Lenguaje dominante
- Java
- Estrellas
- 10.5k
- Forks
- 1.5k
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 127
Descripción
## Description
When using the Copilot SDK with special characters in the prompt, the SDK throws an unhandled exception.
## Steps to Reproduce
1. Install copilot-sdk v1.0.60
2. Create a simple test script
3. Pass a prompt containing unicode characters
## Expected Behavior
The SDK should handle special characters gracefully.
## Actual Behavior
Crashes with `TypeError: Cannot read properties of undefined`
## Environment
- OS: Ubuntu 22.04
- Node.js: 22.x
- SDK Version: 1.0.60
Guía de contribución
Línea de trabajo
No source file or test is named. Start by reproducing the crash with copilot-sdk v1.0.60 on Node.js 22.x using a minimal script and a prompt containing unicode characters, then trace the prompt-handling entry point. Done means the same prompt no longer produces the unhandled TypeError and a regression test covers it.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- node.js
- Área
- api
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 62/100