mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-24 00:47:00 +00:00
Fix linter issues: specify exception type and use type parameters
This commit is contained in:
parent
2d87a055e1
commit
6be4cf7d18
7 changed files with 18 additions and 54 deletions
|
|
@ -83,9 +83,7 @@ async def get_auto_router_impl(
|
|||
|
||||
# TODO: move pass configs to routers instead
|
||||
if api == Api.inference:
|
||||
sql_config, max_queue, num_writers = resolve_inference_store_config(
|
||||
run_config.persistence
|
||||
)
|
||||
sql_config, max_queue, num_writers = resolve_inference_store_config(run_config.persistence)
|
||||
inference_store_config = InferenceStoreConfig(
|
||||
sql_store_config=sql_config,
|
||||
max_write_queue_size=max_queue,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue