Skip to content

cc-switch keeps auto-deleting my environment variables OpenClaw

Quick fix

When an environment variable conflict prompt appears, close the window directly; the maintainer states that closing the window does not delete environment…

Error output
打开cc-swtich就老是说环境变量冲突,就立马给删除了,导致我summarize技能也不能使用。
English translation

Every time I open cc-swtich it says there's an environment variable conflict and deletes it right away, which breaks my summarize skill.

CC Switch works by writing a config file, and higher-priority environment variables override those settings, so it performs environment variable conflict detection. In this issue, `GEMINI_API_KEY` in `~/.bashrc` was reported as a conflict and affected OpenClaw's summarize skill.

The maintainer states that if you ignore the conflict detection and close the prompt window directly, CC Switch will not delete the environment variable.

  1. When CC Switch shows an environment variable conflict prompt, close the window directly; do not perform any environment variable deletion inside that window.

ToolOpenClaw
Version3.13(受影响版本)
PlatformsLinux

This page is distilled from 1 real issues

(No FAQ yet)

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.