Repository navigation
feat(scaledown): add native text provider support #44168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+2,114
−1
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f3fbbc3
Add ScaleDown model pricing
soham96 296a445
Price all ScaleDown models at $0.04 per million and drop unverified c…
soham96 14169e9
Price all ScaleDown models at $0.05 per million input tokens
soham96 a18239c
Add regression tests for the ScaleDown pricing entries
soham96 9d210e3
Cite the source of the ScaleDown rate in the pricing tests and type them
soham96 ac42323
Add ScaleDown as a chat provider
soham96 fc831fa
Route ScaleDown domain models to the native API and stop trusting usa…
soham96 24643ab
Move ScaleDown translation into llms/ and address review findings
soham96 7b238b8
Refuse prompt-bearing extra_body keys and empty-key fallback to the e…
soham96 7fe394a
Read compress token usage from the real response shape
soham96 cc99d0c
Accept the router's max_retries and word the extra_body error clearly
soham96 d25edcb
Return extracted fields from extract, follow schema refs, and meet th…
soham96 2b29c5e
Fix stream_options, schema-guided extract cleaning, document input an…
soham96 9840354
Cut recursive schema refs at the cycle and cap the expanded entity count
soham96 a8da902
Bound ref chains and schema nesting so long schemas fail cleanly
soham96 669e99e
chore(scaledown): merge main and align dispatch types
moe-berri a69da5b
fix(scaledown): support native classify and preserve extraction results
moe-berri f235d5d
test(scaledown): include provider regressions in CI shard
moe-berri d38071c
fix(scaledown): pass registry typing and bounded recursion checks
moe-berri 12c8b6c
docs(scaledown): capture provider setup before and after
moe-berri c43a947
fix(scaledown): preserve nullable schemas and reject malformed requests
moe-berri bb3ebe4
fix(scaledown): isolate provider dispatch from existing providers
moe-berri e712f21
fix(scaledown): preserve the shared dispatch return contract
moe-berri 858f1f3
fix(scaledown): preserve failure logging and reject lossy schemas
moe-berri f3a2209
fix(scaledown): keep timeout typing annotation on its expression
moe-berri 3cdcd95
chore(scaledown): sync provider with main
moe-berri ac8366c
fix(scaledown): resolve escaped extraction schema references
moe-berri 3bfe409
fix(scaledown): annotate the bounded reference walk
moe-berri 0c942ec
chore(scaledown): remove unused loop suppression
moe-berri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| from .chat.transformation import ScaleDownChatConfig, ScaleDownError | ||
|
|
||
| __all__ = ["ScaleDownChatConfig", "ScaleDownError"] | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| from .transformation import ScaleDownChatConfig, ScaleDownError | ||
|
|
||
| __all__ = ["ScaleDownChatConfig", "ScaleDownError"] |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.