Skip to content

Commit 1fbbb23

Browse files
authored
feat: update doc
1 parent 660ee53 commit 1fbbb23

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ Here is an example `.claude/settings.json` file:
605605
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0",
606606
"CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION": "false",
607607
"CLAUDE_CODE_DISABLE_TERMINAL_TITLE": "true",
608+
"CLAUDE_CODE_ENABLE_AWAY_SUMMARY": "0",
608609
"CLAUDE_PLUGIN_ENABLE_QUESTION_RULES": "true"
609610
},
610611
"permissions": {
@@ -618,7 +619,7 @@ Here is an example `.claude/settings.json` file:
618619
619620
- Replace `ANTHROPIC_MODEL`, `ANTHROPIC_DEFAULT_OPUS_MODEL`, `ANTHROPIC_DEFAULT_SONNET_MODEL`, and `ANTHROPIC_DEFAULT_HAIKU_MODEL` according to your needs. After configuration, please install the claude code plugin [Plugin Integrations](#plugin-integrations). If configuring the claude model, it is recommended to set all model configurations the same, so as to remain consistent with github-copilot claude agent behavior.
620621
- Setting CLAUDE_CODE_ATTRIBUTION_HEADER to 0 can prevent Claude code from adding billing and version information in system prompts, thereby avoiding prompt cache invalidation.
621-
- Turning off CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION can prevent quota from being consumed unnecessarily.
622+
- Turning off CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION and CLAUDE_CODE_ENABLE_AWAY_SUMMARY can prevent quota from being consumed unnecessarily.
622623
- Permissions deny WebSearch because the GitHub Copilot API does not support natie websearch (some gpt models support websearch, but the current project has not adapted websearch); it is recommended to install the mcp mcp_server_fetch tool or other search tools as alternatives..
623624
- If using a non-Claude model, do not enable ENABLE_TOOL_SEARCH. If using the Claude model, can enable ENABLE_TOOL_SEARCH. The current Claude Code uses the client tool search mode. In this mode, loading defer tools requires an additional request each time.
624625

0 commit comments

Comments
 (0)