Remove modelRouter and add model_providers concept#224
Merged
philipph-askui merged 61 commits intomainfrom Feb 24, 2026
Merged
Conversation
…del store BREAKING CHANGE: Removed ModelRouter and ModelRegistry classes. Users must now use direct model injection.
…raises an Error when executing from cache)
…nd AskUiInferenceLocateApi
Contributor
Author
|
I added a new optional dependency group "tracing", that contains all the OTEL packages. |
programminx-askui
requested changes
Feb 16, 2026
| from askui.models.shared.tools import ToolCollection | ||
|
|
||
|
|
||
| def _to_openai_messages(messages: list[MessageParam]) -> list[dict[str, Any]]: # noqa: C901 |
Collaborator
There was a problem hiding this comment.
Should I review this?
I would expect here an integration tests. Which coveres all message types.
programminx-askui
requested changes
Feb 16, 2026
…tic `provider_options`
docs/03_Using-Models-and-BYOM.md
Outdated
| @@ -0,0 +1,886 @@ | |||
| # Using Models and BYOM (Bring Your Own Model) | |||
Collaborator
There was a problem hiding this comment.
SnakeCase
Rename to "Bring Your Own Model Provider"
docs/05_Tools.md
Outdated
| | Adaptive to UI changes | ❌ | ✅ | | ||
| | Require no AI inference | ✅ | ❌ | | ||
|
|
||
| **Example combining both approaches:** |
Collaborator
There was a problem hiding this comment.
And deprecrate pylon docu
Contributor
Author
There was a problem hiding this comment.
i suggest to wait with deprecating the pylon page until this is merged. Or do you want to deprecate it right now?
programminx-askui
approved these changes
Feb 24, 2026
Collaborator
programminx-askui
left a comment
There was a problem hiding this comment.
I like the new document structure. much more clearer
Closed
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.
[Edited] PR Description
To get a quick idea of the new API, I added an example under examples/model_providers.py that you can run
Note: You will need an anthropic API Key for that
This PR:
Summary
Key Changes
Further Changes
removes chat-api related code as it was deprecated
removes UI-TARS related code as it was deprecated
Breaking Changes