mirror of
https://github.com/trycua/computer.git
synced 2026-01-01 11:00:31 -06:00
change qwen.py loop to be a generic_vlm.py fallback loop
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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]],
|
||||
Reference in New Issue
Block a user