Fix missing autoselect_config parameter in streaming request

- Pass autoselect_config to _get_model_selection in handle_autoselect_streaming_request
- Fixes TypeError: missing 1 required positional argument
- Ensures streaming autoselect requests use the configured selection_model
parent 11082190
......@@ -649,7 +649,7 @@ class AutoselectHandler:
# Get the model selection
logger.info(f"Requesting model selection from AI...")
selected_model_id = await self._get_model_selection(autoselect_prompt)
selected_model_id = await self._get_model_selection(autoselect_prompt, autoselect_config)
# Validate the selected model
logger.info(f"=== MODEL VALIDATION ===")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment