Commit fa86123
feat: add Inworld as a custom provider
Inworld exposes an OpenAI-compatible LLM Router at
`https://api.inworld.ai/v1/chat/completions` with access to many upstream
chat models. Callers can now do:
var openAi = CustomProviders.Inworld(jwt);
The base constructor sends `Authorization: Bearer <value>`. Server-side
callers who want Basic auth with the Portal-issued Base64 key should
either supply a pre-minted JWT (see `InworldJwt.GenerateAsync` in
tryAGI.Inworld) or configure an HttpClient that rewrites the scheme.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent cd34dcf commit fa86123
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
139 | 146 | | |
140 | 147 | | |
141 | 148 | | |
| |||
378 | 385 | | |
379 | 386 | | |
380 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
381 | 403 | | |
0 commit comments