OpenInterpreter / 01

The open-source language model computer
http://openinterpreter.com/01
GNU Affero General Public License v3.0
4.76k stars 470 forks source link

01 is Running in Arabic! #201

Open ashajjar opened 3 months ago

ashajjar commented 3 months ago

I am not sure if this a bug though 😅

It is the first time I run 01 on my Mac. The system language is set to English, I have however installed Arabic keyboard that I use occasionally. When I start 01, and hold the spacebar, it starts responding in Arabic. How can I change that?

tyfiero commented 3 months ago

That's a weird one! Is it just the keyboard that's causing it to respond in Arabic? Are you speaking English to it when recording? I'm also noticing that you're using python 3.12, 3.11 works best, but I don't think that's the issue here

ashajjar commented 3 months ago

I spoke English to it.. I did not expect it to speak Arabic (silly me 😆 )

ashajjar commented 3 months ago

I will try with 3.11 and report back

ashajjar commented 3 months ago

I found out what the issue is, so my spotlight command is not COMMAND+SPACE it is rather OPTION+SPACE because I use command space to switch language on the keyboard!

The problem is that when I ask the interpreter to open Chrome for example, it switch to the next language which arabic in this case and starts typing in arabic!

Now the question is ! How do I change the defaul key mapping?

tyfiero commented 3 months ago

That makes sense! You could change the system message in software->server->i.py to reflect your different key mapping, maybe include a sentence that tells it to explicitly use opt+space for spotlight

ashajjar commented 3 months ago

I changed that but did not work! should I rebuild?

rbrisita commented 3 months ago

I just encountered this issue and I don't have an Arabic keyboard installed. My guess is that 01OS is choosing the first language in a list to speak, hence Arabic is spoken. Also, I am on aarch64 Armbian 24.2.1 fresh install.

rbrisita commented 3 months ago

Lol, I fixed it by asking the 01 not to speak Arabic and it chose English and now responds in English.

I would really like to know the "Why?" though.