Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] The letter U to mean You looks pretty naff #407

Open
plutoless opened this issue Nov 14, 2024 · 19 comments
Open

[BUG] The letter U to mean You looks pretty naff #407

plutoless opened this issue Nov 14, 2024 · 19 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@plutoless
Copy link
Contributor

Description

the icon of new ui is not friendly

Environment

linux

Steps to reproduce

any talking

Expected behavior

the icon should be friendly

Actual behavior

it's not

Severity

Minor

Additional Information

Screenshot 2024-11-13 at 09 26 05

@plutoless plutoless added the bug Something isn't working label Nov 14, 2024
@cyfyifanchen cyfyifanchen added the good first issue Good for newcomers label Nov 15, 2024
@cyfyifanchen
Copy link
Collaborator

cyfyifanchen commented Nov 15, 2024

Removing U, keep the avatar area empty, like the below image.

image

@malikrohail
Copy link

can i fix this

@cyfyifanchen
Copy link
Collaborator

@malikrohail go for it.

@malikrohail
Copy link

on it

@malikrohail
Copy link

quick question: do i need to set up agora ap id and app certificate to run it locally?

@malikrohail
Copy link

also am i suppose to set up the endpoints for the private keys mentioned in readme page or all the templates given in .env file( such as firebase, gemini api, azure, stuff ) ??

@cyfyifanchen
Copy link
Collaborator

quick question: do i need to set up agora ap id and app certificate to run it locally?

agora app id is required, certificate is not, it shouldn't take more than 1 minute to do so at console.agora.io

@cyfyifanchen
Copy link
Collaborator

also am i suppose to set up the endpoints for the private keys mentioned in readme page or all the templates given in .env file( such as firebase, gemini api, azure, stuff ) ??

Right, we recommend to do so altho it is a simple UI fix. That way, you get a feel of it and you can test and play with it.

@malikrohail
Copy link

Is there like a proper guide, with documentation for each API key port. I'm unable to find few of them online, as some of them are not native to the US.

`WEATHERAPI_API_KEY=
MINIMAX_TTS_API_KEY=
MINIMAX_TTS_GROUP_ID=
Extension: cartesia_tts

Extension: aliyun_analyticdb_vector_storage

ALIBABA_CLOUD_ACCESS_KEY_ID=
ALIBABA_CLOUD_ACCESS_KEY_SECRET=
ALIYUN_ANALYTICDB_ACCOUNT=
ALIYUN_ANALYTICDB_ACCOUNT_PASSWORD=
ALIYUN_ANALYTICDB_INSTANCE_ID=CARTESIA_API_KEY=

COSY_TTS_KEY=
OPENAI_REALTIME_API_KEY= (is this same as open ai key)

`

@cyfyifanchen
Copy link
Collaborator

You don't have to have all the keys in .env, to do this task, having OpenAI key and agora id will be enough.

@malikrohail
Copy link

so im running it on a m1 silicon system and get the following error on my terminal once i start the server.

>> build agents cd agents && ./scripts/install_deps_and_build.sh linux x64 && mv bin/main bin/worker ./scripts/install_deps_and_build.sh: line 98: 48 Illegal instruction /tmp/test FATAL: unsupported platform. Please UNCHECK the 'Use Rosetta for x86_64/amd64 emulation on Apple Silicon' Docker Desktop setting if you're running on mac. make: *** [Makefile:11: build-agents] Error 1 root@d1769aa25fcf:/app#

In docker APP, when i go to feature setting there is no such option to uncheck AMD. Any help on this?

@malikrohail
Copy link

im getting error as i cannot create conversation on frontend.

2024-11-19 15:35:50 ten_agent_playground | 2024-11-19 15:35:50 ten_agent_playground | ✓ Starting... 2024-11-19 15:35:50 ten_agent_demo | ✓ Ready in 540ms 2024-11-19 15:35:50 ten_agent_playground | ✓ Ready in 540ms 2024-11-19 15:35:59 ten_agent_playground | Failed to proxy http://ten_agent_dev:8080/ping Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:35:59 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:35:59 ten_agent_playground | errno: -111, 2024-11-19 15:35:59 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:35:59 ten_agent_playground | syscall: 'connect', 2024-11-19 15:35:59 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:35:59 ten_agent_playground | port: 8080 2024-11-19 15:35:59 ten_agent_playground | } 2024-11-19 15:35:59 ten_agent_playground | Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:35:59 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:35:59 ten_agent_playground | errno: -111, 2024-11-19 15:35:59 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:35:59 ten_agent_playground | syscall: 'connect', 2024-11-19 15:35:59 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:35:59 ten_agent_playground | port: 8080 2024-11-19 15:35:59 ten_agent_playground | } 2024-11-19 15:35:59 ten_agent_playground | Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:35:59 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:35:59 ten_agent_playground | errno: -111, 2024-11-19 15:35:59 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:35:59 ten_agent_playground | syscall: 'connect', 2024-11-19 15:35:59 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:35:59 ten_agent_playground | port: 8080 2024-11-19 15:35:59 ten_agent_playground | } 2024-11-19 15:35:59 ten_agent_playground | Failed to proxy http://ten_agent_dev:8080/token/generate Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:35:59 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:35:59 ten_agent_playground | errno: -111, 2024-11-19 15:35:59 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:35:59 ten_agent_playground | syscall: 'connect', 2024-11-19 15:35:59 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:35:59 ten_agent_playground | port: 8080 2024-11-19 15:35:59 ten_agent_playground | } 2024-11-19 15:36:00 ten_agent_playground | Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:36:00 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:36:00 ten_agent_playground | errno: -111, 2024-11-19 15:36:00 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:36:00 ten_agent_playground | syscall: 'connect', 2024-11-19 15:36:00 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:36:00 ten_agent_playground | port: 8080 2024-11-19 15:36:00 ten_agent_playground | } 2024-11-19 15:36:00 ten_agent_playground | Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:36:00 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:36:00 ten_agent_playground | errno: -111, 2024-11-19 15:36:00 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:36:00 ten_agent_playground | syscall: 'connect', 2024-11-19 15:36:00 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:36:00 ten_agent_playground | port: 8080 2024-11-19 15:36:00 ten_agent_playground | }

@cyfyifanchen
Copy link
Collaborator

so im running it on a m1 silicon system and get the following error on my terminal once i start the server.

>> build agents cd agents && ./scripts/install_deps_and_build.sh linux x64 && mv bin/main bin/worker ./scripts/install_deps_and_build.sh: line 98: 48 Illegal instruction /tmp/test FATAL: unsupported platform. Please UNCHECK the 'Use Rosetta for x86_64/amd64 emulation on Apple Silicon' Docker Desktop setting if you're running on mac. make: *** [Makefile:11: build-agents] Error 1 root@d1769aa25fcf:/app#

In docker APP, when i go to feature setting there is no such option to uncheck AMD. Any help on this?

Do you have the latest version of Docker?

image

@cyfyifanchen
Copy link
Collaborator

im getting error as i cannot create conversation on frontend.

2024-11-19 15:35:50 ten_agent_playground | 2024-11-19 15:35:50 ten_agent_playground | ✓ Starting... 2024-11-19 15:35:50 ten_agent_demo | ✓ Ready in 540ms 2024-11-19 15:35:50 ten_agent_playground | ✓ Ready in 540ms 2024-11-19 15:35:59 ten_agent_playground | Failed to proxy http://ten_agent_dev:8080/ping Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:35:59 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:35:59 ten_agent_playground | errno: -111, 2024-11-19 15:35:59 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:35:59 ten_agent_playground | syscall: 'connect', 2024-11-19 15:35:59 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:35:59 ten_agent_playground | port: 8080 2024-11-19 15:35:59 ten_agent_playground | } 2024-11-19 15:35:59 ten_agent_playground | Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:35:59 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:35:59 ten_agent_playground | errno: -111, 2024-11-19 15:35:59 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:35:59 ten_agent_playground | syscall: 'connect', 2024-11-19 15:35:59 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:35:59 ten_agent_playground | port: 8080 2024-11-19 15:35:59 ten_agent_playground | } 2024-11-19 15:35:59 ten_agent_playground | Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:35:59 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:35:59 ten_agent_playground | errno: -111, 2024-11-19 15:35:59 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:35:59 ten_agent_playground | syscall: 'connect', 2024-11-19 15:35:59 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:35:59 ten_agent_playground | port: 8080 2024-11-19 15:35:59 ten_agent_playground | } 2024-11-19 15:35:59 ten_agent_playground | Failed to proxy http://ten_agent_dev:8080/token/generate Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:35:59 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:35:59 ten_agent_playground | errno: -111, 2024-11-19 15:35:59 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:35:59 ten_agent_playground | syscall: 'connect', 2024-11-19 15:35:59 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:35:59 ten_agent_playground | port: 8080 2024-11-19 15:35:59 ten_agent_playground | } 2024-11-19 15:36:00 ten_agent_playground | Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:36:00 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:36:00 ten_agent_playground | errno: -111, 2024-11-19 15:36:00 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:36:00 ten_agent_playground | syscall: 'connect', 2024-11-19 15:36:00 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:36:00 ten_agent_playground | port: 8080 2024-11-19 15:36:00 ten_agent_playground | } 2024-11-19 15:36:00 ten_agent_playground | Error: connect ECONNREFUSED 172.19.0.3:8080 2024-11-19 15:36:00 ten_agent_playground | at <unknown> (Error: connect ECONNREFUSED 172.19.0.3:8080) { 2024-11-19 15:36:00 ten_agent_playground | errno: -111, 2024-11-19 15:36:00 ten_agent_playground | code: 'ECONNREFUSED', 2024-11-19 15:36:00 ten_agent_playground | syscall: 'connect', 2024-11-19 15:36:00 ten_agent_playground | address: '172.19.0.3', 2024-11-19 15:36:00 ten_agent_playground | port: 8080 2024-11-19 15:36:00 ten_agent_playground | }

This looks like a internet connection issue, where are you located? You have proper VPN, don't you?

@malikrohail
Copy link

was able to make it work out. will get back to you with updates soon. thanks for the help.
Screenshot 2024-11-19 at 7 43 56 PM

@cyfyifanchen
Copy link
Collaborator

@malikrohail np, thanks for the contribution.

@malikrohail
Copy link

@cyfyifanchen i changed the following line of code
<Avatar> <AvatarFallback> {data.type === EMessageType.AGENT ? "AG" : "U"} </AvatarFallback> </Avatar>

to

<Avatar> <AvatarFallback> {data.type === EMessageType.AGENT ? "AG" : null} </AvatarFallback> </Avatar>

However, after running it on local host, it still shows the U logo and I will traceback the error and see what is causing it to fall back to a default behavior.

@cyfyifanchen
Copy link
Collaborator

@malikrohail is the ternary condition here needed?

@malikrohail
Copy link

Screenshot 2024-11-24 at 5 24 02 PM
just fixed it, will make a PR momentarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants