TechCrunch News 02月07日
GitHub Copilot brings mockups to life by generating code from images
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

GitHub Copilot迎来一系列更新,预示着其AI驱动的结对编程助手将走向更具代理能力的方向。其中,Copilot的Vision功能允许用户上传截图、照片或图表到聊天中,Copilot可以生成界面、代码和替代文本,使之栩栩如生。此外,Copilot还引入了“下一步编辑建议”功能,利用更丰富的上下文线索自动识别并建议下一步编辑。Copilot Edits也已全面可用,并新增“代理模式”,可以识别与开发者尝试进行的更改相关的所有文件。GitHub还预告了一项名为Project Padawan的新计划,这是一个软件工程(SWE)代理,可以在开发人员的指导下独立处理整个任务。

🖼️ Copilot的Vision功能允许用户通过上传图片进行交互,Copilot能够理解图片内容并生成相应的代码和界面。例如,市场团队成员可以上传网页截图,指示Copilot根据截图中的修改意见进行代码调整,无需通过文本提示描述修改内容。

💡 “下一步编辑建议”功能通过分析用户最近的编辑行为,预测并建议下一步可能的编辑操作。Copilot会利用更丰富的上下文线索,自动识别并推荐开发者可能需要的下一步编辑内容,开发者可以通过Tab键接受建议,或通过Esc键拒绝。

🤖 Copilot Edits新增“代理模式”,能够自动识别与开发者尝试进行的更改相关的所有文件,无需开发者手动选择。该模式旨在理解开发者最初请求的意图,并自动寻找解决方案,从而简化多文件编辑流程。

GitHub has announced a slew of updates for Copilot, while also giving a glimpse into a more agentic future for its AI-powered pair programmer.

Among the notable updates includes a feature called Vision for Copilot, which allows users to attach a screenshot, photo, or diagram to a chat, with Copilot generating the interface, code, and alt text to bring it to life.

So for example, someone on a marketing team could take a screenshot of a web page and illustrate some changes they want made to that page. Rather than requesting such changes via text prompts, it’s now possible to upload an image and just ask Copilot to implement the changes as indicated in the file.

It’s worth noting that this has been available as an extension in VS Code since October, with Microsoft confirming in the app’s description that it would eventually be deprecated in favor of a native feature within GitHub Copilot Chat. Previously, it also required the user to have their own API key.

Vision for CopilotImage Credits:GitHub

GitHub is also introducing a new feature dubbed “next edit suggestions” as part of Copilot’s broader code-complete functionality.

Before now, GitHub Copilot in VS Code’s editor worked from the cursor position, but now it will look at other recent edits to predict what you might want to do next. It’s basically using richer contextual cues to automatically identify and suggest what the next edit should be.

If the developer wants to accept the suggestions, they can hit the Tab key, or Esc to reject.

GitHub Copilot Next Edit SuggestionsImage Credits:GitHub

GitHub also debuted Copilot Edits last November, serving as a new way to carry out multi-file edits using natural language prompts. This features is now graduating to general availability, while also packing a new “agent mode” that identifies all the files that are relevant to the changes that a developer is trying to make — rather than relying on them to manually select the files that the changes should apply to.

“Copilot [now] does more of the work to figure out the intent that you had with your original request, and then tries to solve that,” GitHub CEO Thomas Dohmke told TechCrunch.

Longer term, the goal is to have such “agent modes” apply to other aspects of Copilot, enabling greater automation across a broader range of interlinked tasks. This is why GitHub has also teased a new initiative it’s calling Project Padawan, which is basically a SWE (software engineering) agent that can independently handle entire tasks under the direction of a developer who assigns issues to Copilot.

Dohmke didn’t give any indication when this might be ready for prime time, merely noting that it will be working with partners and the community to improve it.

“We’re looking for partners that are also building agents, to integrate into that flow, and for customers to work with us and and give us feedback — because we know it’s not going to be perfect at this stage,” Dohmke said.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

GitHub Copilot AI编程 代码助手
相关文章