feat: add LLM Gateway provider (#7847)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
Ismail Ghallou
2026-04-17 10:29:31 -05:00
committed by GitHub
co-authored by Claude Opus 4.5 Aiden Cline Aiden Cline
parent 3a4b49095c
commit 3fe602cda3
5 changed files with 83 additions and 2 deletions
@@ -390,6 +390,17 @@ function custom(dep: CustomDep): Record<string, CustomLoader> {
},
}
}),
llmgateway: () =>
Effect.succeed({
autoload: false,
options: {
headers: {
"HTTP-Referer": "https://opencode.ai/",
"X-Title": "opencode",
"X-Source": "opencode",
},
},
}),
openrouter: () =>
Effect.succeed({
autoload: false,