Repository navigation
feat(decisions): accept decisions as a model mode alongside evaluation #45474
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
Changes from 1 commit
ebd31bb
cb75948
c0bbbdb
7086cee
06c6cd6
2397f02
46dfa61
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -146,6 +146,7 @@ | |
| ModelResponseStream, | ||
| RawRequestTypedDict, | ||
| StreamingChoices, | ||
| canonical_model_mode, | ||
| ) | ||
| from litellm.types.workload_identity import ANTHROPIC_WIF_KWARGS_KEYS, OPENAI_WIF_KWARGS_KEYS | ||
| from litellm.utils import ( | ||
|
|
@@ -8822,6 +8823,7 @@ async def ahealth_check( | |
| mode = mode or default_health_check_mode( | ||
| requested_model=requested_model, model=model, custom_llm_provider=custom_llm_provider | ||
| ) | ||
| mode = canonical_model_mode(mode) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This reassigns the Context Used: AGENTS.md (source)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in cb75948: |
||
| if "*" in model: | ||
| return await HealthCheckHelpers.ahealth_check_wildcard_models( | ||
| model=model, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Real-provider proof is still pending. Repository rules require live-proxy checks of inferred modes, legacy configs, and Lens selection. Add that proof before merging
Rule Used: Flag if the PR has no proof of e2e testing (if e2e testing is applicable here. If it's like an AGENTS.md change or something then probably no need to have e2e test proof) that either doesn't exist, claims that the box that it was trying to run in doe... (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added live proof to the PR description: a real proxy against the TypeSafe API with no mocks, at merge base 1a42c5a and at c0bbbdb. It covers a cost-map decision model with no mode, an explicit
mode: decisionsdeployment and a legacymode: evaluationdeployment, through/model_group/info,/healthand a real/v1/systemonecall