Repository navigation
AI: draft on c0mpute by default (0.55.0) - #182
Merged
Merged
Conversation
The writer called Anthropic first with the shared house key. That key answers "credit balance too low" and the OpenAI understudy's key is invalid outright, so the writer was not degrading, it was dead: every draft, link drop and reply suggestion failed. c0mpute is now the default and the last resort. It is our own peer network, reached through @profullstack/ai-providers, so a draft costs a fraction of a cent against what our nodes earned, and it needs no key. - New packages/core/src/ai/c0mpute.ts wraps the house router, built once so its breaker and alternating paid fallback see every call. - ai.provider gains "c0mpute" and defaults to it. anthropic and openai stay selectable for when there is credit and the quality is worth it. - The anthropic chain now ends at c0mpute instead of throwing once Gemini is out too, and Gemini's own failure is no longer swallowed. - writerAvailable() is now always ok outside ollama: with a provider that needs no key, "unavailable" was turning off every feature that checks first, which is how link drops stayed silently dead. - ollama still never falls back. Picking a local model is a decision about where the text goes. Verified live: a Bluesky draft written end to end on huihui_ai/qwen3.5-abliterated:9b in 30s with no paid key set. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The writer called Anthropic first with the shared house key. Checked today, that key answers
credit balance too lowand the OpenAI understudy's key is401 Incorrect API key provided. So the writer was not degrading, it was dead — every draft, link drop and reply suggestion failed.c0mpute is now the default and the last resort: our own peer network via
@profullstack/ai-providers, a fraction of a cent per draft against what our own nodes earned, and no key required. Wave 3 of the fleet rollout.Changes
packages/core/src/ai/c0mpute.tswraps the house router, built once so its circuit breaker and alternating paid fallback see every call in the process.ai.providergains"c0mpute"and defaults to it.anthropicandopenaistay selectable for when there's credit and the extra quality is worth it.anthropicchain now ends at c0mpute instead of throwing once Gemini is out too — and Gemini's own failure is no longer swallowed (it was the last link and threw raw).writerAvailable()is now alwaysokoutside ollama. With a provider that needs no key, reporting "unavailable" was switching off every feature that checks first — the same bug that kept link drops silently dead.Testing
bun test— 872 pass, 0 fail (27 skip).tsc --noEmitclean.Verified live end to end, no paid key set: a Bluesky draft written on
huihui_ai/qwen3.5-abliterated:9bin 30s, billed 5 micro-USD against node earnings.One behaviour change worth flagging in review: the test that asserted "no keys = writer unavailable" now asserts the opposite, deliberately.
🤖 Generated with Claude Code