Cursor chat returning "startLine" and "endLine" instead of actual code

Describe the Bug

I used codebase search on my codebase and it was trying to show code snippets from the codebase to answer my question, but the code snippets were just “startLine: 52; endLine: 55” for example. And I confirmed that going to the file mentioned in text and going to the mentioned line number range leads to a snippet of code that would have made sense to include.

Steps to Reproduce

Add a file and a snippet from that file as context to cursor chat. Type a prompt. Use cmd-enter for codebase search.

Expected Behavior

its supposed to show actual code examples from my codebase

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.43.6
VSCode Version: 1.93.1
Commit: a846435528b4b760494a836f96f0739889253530
Date: 2024-12-06T05:11:55.168Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.1.0

Additional Information

N/A

Does this stop you from using Cursor

No - Cursor works, but with this issue