Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
add top_p to uitars
Dillon DuPont2e10e0922ab1
diff --git a/libs/agent/agent/providers/uitars/clients/oaicompat.py b/libs/agent/agent/providers/uitars/clients/oaicompat.pyindex 963fb05b69..1b5129974e 100644--- a/libs/agent/agent/providers/uitars/clients/oaicompat.py+++ b/libs/agent/agent/providers/uitars/clients/oaicompat.py@@ -145,8 +145,13 @@ class OAICompatClient(BaseUITarsClient):message = {"role": "user", "content": [{"type": "text", "text": item}]}final_messages.append(message)- payload = {"model": self.model, "messages": final_messages, "temperature": self.temperature}- payload["max_tokens"] = max_tokens or self.max_tokens+ payload = {+ "model": self.model,+ "messages": final_messages,+ "max_tokens": max_tokens or self.max_tokens,+ "temperature": self.temperature,+ "top_p": 0.7,+ }try:async with aiohttp.ClientSession() as session: