continue
continue copied to clipboard
Query input box stop working of custom content provider with config.ts after 0.8.47 of visual studio code and 0.0.64
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Mac
- Continue: 0.0.68 on intellij and 0.8.48+ of visual studio code
- IDE: Both
- Model: Any
- config.ts:
const RagContextProvider: CustomContextProvider = {
title: "rag",
displayTitle: "RAG",
description:
"Retrieve snippets from our vector database of internal documents",
getContextItems: async (
query: string,
extras: ContextProviderExtras,
): Promise<ContextItem[]> => {
const response = await fetch("https://internal_rag_server.com/retrieve", {
method: "POST",
body: JSON.stringify({ query }),
});
const results = await response.json();
return results.map((result) => ({
name: result.title,
description: result.title,
content: result.contents,
}));
},
};
Description
No input box after select the custom content provider. but the 0.0.64 of idea and 0.8.47 of vsc works fine
0.8.47:
0.8.48+
To reproduce
- write a custom content provider with query of type
- install 0.8.48+ in vsc or 0.0.68 in idea
- Type
@and select the custom provider, no query input box shown up.
Log output
can't find log in console and output tab of continue