clew-code 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +292 -299
- package/dist/main.js +2745 -2869
- package/docs/architecture.html +148 -145
- package/docs/architecture.th.html +79 -78
- package/docs/clew-code-architecture.html +1125 -0
- package/docs/commands.html +224 -223
- package/docs/commands.th.html +131 -130
- package/docs/configuration.html +147 -145
- package/docs/configuration.th.html +108 -106
- package/docs/css/styles.css +48 -42
- package/docs/daemon.html +129 -128
- package/docs/daemon.th.html +73 -72
- package/docs/features/bridge-mode.html +99 -98
- package/docs/features/bridge-mode.th.html +90 -89
- package/docs/features/evals.html +182 -181
- package/docs/features/evals.th.html +90 -89
- package/docs/features/peer.html +178 -177
- package/docs/features/searxng-search.html +151 -150
- package/docs/features/searxng-search.th.html +95 -94
- package/docs/features/sentry-setup.html +157 -156
- package/docs/features/sentry-setup.th.html +97 -96
- package/docs/index.html +299 -298
- package/docs/index.th.html +292 -290
- package/docs/installation.html +105 -103
- package/docs/installation.th.html +105 -103
- package/docs/internals/growthbook-ab-testing.html +113 -112
- package/docs/internals/growthbook-ab-testing.th.html +81 -80
- package/docs/internals/hidden-features.html +149 -147
- package/docs/internals/hidden-features.th.html +109 -107
- package/docs/js/main.js +83 -3
- package/docs/loop.html +181 -180
- package/docs/loop.th.html +227 -226
- package/docs/mcp.html +247 -246
- package/docs/mcp.th.html +207 -206
- package/docs/models.html +111 -110
- package/docs/models.th.html +61 -60
- package/docs/peer.html +236 -235
- package/docs/peer.th.html +280 -279
- package/docs/permission-model.html +102 -101
- package/docs/permission-model.th.html +67 -66
- package/docs/plugins.html +102 -101
- package/docs/plugins.th.html +79 -78
- package/docs/providers.html +126 -117
- package/docs/providers.th.html +80 -78
- package/docs/quick-start.html +93 -92
- package/docs/quick-start.th.html +40 -39
- package/docs/research-memory.html +82 -79
- package/docs/research-memory.th.html +72 -71
- package/docs/skills.html +117 -116
- package/docs/skills.th.html +90 -89
- package/docs/tools.html +170 -169
- package/docs/tools.th.html +84 -83
- package/docs/troubleshooting.html +106 -105
- package/docs/troubleshooting.th.html +85 -84
- package/package.json +164 -162
- package/docs/taste.html +0 -436
- package/docs/taste.th.html +0 -236
package/docs/models.html
CHANGED
|
@@ -1,110 +1,111 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Models
|
|
7
|
-
<meta name="description" content="Model selection guide for Clew
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
-
<link rel="stylesheet" href="css/styles.css">
|
|
12
|
-
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<header class="header"></header>
|
|
16
|
-
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
17
|
-
<div class="content-wrap"><main class="content">
|
|
18
|
-
<div class="breadcrumbs"><a href="index.html">Home</a><span class="sep">/</span><span>Models</span></div>
|
|
19
|
-
<h1>Models</h1>
|
|
20
|
-
<p class="section-subtitle">Clew supports 100+ models across 27 providers. Pick the right model for each task
|
|
21
|
-
|
|
22
|
-
<h2>Model Selection Guide</h2>
|
|
23
|
-
<table>
|
|
24
|
-
<tr><th>Workload</th><th>Recommended Models</th><th>Context</th><th>Notes</th></tr>
|
|
25
|
-
<tr><td>Complex architecture & large edits</td><td>claude-opus-4-7, claude-sonnet-4-6, gpt-5.5, deepseek-v4-pro</td><td>1M tokens</td><td>Best tool calling, strong reasoning, largest context</td></tr>
|
|
26
|
-
<tr><td>Code review & debugging</td><td>claude-sonnet-4-6, gpt-5.5, gemini-3.1-pro</td><td>1M-2M tokens</td><td>Good instruction following, reliable output</td></tr>
|
|
27
|
-
<tr><td>Quick search & summarization</td><td>claude-haiku-4-5, deepseek-v4-flash, mistral-small-4, groq/llama-3.3-70b</td><td>128K-200K</td><td>Fast, cost-effective, lower latency</td></tr>
|
|
28
|
-
<tr><td>Offline / air-gapped</td><td>ollama/llama4:70b, ollama/llama3.3</td><td>131K tokens</td><td>Fully local, no network needed</td></tr>
|
|
29
|
-
<tr><td>Cost-sensitive bulk</td><td>kilocode/kilo-auto/free, opencode-go/minimax-m2.7, groq/llama-3.1-8b</td><td>Varies</td><td>Free or minimal cost tiers available</td></tr>
|
|
30
|
-
<tr><td>Research & reasoning</td><td>claude-opus-4-7, deepseek-v4-pro, gemini-3.1-pro</td><td>1M-2M tokens</td><td>Deep reasoning, chain-of-thought</td></tr>
|
|
31
|
-
<tr><td>Vision / multimodal</td><td>claude-sonnet-4-6, gpt-5.5, gemini-3.1-pro, deepseek-v4-flash</td><td>1M tokens</td><td>Image understanding, document analysis</td></tr>
|
|
32
|
-
</table>
|
|
33
|
-
|
|
34
|
-
<h2>Notable Models by Provider</h2>
|
|
35
|
-
<table>
|
|
36
|
-
<tr><th>Provider</th><th>Models Available</th></tr>
|
|
37
|
-
<tr><td>Anthropic</td><td>claude-opus-4-7 (1M ctx), claude-sonnet-4-6 (1M ctx, recommended), claude-haiku-4-5 (200K ctx, fast)</td></tr>
|
|
38
|
-
<tr><td>OpenAI</td><td>gpt-5.5 (1M ctx), gpt-5.4 (1M ctx), gpt-5.4-mini (fast)</td></tr>
|
|
39
|
-
<tr><td>Google</td><td>gemini-3.1-pro (2M ctx), gemini-3.1-flash-lite (1M ctx, fast)</td></tr>
|
|
40
|
-
<tr><td>DeepSeek</td><td>deepseek-v4-pro (1M ctx, MoE), deepseek-v4-flash (1M ctx, fast MoE)</td></tr>
|
|
41
|
-
<tr><td>xAI</td><td>grok-4.3 (128K ctx)</td></tr>
|
|
42
|
-
<tr><td>Mistral</td><td>mistral-medium-3.5, mistral-small-4, mistral-large-3</td></tr>
|
|
43
|
-
<tr><td>Groq</td><td>llama-3.3-70b, llama-3.1-8b-instant (fast)</td></tr>
|
|
44
|
-
<tr><td>Ollama</td><td>llama4:70b (local), llama3.3 (local), qwen3.6-plus (local)</td></tr>
|
|
45
|
-
<tr><td>GitHub Copilot</td><td>claude-opus-4.7, claude-sonnet-4.6, claude-haiku-4.5, gpt-5.5</td></tr>
|
|
46
|
-
<tr><td>OpenCode</td><td>claude-opus-4-7, claude-sonnet-4-6, gpt-5.5, gemini-3.1-pro, kimi-k2.6</td></tr>
|
|
47
|
-
<tr><td>KiloCode</td><td>kilo-auto/free, kilo-auto/balanced, kilo-auto/frontier</td></tr>
|
|
48
|
-
<tr><td>Cohere</td><td>command-a-plus (128K ctx)</td></tr>
|
|
49
|
-
<tr><td>Perplexity</td><td>sonar-pro, sonar, sonar-reasoning-pro</td></tr>
|
|
50
|
-
<tr><td>Together AI</td><td>deepseek-v4, Qwen3.6, Llama-4</td></tr>
|
|
51
|
-
<tr><td>NVIDIA NIM</td><td>deepseek-v4-pro, glm-5.1, nemotron-3</td></tr>
|
|
52
|
-
<tr><td>Cerebras</td><td>qwen-3-235b (extremely fast)</td></tr>
|
|
53
|
-
<tr><td>Moonshot (Kimi)</td><td>kimi-k2.6 (128K ctx)</td></tr>
|
|
54
|
-
<tr><td>Zhipu (GLM)</td><td>glm-4.7 (128K ctx)</td></tr>
|
|
55
|
-
<tr><td>Hugging Face</td><td>llama-3.3-70b-instruct</td></tr>
|
|
56
|
-
<tr><td>Poe</td><td>claude-3-7-sonnet</td></tr>
|
|
57
|
-
</table>
|
|
58
|
-
|
|
59
|
-
<h2>Model Switching</h2>
|
|
60
|
-
<pre><code>/model # Interactive picker (fetches live models from provider API when supported)
|
|
61
|
-
/model list # List all available models from the active provider API
|
|
62
|
-
/model claude-sonnet-4-7 # Switch by full ID
|
|
63
|
-
/model sonnet # Alias-based switching
|
|
64
|
-
--model opus # CLI flag at startup</code></pre>
|
|
65
|
-
<p>For providers with a /v1/models endpoint (OpenAI, DeepSeek, NVIDIA, etc.), the picker fetches live models from the API instead of the static providers.json list.
|
|
66
|
-
The picker shows <strong>all models from every provider</strong> in named sections
|
|
67
|
-
<p>Model switching is instant
|
|
68
|
-
|
|
69
|
-
<h2>Model Aliases</h2>
|
|
70
|
-
<p>Short aliases are resolved to full model IDs: <code>sonnet</code>, <code>opus</code>, <code>haiku</code>, <code>gpt5</code>, <code>flash</code>, etc.</p>
|
|
71
|
-
|
|
72
|
-
<h2>CLI Flags for Models</h2>
|
|
73
|
-
<table>
|
|
74
|
-
<tr><th>Flag</th><th>Description</th></tr>
|
|
75
|
-
<tr><td><code>--model <name></code></td><td>Set model at startup (e.g., <code>--model sonnet</code> or <code>--model claude-opus-4-7</code>)</td></tr>
|
|
76
|
-
<tr><td><code>--effort <level></code></td><td>Set reasoning effort: <code>low</code>, <code>medium</code>, <code>high</code>, <code>max</code></td></tr>
|
|
77
|
-
<tr><td><code>--max-turns <N></code></td><td>Limit agentic turns in non-interactive mode</td></tr>
|
|
78
|
-
<tr><td><code>--thinking <mode></code></td><td>Thinking mode: <code>enabled</code>, <code>adaptive</code>, <code>disabled</code></td></tr>
|
|
79
|
-
<tr><td><code>--fallback-model <model></code></td><td>Fallback when primary model is overloaded (print mode only)</td></tr>
|
|
80
|
-
<tr><td><code>--task-budget <tokens></code></td><td>API-side task budget in tokens</td></tr>
|
|
81
|
-
<tr><td><code>--max-budget-usd <amount></code></td><td>Maximum spend on API calls (print mode only)</td></tr>
|
|
82
|
-
</table>
|
|
83
|
-
|
|
84
|
-
<h2>Model Capabilities</h2>
|
|
85
|
-
<p>Each model declaration in <code>providers.json</code> includes:</p>
|
|
86
|
-
<ul>
|
|
87
|
-
<li>Model ID and display label</li>
|
|
88
|
-
<li>Context window (<code>maxContext</code>) and max output tokens (<code>maxOutput</code>)</li>
|
|
89
|
-
<li>Tool calling type (<code>native</code>, <code>none</code>)</li>
|
|
90
|
-
<li>Vision support</li>
|
|
91
|
-
<li>Streaming mode (<code>full</code>, <code>partial</code>)</li>
|
|
92
|
-
<li>Reasoning support</li>
|
|
93
|
-
<li>System prompt support</li>
|
|
94
|
-
<li>Tags (for filtering): <code>fast</code>, <code>verified</code>, <code>recommended</code>, <code>latest</code>, <code>free</code>, <code>vision</code>, <code>tools</code>, <code>native</code>, <code>moe</code>, <code>local</code></li>
|
|
95
|
-
</ul>
|
|
96
|
-
|
|
97
|
-
<footer class="footer">
|
|
98
|
-
<span>Clew v0.2.
|
|
99
|
-
<div class="footer-links">
|
|
100
|
-
<a href="https://github.com/
|
|
101
|
-
<a href="https://github.com/
|
|
102
|
-
</div>
|
|
103
|
-
</footer>
|
|
104
|
-
</main>
|
|
105
|
-
<nav class="toc-sidebar"></nav>
|
|
106
|
-
</div>
|
|
107
|
-
</div>
|
|
108
|
-
<script src="js/main.js"></script>
|
|
109
|
-
</body>
|
|
110
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Models — Clew</title>
|
|
7
|
+
<meta name="description" content="Model selection guide for Clew — how to pick, switch, and manage models across 27 providers.">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
+
<link rel="stylesheet" href="css/styles.css">
|
|
12
|
+
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<header class="header"></header>
|
|
16
|
+
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
17
|
+
<div class="content-wrap"><main class="content">
|
|
18
|
+
<div class="breadcrumbs"><a href="index.html">Home</a><span class="sep">/</span><span>Models</span></div>
|
|
19
|
+
<h1>Models</h1>
|
|
20
|
+
<p class="section-subtitle">Clew supports 100+ models across 27 providers. Pick the right model for each task — from frontier reasoning to fast local inference.</p>
|
|
21
|
+
|
|
22
|
+
<h2>Model Selection Guide</h2>
|
|
23
|
+
<table>
|
|
24
|
+
<tr><th>Workload</th><th>Recommended Models</th><th>Context</th><th>Notes</th></tr>
|
|
25
|
+
<tr><td>Complex architecture & large edits</td><td>claude-opus-4-7, claude-sonnet-4-6, gpt-5.5, deepseek-v4-pro</td><td>1M tokens</td><td>Best tool calling, strong reasoning, largest context</td></tr>
|
|
26
|
+
<tr><td>Code review & debugging</td><td>claude-sonnet-4-6, gpt-5.5, gemini-3.1-pro</td><td>1M-2M tokens</td><td>Good instruction following, reliable output</td></tr>
|
|
27
|
+
<tr><td>Quick search & summarization</td><td>claude-haiku-4-5, deepseek-v4-flash, mistral-small-4, groq/llama-3.3-70b</td><td>128K-200K</td><td>Fast, cost-effective, lower latency</td></tr>
|
|
28
|
+
<tr><td>Offline / air-gapped</td><td>ollama/llama4:70b, ollama/llama3.3</td><td>131K tokens</td><td>Fully local, no network needed</td></tr>
|
|
29
|
+
<tr><td>Cost-sensitive bulk</td><td>kilocode/kilo-auto/free, opencode-go/minimax-m2.7, groq/llama-3.1-8b</td><td>Varies</td><td>Free or minimal cost tiers available</td></tr>
|
|
30
|
+
<tr><td>Research & reasoning</td><td>claude-opus-4-7, deepseek-v4-pro, gemini-3.1-pro</td><td>1M-2M tokens</td><td>Deep reasoning, chain-of-thought</td></tr>
|
|
31
|
+
<tr><td>Vision / multimodal</td><td>claude-sonnet-4-6, gpt-5.5, gemini-3.1-pro, deepseek-v4-flash</td><td>1M tokens</td><td>Image understanding, document analysis</td></tr>
|
|
32
|
+
</table>
|
|
33
|
+
|
|
34
|
+
<h2>Notable Models by Provider</h2>
|
|
35
|
+
<table>
|
|
36
|
+
<tr><th>Provider</th><th>Models Available</th></tr>
|
|
37
|
+
<tr><td>Anthropic</td><td>claude-opus-4-7 (1M ctx), claude-sonnet-4-6 (1M ctx, recommended), claude-haiku-4-5 (200K ctx, fast)</td></tr>
|
|
38
|
+
<tr><td>OpenAI</td><td>gpt-5.5 (1M ctx), gpt-5.4 (1M ctx), gpt-5.4-mini (fast)</td></tr>
|
|
39
|
+
<tr><td>Google</td><td>gemini-3.1-pro (2M ctx), gemini-3.1-flash-lite (1M ctx, fast)</td></tr>
|
|
40
|
+
<tr><td>DeepSeek</td><td>deepseek-v4-pro (1M ctx, MoE), deepseek-v4-flash (1M ctx, fast MoE)</td></tr>
|
|
41
|
+
<tr><td>xAI</td><td>grok-4.3 (128K ctx)</td></tr>
|
|
42
|
+
<tr><td>Mistral</td><td>mistral-medium-3.5, mistral-small-4, mistral-large-3</td></tr>
|
|
43
|
+
<tr><td>Groq</td><td>llama-3.3-70b, llama-3.1-8b-instant (fast)</td></tr>
|
|
44
|
+
<tr><td>Ollama</td><td>llama4:70b (local), llama3.3 (local), qwen3.6-plus (local)</td></tr>
|
|
45
|
+
<tr><td>GitHub Copilot</td><td>claude-opus-4.7, claude-sonnet-4.6, claude-haiku-4.5, gpt-5.5</td></tr>
|
|
46
|
+
<tr><td>OpenCode</td><td>claude-opus-4-7, claude-sonnet-4-6, gpt-5.5, gemini-3.1-pro, kimi-k2.6</td></tr>
|
|
47
|
+
<tr><td>KiloCode</td><td>kilo-auto/free, kilo-auto/balanced, kilo-auto/frontier</td></tr>
|
|
48
|
+
<tr><td>Cohere</td><td>command-a-plus (128K ctx)</td></tr>
|
|
49
|
+
<tr><td>Perplexity</td><td>sonar-pro, sonar, sonar-reasoning-pro</td></tr>
|
|
50
|
+
<tr><td>Together AI</td><td>deepseek-v4, Qwen3.6, Llama-4</td></tr>
|
|
51
|
+
<tr><td>NVIDIA NIM</td><td>deepseek-v4-pro, glm-5.1, nemotron-3</td></tr>
|
|
52
|
+
<tr><td>Cerebras</td><td>qwen-3-235b (extremely fast)</td></tr>
|
|
53
|
+
<tr><td>Moonshot (Kimi)</td><td>kimi-k2.6 (128K ctx)</td></tr>
|
|
54
|
+
<tr><td>Zhipu (GLM)</td><td>glm-4.7 (128K ctx)</td></tr>
|
|
55
|
+
<tr><td>Hugging Face</td><td>llama-3.3-70b-instruct</td></tr>
|
|
56
|
+
<tr><td>Poe</td><td>claude-3-7-sonnet</td></tr>
|
|
57
|
+
</table>
|
|
58
|
+
|
|
59
|
+
<h2>Model Switching</h2>
|
|
60
|
+
<pre><code>/model # Interactive picker (fetches live models from provider API when supported)
|
|
61
|
+
/model list # List all available models from the active provider API
|
|
62
|
+
/model claude-sonnet-4-7 # Switch by full ID
|
|
63
|
+
/model sonnet # Alias-based switching
|
|
64
|
+
--model opus # CLI flag at startup</code></pre>
|
|
65
|
+
<p>For providers with a /v1/models endpoint (OpenAI, DeepSeek, NVIDIA, etc.), the picker fetches live models from the API instead of the static providers.json list.
|
|
66
|
+
The picker shows <strong>all models from every provider</strong> in named sections — not just the active provider's models. Recent models appear at top with the active provider's default. Select any model from any provider directly.</p>
|
|
67
|
+
<p>Model switching is instant — the next conversation turn uses the new model. Previous context is preserved.</p>
|
|
68
|
+
|
|
69
|
+
<h2>Model Aliases</h2>
|
|
70
|
+
<p>Short aliases are resolved to full model IDs: <code>sonnet</code>, <code>opus</code>, <code>haiku</code>, <code>gpt5</code>, <code>flash</code>, etc.</p>
|
|
71
|
+
|
|
72
|
+
<h2>CLI Flags for Models</h2>
|
|
73
|
+
<table>
|
|
74
|
+
<tr><th>Flag</th><th>Description</th></tr>
|
|
75
|
+
<tr><td><code>--model <name></code></td><td>Set model at startup (e.g., <code>--model sonnet</code> or <code>--model claude-opus-4-7</code>)</td></tr>
|
|
76
|
+
<tr><td><code>--effort <level></code></td><td>Set reasoning effort: <code>low</code>, <code>medium</code>, <code>high</code>, <code>max</code></td></tr>
|
|
77
|
+
<tr><td><code>--max-turns <N></code></td><td>Limit agentic turns in non-interactive mode</td></tr>
|
|
78
|
+
<tr><td><code>--thinking <mode></code></td><td>Thinking mode: <code>enabled</code>, <code>adaptive</code>, <code>disabled</code></td></tr>
|
|
79
|
+
<tr><td><code>--fallback-model <model></code></td><td>Fallback when primary model is overloaded (print mode only)</td></tr>
|
|
80
|
+
<tr><td><code>--task-budget <tokens></code></td><td>API-side task budget in tokens</td></tr>
|
|
81
|
+
<tr><td><code>--max-budget-usd <amount></code></td><td>Maximum spend on API calls (print mode only)</td></tr>
|
|
82
|
+
</table>
|
|
83
|
+
|
|
84
|
+
<h2>Model Capabilities</h2>
|
|
85
|
+
<p>Each model declaration in <code>providers.json</code> includes:</p>
|
|
86
|
+
<ul>
|
|
87
|
+
<li>Model ID and display label</li>
|
|
88
|
+
<li>Context window (<code>maxContext</code>) and max output tokens (<code>maxOutput</code>)</li>
|
|
89
|
+
<li>Tool calling type (<code>native</code>, <code>none</code>)</li>
|
|
90
|
+
<li>Vision support</li>
|
|
91
|
+
<li>Streaming mode (<code>full</code>, <code>partial</code>)</li>
|
|
92
|
+
<li>Reasoning support</li>
|
|
93
|
+
<li>System prompt support</li>
|
|
94
|
+
<li>Tags (for filtering): <code>fast</code>, <code>verified</code>, <code>recommended</code>, <code>latest</code>, <code>free</code>, <code>vision</code>, <code>tools</code>, <code>native</code>, <code>moe</code>, <code>local</code></li>
|
|
95
|
+
</ul>
|
|
96
|
+
|
|
97
|
+
<footer class="footer">
|
|
98
|
+
<span>Clew v0.2.7 — Open Source</span>
|
|
99
|
+
<div class="footer-links">
|
|
100
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
101
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
102
|
+
</div>
|
|
103
|
+
</footer>
|
|
104
|
+
</main>
|
|
105
|
+
<nav class="toc-sidebar"></nav>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
<script src="js/main.js"></script>
|
|
109
|
+
</body>
|
|
110
|
+
</html>
|
|
111
|
+
|
package/docs/models.th.html
CHANGED
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="th">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title
|
|
7
|
-
<meta name="description" content="
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
-
<link rel="stylesheet" href="css/styles.css">
|
|
12
|
-
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<header class="header"></header>
|
|
16
|
-
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
17
|
-
<div class="content-wrap"><main class="content">
|
|
18
|
-
<div class="breadcrumbs"><a href="index.th.html"
|
|
19
|
-
<h1
|
|
20
|
-
<p class="section-subtitle">Clew
|
|
21
|
-
|
|
22
|
-
<h2
|
|
23
|
-
<table>
|
|
24
|
-
<tr><th
|
|
25
|
-
<tr><td
|
|
26
|
-
<tr><td
|
|
27
|
-
<tr><td
|
|
28
|
-
<tr><td
|
|
29
|
-
</table>
|
|
30
|
-
|
|
31
|
-
<h2
|
|
32
|
-
<pre><code>/model #
|
|
33
|
-
/model list #
|
|
34
|
-
/model claude-sonnet-4-7 #
|
|
35
|
-
/model sonnet #
|
|
36
|
-
--model opus # CLI flag
|
|
37
|
-
|
|
38
|
-
<h2>CLI Flags
|
|
39
|
-
<table>
|
|
40
|
-
<tr><th>Flag</th><th
|
|
41
|
-
<tr><td><code>--model <name></code></td><td
|
|
42
|
-
<tr><td><code>--effort <level></code></td><td
|
|
43
|
-
<tr><td><code>--thinking <mode></code></td><td
|
|
44
|
-
<tr><td><code>--fallback-model <model></code></td><td
|
|
45
|
-
</table>
|
|
46
|
-
|
|
47
|
-
<footer class="footer">
|
|
48
|
-
<span>Clew v0.2.
|
|
49
|
-
<div class="footer-links">
|
|
50
|
-
<a href="https://github.com/
|
|
51
|
-
<a href="https://github.com/
|
|
52
|
-
</div>
|
|
53
|
-
</footer>
|
|
54
|
-
</main>
|
|
55
|
-
<nav class="toc-sidebar"></nav>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
<script src="js/main.js"></script>
|
|
59
|
-
</body>
|
|
60
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="th">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>โมเดล — Clew</title>
|
|
7
|
+
<meta name="description" content="คู่มืà¸à¸à¸²à¸£à¹€à¸¥à¸·à¸à¸à¹‚มเดลสำหรับ Clew — วิธีเลืà¸à¸, สลับ, à¹à¸¥à¸°à¸ˆà¸±à¸”à¸à¸²à¸£à¹‚มเดลจาภ27 ผู้ให้บริà¸à¸²à¸£">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
+
<link rel="stylesheet" href="css/styles.css">
|
|
12
|
+
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<header class="header"></header>
|
|
16
|
+
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
17
|
+
<div class="content-wrap"><main class="content">
|
|
18
|
+
<div class="breadcrumbs"><a href="index.th.html">หน้าà¹à¸£à¸</a><span class="sep">/</span><span>โมเดล</span></div>
|
|
19
|
+
<h1>โมเดล</h1>
|
|
20
|
+
<p class="section-subtitle">Clew รà¸à¸‡à¸£à¸±à¸š 100+ โมเดลจาภ27 ผู้ให้บริà¸à¸²à¸£ เลืà¸à¸à¹‚มเดลที่เหมาะà¸à¸±à¸šà¹à¸•่ละงาน — จาà¸à¸à¸²à¸£à¹ƒà¸Šà¹‰à¹€à¸«à¸•ุผลระดับสูงไปจนถึงà¸à¸²à¸£à¸à¸™à¸¸à¸¡à¸²à¸™à¹ƒà¸™à¹€à¸„รื่à¸à¸‡à¸—ี่รวดเร็ว</p>
|
|
21
|
+
|
|
22
|
+
<h2>คู่มืà¸à¸à¸²à¸£à¹€à¸¥à¸·à¸à¸à¹‚มเดล</h2>
|
|
23
|
+
<table>
|
|
24
|
+
<tr><th>ลัà¸à¸©à¸“ะงาน</th><th>โมเดลà¹à¸™à¸°à¸™à¸³</th><th>บริบท</th><th>หมายเหตุ</th></tr>
|
|
25
|
+
<tr><td>สถาปัตยà¸à¸£à¸£à¸¡à¸‹à¸±à¸šà¸‹à¹‰à¸à¸™à¹à¸¥à¸°à¹à¸à¹‰à¹„ขขนาดใหà¸à¹ˆ</td><td>claude-opus-4-7, claude-sonnet-4-6, gpt-5.5, deepseek-v4-pro</td><td>1M โทเค็น</td><td>à¸à¸²à¸£à¹€à¸£à¸µà¸¢à¸à¹ƒà¸Šà¹‰à¹€à¸„รื่à¸à¸‡à¸¡à¸·à¸à¸”ีที่สุด, à¸à¸²à¸£à¹ƒà¸Šà¹‰à¹€à¸«à¸•ุผลà¹à¸‚็งà¹à¸à¸£à¹ˆà¸‡, บริบทใหà¸à¹ˆà¸—ี่สุด</td></tr>
|
|
26
|
+
<tr><td>รีวิวโค้ดà¹à¸¥à¸°à¸”ีบัà¸</td><td>claude-sonnet-4-6, gpt-5.5, gemini-3.1-pro</td><td>1M-2M โทเค็น</td><td>ทำตามคำà¹à¸™à¸°à¸™à¸³à¸”ี, ผลลัพธ์เชื่à¸à¸–ืà¸à¹„ด้</td></tr>
|
|
27
|
+
<tr><td>ค้นหาà¹à¸¥à¸°à¸ªà¸£à¸¸à¸›à¸œà¸¥à¸à¸¢à¹ˆà¸²à¸‡à¸£à¸§à¸”เร็ว</td><td>claude-haiku-4-5, deepseek-v4-flash, mistral-small-4, groq/llama-3.3-70b</td><td>128K-200K</td><td>เร็ว, คุ้มค่า, หน่วงเวลาต่ำ</td></tr>
|
|
28
|
+
<tr><td>à¸à¸à¸Ÿà¹„ลน์ / ไม่มีเครืà¸à¸‚่าย</td><td>ollama/llama4:70b, ollama/llama3.3</td><td>131K โทเค็น</td><td>ในเครื่à¸à¸‡à¸—ั้งหมด, ไม่ต้à¸à¸‡à¹ƒà¸Šà¹‰à¹€à¸„รืà¸à¸‚่าย</td></tr>
|
|
29
|
+
</table>
|
|
30
|
+
|
|
31
|
+
<h2>à¸à¸²à¸£à¸ªà¸¥à¸±à¸šà¹‚มเดล</h2>
|
|
32
|
+
<pre><code>/model # ตัวเลืà¸à¸à¹à¸šà¸šà¹‚ต้ตà¸à¸š
|
|
33
|
+
/model list # à¹à¸ªà¸”งโมเดลทั้งหมดจาà¸à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£à¸—ี่ใช้งาน
|
|
34
|
+
/model claude-sonnet-4-7 # สลับด้วย ID เต็ม
|
|
35
|
+
/model sonnet # สลับด้วย alias
|
|
36
|
+
--model opus # CLI flag ตà¸à¸™à¹€à¸£à¸´à¹ˆà¸¡</code></pre>
|
|
37
|
+
|
|
38
|
+
<h2>CLI Flags สำหรับโมเดล</h2>
|
|
39
|
+
<table>
|
|
40
|
+
<tr><th>Flag</th><th>คำà¸à¸˜à¸´à¸šà¸²à¸¢</th></tr>
|
|
41
|
+
<tr><td><code>--model <name></code></td><td>ตั้งค่าโมเดลตà¸à¸™à¹€à¸£à¸´à¹ˆà¸¡</td></tr>
|
|
42
|
+
<tr><td><code>--effort <level></code></td><td>ตั้งค่าระดับà¸à¸²à¸£à¹ƒà¸Šà¹‰à¹€à¸«à¸•ุผล: low, medium, high, max</td></tr>
|
|
43
|
+
<tr><td><code>--thinking <mode></code></td><td>โหมดà¸à¸²à¸£à¸„ิด: enabled, adaptive, disabled</td></tr>
|
|
44
|
+
<tr><td><code>--fallback-model <model></code></td><td>โมเดลสำรà¸à¸‡à¹€à¸¡à¸·à¹ˆà¸à¹‚มเดลหลัà¸à¹‚à¸à¹€à¸§à¸à¸£à¹Œà¹‚หลด</td></tr>
|
|
45
|
+
</table>
|
|
46
|
+
|
|
47
|
+
<footer class="footer">
|
|
48
|
+
<span>Clew v0.2.7 — โà¸à¹€à¸žà¸™à¸‹à¸à¸£à¹Œà¸ª</span>
|
|
49
|
+
<div class="footer-links">
|
|
50
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
51
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
52
|
+
</div>
|
|
53
|
+
</footer>
|
|
54
|
+
</main>
|
|
55
|
+
<nav class="toc-sidebar"></nav>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
<script src="js/main.js"></script>
|
|
59
|
+
</body>
|
|
60
|
+
</html>
|
|
61
|
+
|