mirror of
https://github.com/trycua/computer.git
synced 2026-01-01 11:00:31 -06:00
Updated docs
This commit is contained in:
@@ -29,11 +29,4 @@ async for result in agent.run(prompt):
|
||||
print("Agent:", result["output"][-1]["content"][0]["text"])
|
||||
```
|
||||
|
||||
We currently support 4 computer-using agent loops:
|
||||
|
||||
- Anthropic CUAs
|
||||
- OpenAI CUA Preview
|
||||
- UI-TARS 1.5
|
||||
- Omniparser + LLMs
|
||||
|
||||
For a full list of supported models and configurations, see the [Supported Agents](./supported-agents) page.
|
||||
For a list of supported models and configurations, see the [Supported Agents](./supported-agents/computer-use-agents) page.
|
||||
|
||||
@@ -49,6 +49,19 @@ async for _ in agent.run("Open the settings menu and change the theme to dark mo
|
||||
pass
|
||||
```
|
||||
|
||||
## GLM-4.5V
|
||||
|
||||
Zhipu AI's GLM-4.5V vision-language model with computer-use capabilities:
|
||||
|
||||
- `openrouter/z-ai/glm-4.5v`
|
||||
- `huggingface-local/zai-org/GLM-4.5V`
|
||||
|
||||
```python
|
||||
agent = ComputerAgent("openrouter/z-ai/glm-4.5v", tools=[computer])
|
||||
async for _ in agent.run("Click on the search bar and type 'hello world'"):
|
||||
pass
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
For details on agent loop behavior and usage, see [Agent Loops](../agent-loops).
|
||||
|
||||
Reference in New Issue
Block a user