Open FurtherAI opened 3 weeks ago
Thanks for pointing this out. We intend to replace the /so command with an improved "web" context provider, so I'm going to leave this open but note that it's not something that we'll directly fix other than removing the slash command entirely. I'll let you know when web is ready!
Sounds good
PR Open to remove stack overflow provider
@FurtherAI
WebContextProvider
is now available in prerelease
To use, add it to your config.json
like:
{
...,
"contextProviders": [
...,
{
"name": "web",
"params": {}
},
]
Then, you can type @web
followed by a search query
See code: https://github.com/continuedev/continue/blob/dev/core/context/providers/WebContextProvider.ts
If you want to keep the more specific Stack Overflow context provider, you can refactor it as a custom context provider
Before submitting your bug report
Relevant environment info
Description
Using the slash command /so to search stack overflow gives an error: TypeError: Cannot read properties of undefined (reading 'map').
To reproduce
Try running the /so command and if it isn't reproducible, we can track down what is wrong on my end.
Log output