OpenInterpreter / open-interpreter

A natural language interface for computers
http://openinterpreter.com/
GNU Affero General Public License v3.0
56.06k stars 4.85k forks source link

Problem with the Azerty keyboard #1530

Open alexsoyes opened 2 weeks ago

alexsoyes commented 2 weeks ago

Describe the bug

The software is typing in QWERTY instead of AZERTY.

Also, it seems that he is not able to launch Spotlight. Maybe a shortcut problem too?

Reproduce

interpreter --os

Welcome to Open Interpreter.

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

An Anthropic API is required for OS mode.

Enter your Anthropic API key: ---

▌ Model set to Claude 3.5 Sonnet (New), OS control enabled

We recommend using our desktop app for the best experience. Type d for early access.

Warning: This AI has full system access and can modify files, install software, and execute commands. By continuing, you accept all risks and responsibility.

Move your mouse to any corner of the screen to exit.

Check in my calendar that I have an appointment with my brother on Wednesday at 11:30.

I'll help you check your calendar for that appointment. I'll use Spotlight to open the Calendar application.

{"action": "key", "text": "cmd+space"}{"action": "type", "text": "calendar"}{"action": "key", "text": "Return"}110:114: syntax error: Expected end of line but found application constant or consideration. (-2741) cqlendqr

Expected behavior

it types "cqlendqr" instead of "calendar".

Screenshots

No response

Open Interpreter version

0.4.3

Python version

3.11.7

Operating System name and version

Osx 15.1

Additional context

No response

Notnaton commented 1 week ago

I think this is a issue with a library and not open-interpreter itself... Did the error include a stacktrace, if so can you post it here? My bet is on pyautogui Could you also provide a link to the keyboard and/or model name...

Stijn-B commented 1 week ago

Same issue here on a macbook M3 with azerty keyboard

There's no error or stack trace, open interpreter just types as if it's qwerty. So it correctly opens the cmd+space and then types cqlendqr instead of calendar