r1+claude这么强
还有这种操作?
還能一起用?
Architect mode and the editor model
When you are in architect mode, aider sends your request to two models:
- First, it sends your request to the main active model. The main model is configured with
/model,--modelor the shortcut switches like--sonnet. After the main model replies, aider will offer to edit the files based on the response.- To edit the files, aider sends a second LLM request asking for specific code editing instructions. This request goes to the “editor” model. Aider has built in defaults to select an editor model based on your main model. Or, you can choose an editor model yourself with
--editor-model <model>.Architect mode produces better results than code mode, but uses two LLM requests. This probably makes it slower and more expensive than using code mode.
Architect mode is especially useful with OpenAI’s o1 models, which are strong at reasoning but less capable at editing files. Pairing an o1 architect with an editor model like GPT-4o or Sonnet will give the best results.
But architect mode is also quite helpful when you use GPT-4o or Sonnet at both the architect and the editor. Allowing the model two requests to solve the problem and edit the files usually provides a better result.
The editor model uses one of aider’s edit formats to let the LLM edit source files. Aider will pick a suitable edit format by default, but you can customize it with
--editor-edit-format <format>. The “editor-diff” and “editor-whole” edit formats are the recommended edit formats when using architect mode. See this article on aider’s architect/editor mode for more details.
文章介绍 aider 的架构师模式,该模式下 aider 会向主活动模型和编辑器模型先后发送请求。主模型处理初始请求,编辑器模型基于主模型回复生成具体代码编辑指令。架构师模式虽更耗时费钱,但效果优于代码模式,尤其适用于 OpenAI 的 o1 模型搭配其他编辑器模型,也适用于在架构师和编辑器环节都使用 GPT - 4o 或 Sonnet 的情况。编辑器模型使用特定编辑格式,aider 有默认格式,用户也可自定义,推荐 “editor - diff” 和 “editor - whole” 格式。
男女搭配干活不累 ![]()
所以就是o1当判断要编辑什么文件的,实际代码编辑让sonnect干。 感觉claude的代码含金量还在上升
应该是cot模型用来写代码,sonnet模型用来根据cot写的代码修改现有文件
哦哦 那要写什么代码还是由o1告诉sonnect
所以那些踩一捧一的可以休了,配合使用才是王道
不是 cot 基本就是帮你把任务细分 代码本身是给到其他模型写的
cot 就是一个 planner
Myqwn 说的基本没啥问题
planner 不会输出任何代码
厉害了厉害了!!
那就是说推理模型干架构,拆分成一个个任务
小任务让sonnet 直接写代码
这个如何使用啊
此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。
