This repository was archived by the owner on Aug 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Add warning about anthropic api key usage #125
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -14,12 +14,20 @@ Claude Code is Anthropic's official CLI that provides direct access to Claude mo | |||||
| 2. **Authenticate:** Run `claude` in your terminal. Claude Code offers multiple authentication options including the Anthropic Console (default), Claude App with Pro/Max plans, and enterprise platforms like Amazon Bedrock or Google Vertex AI. See [Anthropic's authentication documentation](https://docs.anthropic.com/en/docs/claude-code/setup) for complete details. | ||||||
| 3. **Verify Installation:** Test that everything works by running `claude --version` in your terminal. | ||||||
|
|
||||||
| :::warning Environment Variable Usage | ||||||
| The `claude` command-line tool, like other Anthropic SDKs, can use the `ANTHROPIC_API_KEY` environment variable for authentication. This is a common method for authorizing CLI tools in non-interactive environments. | ||||||
|
|
||||||
| If this environment variable is set on your system, the `claude` tool may use it for authentication instead of the interactive `/login` method. When Kilo Code executes the tool, it will accurately reflect that an API key is being used, as this is the underlying behavior of the `claude` CLI itself. | ||||||
| ::: | ||||||
|
|
||||||
| **Website:** [https://docs.anthropic.com/en/docs/claude-code/setup](https://docs.anthropic.com/en/docs/claude-code/setup) | ||||||
|
|
||||||
| ## Supported Models | ||||||
|
|
||||||
| Kilo Code supports the following Claude models through Claude Code: | ||||||
|
|
||||||
| * `claude-sonnet-4` (Recommended) | ||||||
| * `claude-4-opus` | ||||||
| - `claude-sonnet-4` (Recommended) | ||||||
| - `claude-4-opus` | ||||||
|
|
||||||
| The specific models available depend on your Claude subscription and plan. See [Anthropic's Model Documentation](https://docs.anthropic.com/en/docs/about-claude/models) for more details on each model's capabilities. | ||||||
|
|
||||||
|
|
@@ -32,16 +40,16 @@ The specific models available depend on your Claude subscription and plan. See [ | |||||
|
|
||||||
| ## Tips and Notes | ||||||
|
|
||||||
| * **No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys. | ||||||
| * **Cost Transparency:** Usage costs are reported directly by the Claude CLI, giving you clear visibility into your spending. | ||||||
| * **Advanced Reasoning:** Full support for Claude's thinking modes and reasoning capabilities when available. | ||||||
| * **Context Windows:** Claude models have large context windows, allowing you to include significant amounts of code and context in your prompts. | ||||||
| * **Enhance Prompt Feature:** Full compatibility with Kilo Code's Enhance Prompt feature, allowing you to automatically improve and refine your prompts before sending them to Claude. | ||||||
| * **Custom Paths:** If you installed Claude Code in a non-standard location, you can specify the full path in the settings. Examples: | ||||||
| * Windows: `C:\tools\claude\claude.exe` | ||||||
| * macOS/Linux: `/usr/local/bin/claude` or `~/bin/claude` | ||||||
| - **No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys. | ||||||
|
||||||
| - **No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys. | |
| - **API Key Usage:** Claude Code primarily uses your existing CLI authentication, but if the `ANTHROPIC_API_KEY` environment variable is set, it will use that API key for authentication. You do not need to manually manage API keys unless you are using non-interactive environments or have set this variable. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not 4.1?