跳到主要内容

视频演示(哔哩哔哩)- 中文:观看视频

AutoDev Bridge - 遗留代码迁移

所需工具:

所需插件:

自定义Bridge

遵循提示词覆盖,可以自定义AI Composer。在prompt/code目录中, 您可以创建名为bridge.vm的文件来覆盖composer提示词。

自定义推理模型

参考新配置(2.0.0-beta.4+)

Docker

Colima

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

export COLIMA_HOME=$HOME/.colima
export DOCKER_HOST="unix://${COLIMA_HOME}/default/docker.sock"
sudo ln -sf $COLIMA_HOME/default/docker.sock /var/run/docker.sock
常见问题
Deploying '<unknown> Dockerfile: ../../../../shire.Dockerfile'…
ERROR: BuildKit is enabled but the buildx component is missing or broken.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Failed to deploy '<unknown> Dockerfile: ../../../../shire.Dockerfile': Image build failed with exit code 1.

参考:https://github.com/abiosoft/colima/discussions/273

brew install docker-buildx
docker buildx install