Update inlineCompletionProvider.ts

change url of gpt endpoint
pull/4253/head
Joseph Izang 12 months ago committed by yann300
parent 7b40a99f79
commit 7dfad0b6e8
  1. 2
      libs/remix-ui/editor/src/lib/providers/inlineCompletionProvider.ts

@ -33,7 +33,7 @@ export class RemixInLineCompletionProvider implements monacoTypes.languages.Inli
const generativeComment = word.match(/\/\/(.*)\n /)
if (generativeComment[1]) {
// use the code generation model
const {data} = await axios.post('https://llm.remix-project.org', {comment: generativeComment[1]})
const {data} = await axios.post('https://gpt-chat.remixproject.org', {comment: generativeComment[1]})
const item: monacoTypes.languages.InlineCompletion = {
insertText: data
};

Loading…
Cancel
Save