Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add file via /file command on MacOS in assistant panel #19331

Open
1 task done
darinkishore opened this issue Oct 17, 2024 · 2 comments
Open
1 task done

Can't add file via /file command on MacOS in assistant panel #19331

darinkishore opened this issue Oct 17, 2024 · 2 comments
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) bug [core label] macOS Platform-specific feedback for macOS behaviors, features, design, etc

Comments

@darinkishore
Copy link

darinkishore commented Oct 17, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Hi!

On my computer, I try typing /file x (autosuggested files, hit enter)

and then no file is added. token count stays identical.

this happens when i do /delta as well.

settings:

Environment

Zed: v0.157.5 (Zed)
OS: macOS 14.6.1
Memory: 96 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
2024-10-16T20:24:20.137048-04:00 [INFO] set status on client 0: Authenticating
2024-10-16T20:24:20.137819-04:00 [WARN] request completed with error: failed to connect to the server
2024-10-16T20:24:20.138132-04:00 [WARN] request completed with error: failed to connect to the server
2024-10-16T20:24:20.138445-04:00 [WARN] request completed with error: failed to connect to the server
2024-10-16T20:24:20.166629-04:00 [INFO] set status on client 98842: Connecting
2024-10-16T20:24:20.167293-04:00 [INFO] Opening main db
2024-10-16T20:24:20.167572-04:00 [WARN] request completed with error: failed to connect to the server
2024-10-16T20:24:20.17024-04:00 [WARN] request completed with error: failed to connect to the server
2024-10-16T20:24:20.173116-04:00 [INFO] Opening main db
2024-10-16T20:24:20.192364-04:00 [WARN] request completed with error: failed to connect to the server
2024-10-16T20:24:20.192567-04:00 [WARN] request completed with error: failed to connect to the server
2024-10-16T20:24:20.214967-04:00 [INFO] attempting to start language server "pyright", path: "/Users/darin/Projects/class", id: 1
2024-10-16T20:24:20.215149-04:00 [INFO] Initializing default prettier with plugins {}
2024-10-16T20:24:20.215639-04:00 [INFO] Initializing default prettier with plugins {}
2024-10-16T20:24:20.216114-04:00 [INFO] Initializing default prettier with plugins {}
2024-10-16T20:24:20.216329-04:00 [INFO] Initializing default prettier with plugins {}
2024-10-16T20:24:20.217318-04:00 [WARN] request completed with error: failed to connect to the server
2024-10-16T20:24:20.251902-04:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-10-16T20:24:20.436711-04:00 [INFO] starting language server process. binary path: "/usr/local/bin/node", working directory: "/", args: ["/Users/darin/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-10-16T20:24:20.49171-04:00 [INFO] fetching latest version of language server "pyright"
2024-10-16T20:24:20.587709-04:00 [INFO] add connection to peer
2024-10-16T20:24:20.587757-04:00 [INFO] add_connection;
2024-10-16T20:24:20.587794-04:00 [INFO] waiting for server hello
2024-10-16T20:24:20.603821-04:00 [INFO] got server hello
2024-10-16T20:24:20.603909-04:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 588, id: 71033 })
2024-10-16T20:24:20.604019-04:00 [INFO] set status on client 98842: Connected { peer_id: PeerId { owner_id: 588, id: 71033 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-10-16T20:24:20.650547-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-10-17T00:24:20.647Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-10-17T00:24:20.647Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-10-16T20:24:20.651152-04:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "bdb7b20f-4f40-4c8d-8565-c0976a69b7e6",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-10-16T20:24:20.900773-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-10-17T00:24:20.895Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-10-17T00:24:20.895Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-10-16T20:24:20.951883-04:00 [INFO] downloading language server "pyright"
2024-10-16T20:24:21.229766-04:00 [INFO] using project environment for language server LanguageServerName("pyright")
2024-10-16T20:24:21.229846-04:00 [INFO] starting language server process. binary path: "/usr/local/bin/node", working directory: "/Users/darin/Projects/class", args: ["/Users/darin/Library/Application Support/Zed/languages/pyright/node_modules/pyright/langserver.index.js", "--stdio"]
2024-10-16T20:24:21.419894-04:00 [INFO] language server 1: unregistered workspace/DidChangeWatchedFiles capability with id f39b1658-bda6-4efe-9fdb-ff0b0c6d183d
2024-10-16T20:24:21.576225-04:00 [INFO] Initializing default prettier with plugins {}
2024-10-16T20:24:21.577182-04:00 [WARN] request completed with error: failed to connect to the server
2024-10-16T20:24:21.685635-04:00 [INFO] language server 1: unregistered workspace/DidChangeWatchedFiles capability with id fbdd2d0f-c991-42c3-bd3e-30eee2620ff1
2024-10-16T20:27:05.475006-04:00 [INFO] Summarizing updated entries took 3.542µs
2024-10-16T20:27:05.519038-04:00 [ERROR] failed to fetch cached embeddings via cloud model

Caused by:
RPC request GetCachedEmbeddings failed: permission denied

@darinkishore darinkishore added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Oct 17, 2024
@notpeter
Copy link
Member

Can you record a video (cmd-shift-5) of this happening?

@notpeter notpeter added macOS Platform-specific feedback for macOS behaviors, features, design, etc ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Oct 18, 2024
@darinkishore
Copy link
Author

darinkishore commented Oct 19, 2024

@github-actions github-actions bot added admin read Pending admin review triage Maintainer needs to classify the issue labels Nov 5, 2024
@notpeter notpeter removed triage Maintainer needs to classify the issue admin read Pending admin review labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) bug [core label] macOS Platform-specific feedback for macOS behaviors, features, design, etc
Projects
None yet
Development

No branches or pull requests

2 participants