You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: warn users when ANTHROPIC_API_KEY conflicts with Claude Code subscription
- Add environment variable detection in ClaudeCodeHandler constructor
- Show warning notification when ANTHROPIC_API_KEY is detected
- Add i18n translations for the warning message
- Include "Learn More" action that links to Claude Code authentication docs
- Add comprehensive tests for the new functionality
Fixes#7196
Copy file name to clipboardExpand all lines: src/i18n/locales/en/common.json
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,8 @@
105
105
"warnings": {
106
106
"no_terminal_content": "No terminal content selected",
107
107
"missing_task_files": "This task's files are missing. Would you like to remove it from the task list?",
108
-
"auto_import_failed": "Failed to auto-import RooCode settings: {{error}}"
108
+
"auto_import_failed": "Failed to auto-import RooCode settings: {{error}}",
109
+
"anthropic_api_key_conflict": "An ANTHROPIC_API_KEY environment variable was detected. This may conflict with your Claude Max/Pro subscription login and cause authentication errors. Please unset this environment variable to ensure your subscription plan is used correctly."
109
110
},
110
111
"info": {
111
112
"no_changes": "No changes found.",
@@ -134,6 +135,9 @@
134
135
"edit": "Edit",
135
136
"learn_more": "Learn More"
136
137
},
138
+
"actions": {
139
+
"learn_more": "Learn More"
140
+
},
137
141
"tasks": {
138
142
"canceled": "Task error: It was stopped and canceled by the user.",
139
143
"deleted": "Task failure: It was stopped and deleted by the user.",
0 commit comments