Skip to content

[pull] main from openai:main#13

Merged
pull[bot] merged 1 commit intoKlomgor:mainfrom
openai:main
Apr 23, 2025
Merged

[pull] main from openai:main#13
pull[bot] merged 1 commit intoKlomgor:mainfrom
openai:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 23, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

#537)

### What

- Add support for loading and merging custom provider configurations
from a local `providers.json` file.
- Allow users to override or extend default providers with their own
settings.

### Why

This change enables users to flexibly customize and extend provider
endpoints and API keys without modifying the codebase, making the CLI
more adaptable for various LLM backends and enterprise use cases.

### How

- Introduced `loadProvidersFromFile` and `getMergedProviders` in config
logic.
- Added/updated related tests in [tests/config.test.tsx]


### Checklist

- [x] Lint passes for changed files
- [x] Tests pass for all files
- [x] Documentation/comments updated as needed

---------

Co-authored-by: Thibault Sottiaux <tibo@openai.com>
@pull pull bot added the ⤵️ pull label Apr 23, 2025
@pull pull bot merged commit 146a61b into Klomgor:main Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants