mirror of
https://github.com/trycua/computer.git
synced 2026-01-04 04:19:57 -06:00
register gemini model
This commit is contained in:
@@ -14,6 +14,7 @@ from . import opencua
|
||||
from . import internvl
|
||||
from . import holo
|
||||
from . import moondream3
|
||||
from . import gemini
|
||||
|
||||
__all__ = [
|
||||
"anthropic",
|
||||
@@ -27,4 +28,5 @@ __all__ = [
|
||||
"internvl",
|
||||
"holo",
|
||||
"moondream3",
|
||||
"gemini"
|
||||
]
|
||||
@@ -53,8 +53,7 @@ async def _prepare_tools_for_openai(tool_schemas: List[Dict[str, Any]]) -> Tools
|
||||
|
||||
return openai_tools
|
||||
|
||||
|
||||
@register_agent(models=r".*computer-use-preview.*")
|
||||
@register_agent(models=r".*(^|/)computer-use-preview")
|
||||
class OpenAIComputerUseConfig:
|
||||
"""
|
||||
OpenAI computer-use-preview agent configuration using liteLLM responses.
|
||||
|
||||
Reference in New Issue
Block a user