mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 22:02:47 +00:00
feat(hooks): add tools.ts example hook for interactive tool enable/disable
- /tools command opens SettingsList-based selector for all loaded tools - Space/Enter toggles individual tools between enabled/disabled - Changes apply immediately on toggle (like /settings) - Tool selection persisted to session via appendEntry() - State restored from current branch on session_start, session_tree, session_branch - Uses getBranch() to respect branch-specific tool configuration - Export getSettingsListTheme and getSelectListTheme for hooks to use
This commit is contained in:
parent
ddf8bfceee
commit
892acedb6b
4 changed files with 159 additions and 7 deletions
|
|
@ -4092,13 +4092,13 @@ export const MODELS = {
|
|||
reasoning: true,
|
||||
input: ["text"],
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.03,
|
||||
cacheWrite: 0.375,
|
||||
input: 0.12,
|
||||
output: 0.48,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
contextWindow: 204800,
|
||||
maxTokens: 131072,
|
||||
contextWindow: 196608,
|
||||
maxTokens: 4096,
|
||||
} satisfies Model<"openai-completions">,
|
||||
"mistralai/codestral-2508": {
|
||||
id: "mistralai/codestral-2508",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue