Repository navigation
feat: add AI Stupid Level provider - #686
Open
StudioPlatforms wants to merge 1 commit into
Open
StudioPlatforms wants to merge 1 commit into
StudioPlatforms wants to merge 1 commit into
Conversation
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.
Adds AI Stupid Level (
aistupidlevel), an OpenAI-compatible router athttps://aistupidlevel.info/v1($AISTUPIDLEVEL_API_KEY).The model ids are routing modes. Each request goes to the model that currently scores best on continuously re-run coding, reasoning and tool-use benchmarks, called with the user's own provider keys (OpenAI, Anthropic, Google, DeepSeek, Moonshot, Zhipu). For Crush:
auto-codingis the default large model;auto-fastest-quality(the fastest model within 5 points of the best) is the default small model;auto-toolingroutes on a tool-use benchmark, the one that matters for agents.Changes:
internal/providers/configs/aistupidlevel.json: seven routing modes.internal/providers/providers.go: embed and registry entry, alphabetical.pkg/catwalk/provider.go:InferenceProviderAIStupidLevel, added toKnownProviders.Notes on the values:
context_window262,144 is the smallest across the models the router can choose, so it holds whichever model is picked.supports_attachments: false: the router rejects image input.can_reason: false: the model behind a mode changes, so there is no single reasoning control to declare.go test ./...passes andgofmt -lis clean.Reviewers can test at no cost: any router key plus the header
X-ASL-Sandbox: trueruns real routing with a mock answer.Disclosure: I work at AI Stupid Level. Prepared with AI assistance (Claude Code) and reviewed before submitting.