Update Claude Code config: Opus 5, Mantle, higher output cap
- Point ANTHROPIC_MODEL at Opus 5; add Opus/Sonnet/Haiku family pins - Switch to Mantle (CLAUDE_CODE_USE_MANTLE) on us-east-1 - Raise CLAUDE_CODE_MAX_OUTPUT_TOKENS to 128k; note 1h prompt-cache opt-in - Move Jellyfish OTEL endpoint + bearer token into zshrc-natera.private (keeps the live credential out of git); document it in the .example
This commit is contained in:
+21
-3
@@ -7,18 +7,36 @@ export PATH="$HOME/.local/bin:$PATH"
|
|||||||
|
|
||||||
# Claude Code (Bedrock)
|
# Claude Code (Bedrock)
|
||||||
export CLAUDE_CODE_USE_BEDROCK=1
|
export CLAUDE_CODE_USE_BEDROCK=1
|
||||||
export AWS_REGION=us-west-2
|
# export AWS_REGION=us-west-2
|
||||||
export ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION=us-west-2
|
export ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION=us-west-2
|
||||||
export ANTHROPIC_MODEL=global.anthropic.claude-opus-4-6-v1
|
|
||||||
export ANTHROPIC_SMALL_FAST_MODEL=global.anthropic.claude-haiku-4-5-20251001-v1:0
|
export ANTHROPIC_SMALL_FAST_MODEL=global.anthropic.claude-haiku-4-5-20251001-v1:0
|
||||||
export CLAUDE_CODE_ENABLE_TELEMETRY=1
|
export CLAUDE_CODE_ENABLE_TELEMETRY=1
|
||||||
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=32000
|
|
||||||
|
# Primary model (what Claude Code uses by default)
|
||||||
|
export ANTHROPIC_MODEL='us.anthropic.claude-opus-5'
|
||||||
|
# Family pins (used by /model and for subagents)
|
||||||
|
export ANTHROPIC_DEFAULT_OPUS_MODEL='us.anthropic.claude-opus-5[1m]'
|
||||||
|
export ANTHROPIC_DEFAULT_SONNET_MODEL='us.anthropic.claude-sonnet-5[1m]'
|
||||||
|
export ANTHROPIC_DEFAULT_HAIKU_MODEL='us.anthropic.claude-haiku-4-5-20251001-v1:0'
|
||||||
|
|
||||||
|
export CLAUDE_CODE_USE_MANTLE=1
|
||||||
|
export AWS_REGION=us-east-1
|
||||||
|
|
||||||
|
# Raise the default 64000 output cap (helpful on Opus 4.7)
|
||||||
|
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=128000
|
||||||
|
# Request a 1-hour prompt cache TTL instead of the 5-minute default.
|
||||||
|
# Good for long-lived sessions; writes are billed at a higher rate.
|
||||||
|
#export ENABLE_PROMPT_CACHING_1H=1
|
||||||
|
|
||||||
# OpenTelemetry (Natera staging)
|
# OpenTelemetry (Natera staging)
|
||||||
export OTEL_METRICS_EXPORTER=otlp
|
export OTEL_METRICS_EXPORTER=otlp
|
||||||
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
|
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
|
||||||
export OTEL_RESOURCE_ATTRIBUTES="user.email=$USER@natera.com"
|
export OTEL_RESOURCE_ATTRIBUTES="user.email=$USER@natera.com"
|
||||||
|
|
||||||
|
# Jellyfish AI reporting — endpoint + bearer token live in zshrc-natera.private
|
||||||
|
# (sourced last, so its protocol/endpoint overrides take effect). See the
|
||||||
|
# Jellyfish block in zshrc-natera.private.example for the shape.
|
||||||
|
|
||||||
# Project-specific aliases
|
# Project-specific aliases
|
||||||
alias workbench='cd ~/work/rosalis'
|
alias workbench='cd ~/work/rosalis'
|
||||||
alias core='cd ~/work/yalp-core'
|
alias core='cd ~/work/yalp-core'
|
||||||
|
|||||||
@@ -8,6 +8,12 @@ export AWS_PROFILE="YOUR_AWS_PROFILE_NAME"
|
|||||||
# OpenTelemetry endpoint (internal)
|
# OpenTelemetry endpoint (internal)
|
||||||
export OTEL_EXPORTER_OTLP_ENDPOINT="http://YOUR_OTEL_ENDPOINT:4318"
|
export OTEL_EXPORTER_OTLP_ENDPOINT="http://YOUR_OTEL_ENDPOINT:4318"
|
||||||
|
|
||||||
|
# Jellyfish AI reporting (contains a live bearer token — keep out of git).
|
||||||
|
# Sourced after zshrc-natera, so these override the protocol/endpoint set there.
|
||||||
|
export OTEL_EXPORTER_OTLP_PROTOCOL=http/json
|
||||||
|
export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT="https://app.jellyfish.co/ingest-webhooks/YOUR_JELLYFISH_PATH"
|
||||||
|
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer YOUR_JELLYFISH_TOKEN"
|
||||||
|
|
||||||
# Netskope TLS cert bundle path (Natera corp)
|
# Netskope TLS cert bundle path (Natera corp)
|
||||||
export AWS_CA_BUNDLE=~/.aws/nskp_config/netskope-cert-bundle.pem
|
export AWS_CA_BUNDLE=~/.aws/nskp_config/netskope-cert-bundle.pem
|
||||||
export REQUESTS_CA_BUNDLE=~/.aws/nskp_config/netskope-cert-bundle.pem
|
export REQUESTS_CA_BUNDLE=~/.aws/nskp_config/netskope-cert-bundle.pem
|
||||||
|
|||||||
Reference in New Issue
Block a user