orquesta-cli 0.2.61 → 0.2.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -926,13 +926,13 @@ export class LLMClient {
926
926
  errorMessage,
927
927
  errorType,
928
928
  errorCode,
929
- responseBody: JSON.stringify(data, null, 2),
929
+ responseBody: typeof data === 'string' ? data.slice(0, 2000) : JSON.stringify(data, null, 2)?.slice(0, 2000),
930
930
  requestMethod: requestContext?.method,
931
931
  requestUrl: requestContext?.url,
932
932
  requestBody: requestContext?.body
933
933
  ? JSON.stringify(requestContext.body, null, 2).substring(0, 5000)
934
934
  : undefined,
935
- responseHeaders: axiosError.response.headers,
935
+ responseHeaders: Object.fromEntries(Object.entries(axiosError.response.headers || {}).filter(([, v]) => typeof v === 'string' || typeof v === 'number')),
936
936
  });
937
937
  logger.httpResponse(status, axiosError.response.statusText, data);
938
938
  if (errorType === 'invalid_request_error' &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orquesta-cli",
3
- "version": "0.2.61",
3
+ "version": "0.2.62",
4
4
  "description": "Orquesta CLI - AI-powered coding assistant with team collaboration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",