Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Replace the models api.anthropic.com retired (#4512)

Agustin Torres1505a24033e9
diff --git a/v3/@claude-flow/cli/src/commands/config.ts b/v3/@claude-flow/cli/src/commands/config.ts
index 5488cfd7bc..60e2c511e8 100644
--- a/v3/@claude-flow/cli/src/commands/config.ts
+++ b/v3/@claude-flow/cli/src/commands/config.ts
@@ -201,7 +201,7 @@ const providersCommand: Command = {
],
action: async (ctx: CommandContext): Promise<CommandResult> => {
const defaultProviders = [
- { name: 'anthropic', model: 'claude-3-5-sonnet-20241022', priority: 1, enabled: true, status: 'Active' },
+ { name: 'anthropic', model: 'claude-sonnet-5-5', priority: 1, enabled: true, status: 'Active' },
{ name: 'openrouter', model: 'claude-3.5-sonnet', priority: 2, enabled: false, status: 'Disabled' },
{ name: 'ollama', model: 'llama3.2', priority: 3, enabled: false, status: 'Disabled' },
{ name: 'gemini', model: 'gemini-2.0-flash', priority: 4, enabled: false, status: 'Disabled' }
diff --git a/v3/@claude-flow/mcp/src/sampling.ts b/v3/@claude-flow/mcp/src/sampling.ts
index 2a5df8e404..f67535dde3 100644
--- a/v3/@claude-flow/mcp/src/sampling.ts
+++ b/v3/@claude-flow/mcp/src/sampling.ts
@@ -334,7 +334,7 @@ export function createAnthropicProvider(apiKey: string): LLMProvider {
'anthropic-version': '2023-06-01',
},
body: JSON.stringify({
- model: 'claude-3-haiku-20240307',
+ model: 'claude-haiku-4-5-20251001',
max_tokens: request.maxTokens,
temperature: request.temperature,
system: request.systemPrompt,
diff --git a/v3/@claude-flow/providers/src/__tests__/quick-test.ts b/v3/@claude-flow/providers/src/__tests__/quick-test.ts
index 12aa826974..f8ba4f1f90 100644
--- a/v3/@claude-flow/providers/src/__tests__/quick-test.ts
+++ b/v3/@claude-flow/providers/src/__tests__/quick-test.ts
@@ -55,7 +55,7 @@ async function testAnthropic() {
config: {
provider: 'anthropic',
apiKey,
- model: 'claude-3-haiku-20240307', // Use cheaper, widely-available model
+ model: 'claude-haiku-4-5-20251001', // Use cheaper, widely-available model
maxTokens: 100,
},
logger: consoleLogger,
@@ -248,7 +248,7 @@ async function testProviderManager() {
providers.push({
provider: 'anthropic' as const,
apiKey: process.env.ANTHROPIC_API_KEY,
- model: 'claude-3-haiku-20240307',
+ model: 'claude-haiku-4-5-20251001',
maxTokens: 100,
});
}