microsoft / microsoft/vscode-websearchforcopilot

Cannot read properties of undefined (reading 'map')

Open
#20 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
65
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Type: Bug

The error above displayed on the chat answer. I don't remember my setup last week and it already have this error in the beginning.

I think I already enter wrong API key for tavily but it not possible to reset for now. Please add command to reset.

Extension version: 0.1.2024112101
VS Code version: Code 1.95.1 (Universal) 2024-10-31
OS version: Darwin arm64 21.6.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing the error in the chat answer and tracing how the Tavily API key is stored and accessed in the VS Code extension. Add a way to reset the saved key, then verify that the reset command works and the chat no longer fails because of the stale key.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.