百度Comate的AI编程工具小试

背景

  • 百度Comate基于文心大模型(ERNIE-Code) ,结合百度内部编程大数据及GitHub优质开源数据训练,具备深度语义理解能力。
  • 支持100+编程语言(如Go、Java、Python、JavaScript等),兼容主流IDE(VS Code、JetBrains系列)。

Zulu智能体

提示词

依然重要

As a Developer, I want to ask you to perform a code review.

Consider previous comments noted below and avoid repeating similar recommendations.

If you spot a recurring issue, skip it.

Make your feedback clear, concise, and actionable, with specific improvement recommendations.

Review the code snippet below based on these criteria:

Syntax and Style: Look for syntax errors and deviations from conventions.

Performance Optimization: Suggest changes to improve efficiency.

Security Practices: Check for vulnerabilities and hard-coded secrets (mask half the info).

Error Handling: Identify unhandled exceptions or errors.

Code Quality: Look for code smells, unnecessary complexity, or redundant code.

Bug Detection: Find potential bugs or logical errors.

  • Please make sure to use Simplified Chinese as the language for interactions with users, unless it is for specific proprietary terms or situations where English words are more appropriate.
image

自动修改代码

需要发出patch_file指令

image

/调优建议

选择上下文件,输入 "/调优建议"

image

大型工程OOP分析

提示词来自《Trae中实现OOP原则工程重构》,发现5000个JAVA文件,但实际上只分析了120个

image

代码索引需要手动构建

image

对于超长上下会自动切割与停止

image

我们命令其生成markdown文档

突然重启了

image

生成zip文件,文件是损坏的

image

前端js文件统计

勉强完成任务,但markdown输出是混乱的

结论

百度Comate工具看上去不太稳定,百度内置大模型ERNIE一直以后都是鸡肋,只能做其他模型与工具不可用时辅助。

相关推荐
林澈在路上40 分钟前
2026 主流 AI 写歌 APP 全面测评|零基础原创歌曲工具选购指南
大数据·人工智能·aigc·音视频·音频
用户8181870627461 小时前
第21章 JDBC 异常全集与连接池诊断
后端
Java内核笔记1 小时前
告别第三方库!Spring Boot 4 原生 API 版本控制全解析:4 种策略 + 实战案例
java·后端
神奇小汤圆1 小时前
把Spring Boot 4的Native Image玩明白了,启动3秒变50毫秒的踩坑全记录
后端
东方小月1 小时前
从零开发一个 Coding Agent(五):使用 TypeBox 校验工具参数
前端·人工智能·后端
Scene2161 小时前
Agent Harness、Loop 与 Graph:构建生产级 AI Agent 的三大架构支柱
后端
ServBay1 小时前
Qwen3.8-Max 开源超大杯正式发布,如何让 AI 无感切换新模型
aigc·ai编程
SomeB1oody1 小时前
【RustyML入门】2.0. 经典机器学习
开发语言·后端·机器学习·rust·教程
就改了2 小时前
SpringBoot 自定义线程池 + 实时监控指标
java·spring boot·后端
暗黑小白2 小时前
脱敏引擎工程化
后端·ai agent