Skip to content

TypeError: Cannot read properties of undefined (reading 'trimStart') in code completion "Ollama" #13

Open
@shmox75

Description

@shmox75

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. Type code in editor

2025-04-09 14:38:34.910 [error] TypeError: Cannot read properties of undefined (reading 'trimStart') at /usr/share/flexpilot/resources/app/extensions/flexpilot/dist/extension.js:2:720977 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.provideInlineCompletionItems (/usr/share/flexpilot/resources/app/extensions/flexpilot/dist/extension.js:2:719644) at async hW.provideInlineCompletions (file:///usr/share/flexpilot/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:159460) 2025-04-09 14:38:34.910 [error] Error generating completions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions