Repository navigation
refactor: make model field required, remove resolve_model_id #713
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 all commits
3f19a66
fd577d8
e5796c4
96965b4
8de21dc
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 |
|---|---|---|
|
|
@@ -91,14 +91,7 @@ pub(crate) fn validate_worker_availability( | |
| let available_models = worker_registry.get_models(); | ||
|
|
||
| if !available_models.contains(&model.to_string()) { | ||
| return Some(error::service_unavailable( | ||
| "no_available_workers", | ||
| format!( | ||
| "No workers available for model '{}'. Available models: {}", | ||
| model, | ||
| available_models.join(", ") | ||
| ), | ||
| )); | ||
| return Some(error::model_not_found(model)); | ||
|
Comment on lines
93
to
+94
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.
Useful? React with 👍 / 👎. |
||
| } | ||
|
|
||
| None | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.