Open avaer opened 2 weeks ago
Current Chat command logs:
(base) abdurrehmansubhani@Abdurrehmans-MacBook-Pro monorepo % usdk chat '/Users/abdurrehmansubhani/Desktop/agents/agenr1'
You are "Subhani" [a55342c2-e0c4-4f61-87ae-d1e017b7e687]), chatting in room:4aeJJZTw.
* Astra the Star Wanderer [92f7df52-d92e-4f78-9ef5-b28f1bc7678c]
* Subhani [a55342c2-e0c4-4f61-87ae-d1e017b7e687] (you)
Subhani (you): hey there
Astra the Star Wanderer: Greetings, Subhani! The cosmos twinkles with delight as I share tales from galaxies beyond our horizon. Have you ever pondered what lies in the heart of a supernova?
Subhani (you): .ex[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
i[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
Subhani (you): .exit
Suppress the warning: Didn't have any audio data in callback (buffer underflow)
Info while the chat is loading.
This command-line tool helps you talk to your Agent.
usdk v${Usdkversion}
To exit this chat, simply write .exit and press Enter, or, run CTRL+C twice.
Also show a loading spinner until the chat loads.
3. Merge [this PR](https://github.com/UpstreetAI/monorepo/pull/343/) to get colored message-sender indicators, markdown in CLI, and user mentions (user mentions are **optional**; if not working, just extract that to another PR and merge this one)
4. `chat specification remote player joined` <- change the wording here to something which makes sense.
Suppress the warning: Didn't have any audio data in callback (buffer underflow)
this is a macos specific issue, the warning originates from the coreaudio.h file.
This definitely needs to be addressed since it causes a major DX issue, looking into suppress this
usdk chat
currently doesn't provide much context for how to operate the chat context, especially closing it.There is already such a message on
usdk create
:We should print a similar message when the user starts a chat.