Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/ui-tars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"main": "./dist/main/main.js",
"packageManager": "pnpm@9.10.0",
"description": "A GUI Agent application based on UI-TARS(Vision-Lanuage Model) that allows you to control your computer using natural language.",
"description": "A GUI Agent application based on UI-TARS(Vision-Language Model) that allows you to control your computer using natural language.",
"author": "ByteDance",
"scripts": {
"format": "prettier --write .",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const LocalSettingsDialog = ({
</DialogHeader>
<VLMSettings ref={vlmSettingsRef} />
<Button className="mt-8 mx-8" onClick={handleGetStart}>
Get Start
Get Started
</Button>
</DialogContent>
</Dialog>
Expand Down
2 changes: 1 addition & 1 deletion apps/ui-tars/src/renderer/src/hooks/useRunAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const useRunAgent = () => {
) => {
const operator = settings.operator;
if (
(operator === Operator.LocalBrowser || Operator.LocalComputer) &&
(operator === Operator.LocalBrowser || operator === Operator.LocalComputer) &&
!(ensurePermissions?.accessibility && ensurePermissions?.screenCapture)
) {
const permissionsText = [
Expand Down
2 changes: 1 addition & 1 deletion apps/ui-tars/src/renderer/src/pages/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default function Settings() {
},
});
useEffect(() => {
if (Object.keys(settings)) {
if (Object.keys(settings).length > 0) {
form.reset({
language: settings.language,
vlmProvider: settings.vlmProvider,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"private": true,
"packageManager": "pnpm@9.10.0",
"description": "A GUI Agent application based on UI-TARS(Vision-Lanuage Model) that allows you to control your computer using natural language.",
"description": "A GUI Agent application based on UI-TARS(Vision-Language Model) that allows you to control your computer using natural language.",
"main": "./dist/main/main.js",
"author": "ByteDance",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-infra/browser/src/base-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export abstract class BaseBrowser implements BrowserInterface {

// Get all pages and find the last active page
const pages = await this.browser.pages();
this.logger.info('getActivePage: all of pages lenght:', pages.length);
this.logger.info('getActivePage: all of pages length:', pages.length);

if (pages.length === 0) {
this.activePage = await this.createPage();
Expand Down