mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-07-08 06:07:56 +02:00
refactor(cli): remove CLAUDE_CODE_MAX_OUTPUT_TOKENS config
This commit is contained in:
@@ -24,7 +24,6 @@ interface ConfigMapping {
|
||||
/** Maps every supported env var to its TOML path (section.key) and expected type. */
|
||||
const CONFIG_MAP: readonly ConfigMapping[] = [
|
||||
// Core
|
||||
{ env: 'CLAUDE_CODE_MAX_OUTPUT_TOKENS', toml: 'core.max_tokens', type: 'number' },
|
||||
{ env: 'CLAUDE_ADAPTIVE_THINKING', toml: 'core.adaptive_thinking', type: 'boolean', boolFormat: 'literal' },
|
||||
|
||||
// Anthropic
|
||||
|
||||
@@ -8,7 +8,7 @@ import { getConfigFile } from '../home.js';
|
||||
// === Types ===
|
||||
|
||||
export interface ShannonConfig {
|
||||
core?: { max_tokens?: number; adaptive_thinking?: boolean };
|
||||
core?: { adaptive_thinking?: boolean };
|
||||
anthropic?: { api_key?: string; oauth_token?: string };
|
||||
custom_base_url?: { base_url?: string; auth_token?: string };
|
||||
bedrock?: { use?: boolean; region?: string; token?: string };
|
||||
|
||||
Reference in New Issue
Block a user