change qwen.py loop to be a generic_vlm.py fallback loop

This commit is contained in:
Dillon DuPont
2025-11-19 17:11:22 -05:00
parent 43052d8936
commit ebedf60ed7
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ from . import (
omniparser,
openai,
opencua,
qwen,
generic_vlm,
uiins,
uitars,
uitars2,
@@ -35,7 +35,7 @@ __all__ = [
"holo",
"moondream3",
"gemini",
"qwen",
"generic_vlm",
"uiins",
"gelato",
"uitars2",

View File

@@ -233,8 +233,8 @@ def convert_qwen_tool_args_to_computer_action(args: Dict[str, Any]) -> Optional[
return None
@register_agent(models=r"(?i).*qwen.*", priority=-1)
class Qwen3VlConfig(AsyncAgentConfig):
@register_agent(models=r"(?i).*", priority=-100)
class GenericVlmConfig(AsyncAgentConfig):
async def predict_step(
self,
messages: List[Dict[str, Any]],