mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
Adding support for wildcard models in the model_providers config (#696)
* cleaning up plano cli commands * adding support for wildcard model providers * fixing compile errors * fixing bugs related to default model provider, provider hint and duplicates in the model provider list * fixed cargo fmt issues * updating tests to always include the model id * using default for the prompt_gateway path * fixed the model name, as gpt-5-mini-2025-08-07 wasn't in the config * making sure that all aliases and models match the config * fixed the config generator to allow for base_url providers LLMs to include wildcard models * re-ran the models list utility and added a shell script to run it * updating docs to mention wildcard model providers * updated provider_models.json to yaml, added that file to our docs for reference * updating the build docs to use the new root-based build --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-342.local>
This commit is contained in:
parent
8428b06e22
commit
2941392ed1
42 changed files with 1748 additions and 202 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# Contribution
|
||||
|
||||
We would love feedback on our [Roadmap](https://github.com/orgs/katanemo/projects/1) and we welcome contributions to **Plano**!
|
||||
We would love feedback on our [Roadmap](https://github.com/orgs/katanemo/projects/1) and we welcome contributions to **Plano**!
|
||||
Whether you're fixing bugs, adding new features, improving documentation, or creating tutorials, your help is much appreciated.
|
||||
|
||||
|
|
@ -7,8 +8,10 @@ Whether you're fixing bugs, adding new features, improving documentation, or cre
|
|||
|
||||
### 1. Fork the Repository
|
||||
|
||||
Fork the repository to create your own version of **Plano**:
|
||||
Fork the repository to create your own version of **Plano**:
|
||||
|
||||
- Navigate to the [Plano GitHub repository](https://github.com/katanemo/plano).
|
||||
- Navigate to the [Plano GitHub repository](https://github.com/katanemo/plano).
|
||||
- Click the "Fork" button in the upper right corner.
|
||||
- This will create a copy of the repository under your GitHub account.
|
||||
|
|
@ -75,7 +78,8 @@ This creates a virtual environment in `.venv` and installs all dependencies.
|
|||
Optionally, install planoai globally in editable mode:
|
||||
|
||||
```bash
|
||||
$ uv tool install --editable .
|
||||
$ git clone https://github.com/katanemo/plano.git
|
||||
$ cd plano
|
||||
```
|
||||
|
||||
Now you can use `planoai` commands from anywhere, or use `uv run planoai` from the `cli` directory.
|
||||
|
|
@ -123,19 +127,13 @@ $ uv run pytest -v
|
|||
Before committing, you can run all pre-commit checks manually:
|
||||
|
||||
```bash
|
||||
$ pre-commit run --all-files
|
||||
cd plano
|
||||
cargo test
|
||||
```
|
||||
|
||||
This ensures your code passes all checks before you commit.
|
||||
|
||||
### 9. Push Changes and Create a Pull Request
|
||||
|
||||
Once your changes are tested and committed:
|
||||
|
||||
```bash
|
||||
$ git push origin <your-branch-name>
|
||||
```
|
||||
### 6. Push changes, and create a Pull request
|
||||
|
||||
Go back to the original Plano repository, and you should see a "Compare & pull request" button. Click that to submit a Pull Request (PR). In your PR description, clearly explain the changes you made and why they are necessary.
|
||||
Go back to the original Plano repository, and you should see a "Compare & pull request" button. Click that to submit a Pull Request (PR). In your PR description, clearly explain the changes you made and why they are necessary.
|
||||
|
||||
We will review your pull request and provide feedback. Once approved, your contribution will be merged into the main repository!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue