continuedev / continuedev/continue
messageContent.filter is not a function on cloudflare API
Open
@RomneyDa is already working on this.
Since Dec 10, 2024.
kind:bug
needs-triage
os:windows
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Before submitting your bug report
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: win 11
- Continue version: current & pre-release tested
- config.json:
"models": [
{
"accountId": "...",
"apiKey": "...",
"contextLength": 2400,
"completionOptions": {
"maxTokens": 500
},
"model": "@cf/meta/llama-3-8b-instruct",
"provider": "cloudflare",
"title": "Llama 3 8B"
},
{
"accountId": "...",
"apiKey": "...",
"contextLength": 2400,
"completionOptions": {
"maxTokens": 500
},
"model": "@hf/thebloke/deepseek-coder-6.7b-instruct-awq",
"provider": "cloudflare",
"title": "DeepSeek Coder 6.7B Instruct"
}
],
"tabAutocompleteModel": [
{
"accountId": "...",
"apiKey": "...",
"model": "@hf/thebloke/deepseek-coder-6.7b-base-awq",
"provider": "cloudflare",
"title": "DeepSeek 7B",
"completionOptions": {
"maxTokens": 500}
}
]
}
Description
Cannot connect to cloudflares AI worker API. Error: messageContent.filter is not a function.
To reproduce
- Use json above as continue config
- Restart Continue
- Try to chat or to code
Log output
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.