Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
umpox committed Mar 5, 2025
1 parent b04731e commit f21cdcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions agent/src/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1031,10 +1031,11 @@ export class Agent extends MessageHandler implements ExtensionClient {
}
)

this.registerAuthenticatedRequest('testing/autocomplete/providerConfig', async () => {
const provider = await vscode_shim.completionProvider()
return 'config' in provider ? provider.config.provider : null
})
// TODO: Re-add this
// this.registerAuthenticatedRequest('testing/autocomplete/providerConfig', async () => {
// const provider = await vscode_shim.completionProvider()
// return 'config' in provider ? provider.config.provider : null
// })

this.registerAuthenticatedRequest('graphql/getRepoIds', async ({ names, first }) => {
const repos = await graphqlClient.getRepoIds(names, first)
Expand Down
1 change: 1 addition & 0 deletions vscode/src/completions/inline-completion-item-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ export class InlineCompletionItemProvider

// return `CompletionEvent` telemetry data to the agent command `autocomplete/execute`.
const autocompleteResult: AutocompleteResult = {
type: 'completion',
logId: result.logId,
items: visibleItems,
completionEvent: CompletionAnalyticsLogger.getCompletionEvent(result.logId),
Expand Down

0 comments on commit f21cdcc

Please sign in to comment.