UFO error #181
JiLiangYong
started this conversation in
General
UFO error
#181
Replies: 1 comment 1 reply
-
Can you give more context, e.g. add some printing. If there is no error, it's hard to pinpoint the problem. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am going to survey on LLM topic。
after install the UFO tools based on document, I am failed to run the UFO。
not any error be shown on screen。 please guide me method for problem solving。
The programming I adjusted is in the following:
I. AppData/Local/Packages/PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0/LocalCache/local-packages/Python310/site-packages/colorama/ansitowin32.py +210
self.wrapped.write(text[start:end])
UnicodeEncodeError: 'cp950' codec can't encode character '\U0001f6f8' in position 20: illegal multibyte sequence
fixed it by using self.wrapped.write(text[start:end], encoding='utf-8')
II. File "D:\FakeFacebookAdvs\UFO\ufo\config\config.py", line 89, in update_api_base
deployment_name=configs[agent]["API_DEPLOYMENT_ID"],
KeyError: 'API_DEPLOYMENT_ID'
fixed it by using ufo/config/config.yaml
Beta Was this translation helpful? Give feedback.
All reactions