V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
cpalead

GitHub copilot 读取不了文件

  •  
  •   cpalead · 3 月 12 日 · 898 次点击
    这是一个创建于 35 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我把文件加入上下文,然后它读取的时候报错 Error: startLineNumberBaseOne must be a number, received: undefined 读取失败,还有我发现它比较傻,我问他一个函数和另外一个函数的关系,其实是一个调用另外一个的关系,但是它也没分析出来 现在在 cursor 上免费用 codex ,codex 就能弄懂这两个方法的关系。感觉 copilot 除了自动补全没啥用了 copilot 用的模型是 gpt5mini codex 用的模型是 gpt5.2 我在 Android studio 里面用 copilot ,是我不会用还是它就是有这些 bug

    3 条回复    2026-03-12 22:18:54 +08:00
    admin948
        1
    admin948  
       3 月 12 日
    需要用 Agent 模式,用 Ask 模式它不会调工具……不知道是不是 BUG
    cpalead
        2
    cpalead  
    OP
       3 月 12 日
    @admin948 我一直都用的 agent 模式
    soulflysimple123
        3
    soulflysimple123  
       3 月 12 日
    用 gpt5.4, 另外最好用 copilot cli ,能力比 idea 里面的插件强很多
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1051 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 22:53 · PVG 06:53 · LAX 15:53 · JFK 18:53
    ♥ Do have faith in what you're doing.