Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Fix chat message parsing in Cline #996

Merged
merged 1 commit into from
Feb 10, 2025
Merged

Fix chat message parsing in Cline #996

merged 1 commit into from
Feb 10, 2025

Conversation

aponcedeleonch
Copy link
Contributor

We receive messages from Cline in the format

"messages": [
  {"role": "system", "content": "You are Cline, a highly skilled software"},
  {
     "role": "user",
     "content": [
       {
         "type": "text",
         "text": "Here is the content"
       }
     ]
]

Fixed the unit test and added a new one for Continue

We receive messages from Cline in the format
```
"messages": [
  {"role": "system", "content": "You are Cline, a highly skilled software"},
  {
     "role": "user",
     "content": [
       {
         "type": "text",
         "text": "Here is the content"
       }
     ]
]
```

Fixed the unit test and added a new one for Continue
@aponcedeleonch aponcedeleonch self-assigned this Feb 10, 2025
@aponcedeleonch aponcedeleonch merged commit 7d61fdb into main Feb 10, 2025
9 checks passed
@aponcedeleonch aponcedeleonch deleted the cline-fix branch February 10, 2025 14:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants