You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When asking Continue to generate/create a Markdown file, the request fails with:
500 Failed to parse tool call arguments as JSON:
[json.exception.parse_error.101] parse error at line 1, column 6767:
syntax error while parsing value - invalid string: missing closing quote
The failure appears during llm/streamChat while Continue is using built-in tools such as create_new_file.
The prompt I submitted to Continue was:
Create a file named `test.md` in the current workspace and generate a test text using various Markdown formats. The text should be longer than 1,000 lines.
Generated Markdown content
The generated .md content was very long, so I am putting it in a collapsible block.
This is a simple blockquote.
It can contain multiple lines of text.
Blockquote with Code
defexample():
print("Code in blockquote")
Nested Blockquotes
Outer blockquote
Inner blockquote
Back to outer blockquote
Horizontal Rules
This is a horizontal rule using three dashes.
This is a horizontal rule using asterisks.
This is a horizontal rule using underscores.
Task Lists
Completed task
Incomplete task
Another incomplete task
Nested completed task
Nested incomplete task
Details and Summaries
Click to expand/collapse
This content is inside a details/summary element.
It can contain any valid Markdown content.
Example code block within details
Additional Content to Reach 1,000 Lines
Section 1: Lorem Ipsum Variations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
Section 2: Technical Documentation Examples
API Documentation Structure
# API Reference## Authentication### Obtaining an Access Token
To authenticate with our API, you need to obtain an access token. Follow these steps:
1. Register your application on our developer portal
2. Generate a client ID and secret
3. Implement the OAuth2 flow in your application
4. Store tokens securely
### Rate Limiting
Our API implements rate limiting to ensure fair usage:
- Standard tier: 100 requests per minute
- Premium tier: 1000 requests per minute
- Enterprise tier: Unlimited requests
## Endpoints### GET /users
Retrieves a list of users.
**Parameters:**| Parameter | Type | Description ||-----------|--------|--------------------------------|| limit | int | Maximum number of results || offset | int | Pagination offset || sort | string | Sort field |**Response:**```json
{
"users": [
{
"id": 1,
"name": "John Doe",
"email": "john@example.com"
}
],
"pagination": {
"total": 100,
"limit": 10,
"offset": 0
}
}
Our API uses standard HTTP status codes and includes error details in the response body.
Status Code
Meaning
Example Response
400
Bad Request
{"error": "Invalid input data"}
401
Unauthorized
{"error": "Invalid or expired token"}
403
Forbidden
{"error": "Access denied"}
404
Not Found
{"error": "Resource not found"}
5
Continue log
Continue log
[@continuedev] error: 500 Failed to parse tool call arguments as JSON: [json.exception.parse_error.101] parse error at line 1, column 7690: syntax error while parsing value - invalid string: missing closing quote; last read: '"# Comprehensive Markdown Test Document\n\n## Table of Contents\n1. Headings\n2. Text Formatting\n3. Lists\n4. Code Blocks\n5. Tables\n6. Links and Images\n7. Blockquotes\n8. Horizontal Rules\n9. Task Lists\n10. Details and Summaries\n\n## Headings\n\n### Level 3 Heading\nThis is a level 3 heading with some text.\n\n#### Level 4 Heading\nThis is a level 4 heading with some text.\n\n##### Level 5 Heading\nThis is a level 5 heading with some text.\n\n###### Level 6 Heading\nThis is a level 6 heading with some text.\n\n## Text Formatting\n\nBold text - This text is bold.\n\nItalic text - This text is italic.\n\nStrikethrough text - This text is strikethrough.\n\nInline code - This is inline code.\n\nDeleted text - This text appears deleted.\n\n> This is a blockquote.\n> It can span multiple lines.\n> And it can have different formatting styles.\n\n## Lists\n\n### Unordered Lists\n\n- First item\n- Second item\n- Third item\n - Nested item 1\n - Nested item 2\n - Deeply nested item\n\n### Ordered Lists\n\n1. First ordered item\n2. Second ordered item\n3. Third ordered item\n 1. Nested ordered item 1\n 2. Nested ordered item 2\n\n### Definition Lists\n\nTerm 1\n: Definition for term 1.\n\nTerm 2\n: Definition for term 2.\n\n## Code Blocks\n\n### Fenced Code Block (Language Specified)\n\npython\ndef hello_world():\n print(\"Hello, World!\")\n\nif __name__ == \"__main__\":\n hello_world()\n\n\n### Fenced Code Block (No Language)\n\n\nThis is a code block without a specified language.\nIt will be rendered as plain text.\n\n\n### Fenced Code Block (With Comments)\n\njavascript\n// This is a JavaScript file\nfunction calculateSum(a, b) {\n // Add two numbers\n return a + b;\n}\n\n// Export the function\nmodule.exports = calculateSum;\n\n\n### Indented Code Block\n\n This is an indented code block.\n It uses 4 spaces for indentation.\n Each line must be indented by 4 spaces.\n\n## Tables\n\n### Basic Table\n\n| Column 1 | Column 2 | Column 3 |\n|----------|----------|----------|\n| Value A | Value B | Value C |\n| Value D | Value E | Value F |\n| Value G | Value H | Value I |\n\n### Table with Alignment\n\n| Left Aligned | Center Aligned | Right Aligned |\n|:-------------|:--------------:|---------------:|\n| Left text | Center text | Right |\n| More left | More center | More right|\n\n### Table with Merged Cells (Not supported in standard Markdown)\n\n| Header 1 | Header 2 |\n|----------|----------|\n| Cell 1,2 | Cell 3,4 |\n| Cell 5,6 | Cell 7,8 |\n\n## Links and Images\n\n### Inline Link\n\nThis is a link\n\n### Link with Title\n\n[This is a link with title](https://example.com "Example Title")\n\n### Image\n\n\n\n### Image with Title\n\n\n\n### Autolink\n\nhttps://example.com\n\n## Blockquotes\n\n### Simple Blockquote\n\n> This is a simple blockquote.\n> It can contain multiple lines of text.\n\n### Blockquote with Code\n\n> python\n> def example():\n> print(\"Code in blockquote\")\n> \n\n### Nested Blockquotes\n\n> Outer blockquote\n> \n> > Inner blockquote\n> \n> Back to outer blockquote\n\n## Horizontal Rules\n\n---\n\nThis is a horizontal rule using three dashes.\n\n***\n\nThis is a horizontal rule using asterisks.\n\n___\n\nThis is a horizontal rule using underscores.\n\n## Task Lists\n\n- [x] Completed task\n- [ ] Incomplete task\n- [ ] Another incomplete task\n - [x] Nested completed task\n - [ ] Nested incomplete task\n\n## Details and Summaries\n\n
\nClick to expand/collapse\n\nThis content is inside a details/summary element.\nIt can contain any valid Markdown content.\n\n\nExample code block within details\n\n\n\n\n---\n\n## Additional Content to Reach 1,000 Lines\n\n### Section 1: Lorem Ipsum Variations\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.\n\nUt enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?\n\n### Section 2: Technical Documentation Examples\n\n#### API Documentation Structure\n\nmarkdown\n# API Reference\n\n## Authentication\n\n### Obtaining an Access Token\n\nTo authenticate with our API, you need to obtain an access token. Follow these steps:\n\n1. Register your application on our developer portal\n2. Generate a client ID and secret\n3. Implement the OAuth2 flow in your application\n4. Store tokens securely\n\n### Rate Limiting\n\nOur API implements rate limiting to ensure fair usage:\n\n- Standard tier: 100 requests per minute\n- Premium tier: 1000 requests per minute\n- Enterprise tier: Unlimited requests\n\n## Endpoints\n\n### GET /users\n\nRetrieves a list of users.\n\n**Parameters:**\n\n| Parameter | Type | Description |\n|-----------|--------|--------------------------------|\n| limit | int | Maximum number of results |\n| offset | int | Pagination offset |\n| sort | string | Sort field |\n\n**Response:**\n\njson\n{\n "users": [\n {\n "id": 1,\n "name": "John Doe",\n "email": "john@example.com"\n }\n ],\n "pagination": {\n "total": 100,\n "limit": 10,\n "offset": 0\n }\n}\n\n\n### POST /users\n\nCreates a new user.\n\n**Request Body:**\n\njson\n{\n "name": "Jane Doe",\n "email": "jane@example.com",\n "role": "admin"\n}\n\n\n**Response:**\n\njson\n{\n "id": 2,\n "name": "Jane Doe",\n "email": "jane@example.com",\n "created_at": "2024-01-15T10:30:00Z"\n}\n```\n\n### Error Handling\n\nOur API uses standard HTTP status codes and includes error details in the response body.\n\n| Status Code | Meaning | Example Response |\n|-------------|----------------------------|---------------------------------------|\n| 400 | Bad Request | {"error": "Invalid input data"} |\n| 401 | Unauthorized | {"error": "Invalid or expired token"} |\n| 403 | Forbidden | {"error": "Access denied"} |\n| 404 | Not Found | {"error": "Resource not found"} |\n| 5' {"context":"llm_stream_chat","model":"qwen35-9b-q4-mtp","provider":"openai","useOpenAIAdapter":true,"streamEnabled":true,"templateMessages":false}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
continue.continue-1.3.38model:qwen35-9b-q4-mtpprovider:openaiuseOpenAIAdapter:truestreamEnabled:truetemplateMessages:falseProblem
When asking Continue to generate/create a Markdown file, the request fails with:
The failure appears during llm/streamChat while Continue is using built-in tools such as create_new_file.
The prompt I submitted to Continue was:
Generated Markdown content
The generated .md content was very long, so I am putting it in a collapsible block.
Generated test.md content excerpt
Comprehensive Markdown Test Document
Table of Contents
Headings
Level 3 Heading
This is a level 3 heading with some text.
Level 4 Heading
This is a level 4 heading with some text.
Level 5 Heading
This is a level 5 heading with some text.
Level 6 Heading
This is a level 6 heading with some text.
Text Formatting
Bold text - This text is bold.
Italic text - This text is italic.
Strikethrough text - This text is strikethrough.
Inline code- This is inline code.Deleted text- This text appears deleted.Lists
Unordered Lists
Ordered Lists
Definition Lists
Term 1
: Definition for term 1.
Term 2
: Definition for term 2.
Code Blocks
Fenced Code Block (Language Specified)
Fenced Code Block (No Language)
Fenced Code Block (With Comments)
Indented Code Block
Tables
Basic Table
Table with Alignment
Table with Merged Cells (Not supported in standard Markdown)
Links and Images
Inline Link
This is a link
Link with Title
This is a link with title
Image
Image with Title
Autolink
https://example.com
Blockquotes
Simple Blockquote
Blockquote with Code
Nested Blockquotes
Horizontal Rules
This is a horizontal rule using three dashes.
This is a horizontal rule using asterisks.
This is a horizontal rule using underscores.
Task Lists
Details and Summaries
Click to expand/collapse
This content is inside a details/summary element.
It can contain any valid Markdown content.
Additional Content to Reach 1,000 Lines
Section 1: Lorem Ipsum Variations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
Section 2: Technical Documentation Examples
API Documentation Structure
POST /users
Creates a new user.
Request Body:
{ "name": "Jane Doe", "email": "jane@example.com", "role": "admin" }Response:
{ "id": 2, "name": "Jane Doe", "email": "jane@example.com", "created_at": "2024-01-15T10:30:00Z" }Error Handling
Our API uses standard HTTP status codes and includes error details in the response body.
Continue log
Continue log
[@continuedev] error: 500 Failed to parse tool call arguments as JSON: [json.exception.parse_error.101] parse error at line 1, column 7690: syntax error while parsing value - invalid string: missing closing quote; last read: '"# Comprehensive Markdown Test Document\n\n## Table of Contents\n1. Headings\n2. Text Formatting\n3. Lists\n4. Code Blocks\n5. Tables\n6. Links and Images\n7. Blockquotes\n8. Horizontal Rules\n9. Task Lists\n10. Details and Summaries\n\n## Headings\n\n### Level 3 Heading\nThis is a level 3 heading with some text.\n\n#### Level 4 Heading\nThis is a level 4 heading with some text.\n\n##### Level 5 Heading\nThis is a level 5 heading with some text.\n\n###### Level 6 Heading\nThis is a level 6 heading with some text.\n\n## Text Formatting\n\nBold text - This text is bold.\n\nItalic text - This text is italic.\n\nStrikethrough text - This text is strikethrough.\n\n
\n\n### Image with Title\n\n\n\n### Autolink\n\nhttps://example.com\n\n## Blockquotes\n\n### Simple Blockquote\n\n> This is a simple blockquote.\n> It can contain multiple lines of text.\n\n### Blockquote with Code\n\n>
Inline code- This is inline code.\n\nDeleted text- This text appears deleted.\n\n> This is a blockquote.\n> It can span multiple lines.\n> And it can have different formatting styles.\n\n## Lists\n\n### Unordered Lists\n\n- First item\n- Second item\n- Third item\n - Nested item 1\n - Nested item 2\n - Deeply nested item\n\n### Ordered Lists\n\n1. First ordered item\n2. Second ordered item\n3. Third ordered item\n 1. Nested ordered item 1\n 2. Nested ordered item 2\n\n### Definition Lists\n\nTerm 1\n: Definition for term 1.\n\nTerm 2\n: Definition for term 2.\n\n## Code Blocks\n\n### Fenced Code Block (Language Specified)\n\npython\ndef hello_world():\n print(\"Hello, World!\")\n\nif __name__ == \"__main__\":\n hello_world()\n\n\n### Fenced Code Block (No Language)\n\n\nThis is a code block without a specified language.\nIt will be rendered as plain text.\n\n\n### Fenced Code Block (With Comments)\n\njavascript\n// This is a JavaScript file\nfunction calculateSum(a, b) {\n // Add two numbers\n return a + b;\n}\n\n// Export the function\nmodule.exports = calculateSum;\n\n\n### Indented Code Block\n\n This is an indented code block.\n It uses 4 spaces for indentation.\n Each line must be indented by 4 spaces.\n\n## Tables\n\n### Basic Table\n\n| Column 1 | Column 2 | Column 3 |\n|----------|----------|----------|\n| Value A | Value B | Value C |\n| Value D | Value E | Value F |\n| Value G | Value H | Value I |\n\n### Table with Alignment\n\n| Left Aligned | Center Aligned | Right Aligned |\n|:-------------|:--------------:|---------------:|\n| Left text | Center text | Right |\n| More left | More center | More right|\n\n### Table with Merged Cells (Not supported in standard Markdown)\n\n| Header 1 | Header 2 |\n|----------|----------|\n| Cell 1,2 | Cell 3,4 |\n| Cell 5,6 | Cell 7,8 |\n\n## Links and Images\n\n### Inline Link\n\nThis is a link\n\n### Link with Title\n\n[This is a link with title](https://example.com "Example Title")\n\n### Image\n\npython\n> def example():\n> print(\"Code in blockquote\")\n>\n\n### Nested Blockquotes\n\n> Outer blockquote\n> \n> > Inner blockquote\n> \n> Back to outer blockquote\n\n## Horizontal Rules\n\n---\n\nThis is a horizontal rule using three dashes.\n\n***\n\nThis is a horizontal rule using asterisks.\n\n___\n\nThis is a horizontal rule using underscores.\n\n## Task Lists\n\n- [x] Completed task\n- [ ] Incomplete task\n- [ ] Another incomplete task\n - [x] Nested completed task\n - [ ] Nested incomplete task\n\n## Details and Summaries\n\nClick to expand/collapse
\n\nThis content is inside a details/summary element.\nIt can contain any valid Markdown content.\n\n\nExample code block within details\n\n\nmarkdown\n# API Reference\n\n## Authentication\n\n### Obtaining an Access Token\n\nTo authenticate with our API, you need to obtain an access token. Follow these steps:\n\n1. Register your application on our developer portal\n2. Generate a client ID and secret\n3. Implement the OAuth2 flow in your application\n4. Store tokens securely\n\n### Rate Limiting\n\nOur API implements rate limiting to ensure fair usage:\n\n- Standard tier: 100 requests per minute\n- Premium tier: 1000 requests per minute\n- Enterprise tier: Unlimited requests\n\n## Endpoints\n\n### GET /users\n\nRetrieves a list of users.\n\n**Parameters:**\n\n| Parameter | Type | Description |\n|-----------|--------|--------------------------------|\n| limit | int | Maximum number of results |\n| offset | int | Pagination offset |\n| sort | string | Sort field |\n\n**Response:**\n\njson\n{\n "users": [\n {\n "id": 1,\n "name": "John Doe",\n "email": "john@example.com"\n }\n ],\n "pagination": {\n "total": 100,\n "limit": 10,\n "offset": 0\n }\n}\n\n\n### POST /users\n\nCreates a new user.\n\n**Request Body:**\n\njson\n{\n "name": "Jane Doe",\n "email": "jane@example.com",\n "role": "admin"\n}\n\n\n**Response:**\n\njson\n{\n "id": 2,\n "name": "Jane Doe",\n "email": "jane@example.com",\n "created_at": "2024-01-15T10:30:00Z"\n}\n```\n\n### Error Handling\n\nOur API uses standard HTTP status codes and includes error details in the response body.\n\n| Status Code | Meaning | Example Response |\n|-------------|----------------------------|---------------------------------------|\n| 400 | Bad Request | {"error": "Invalid input data"} |\n| 401 | Unauthorized | {"error": "Invalid or expired token"} |\n| 403 | Forbidden | {"error": "Access denied"} |\n| 404 | Not Found | {"error": "Resource not found"} |\n| 5' {"context":"llm_stream_chat","model":"qwen35-9b-q4-mtp","provider":"openai","useOpenAIAdapter":true,"streamEnabled":true,"templateMessages":false}Beta Was this translation helpful? Give feedback.
All reactions