Skip to content

Commit 4d7c01c

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 1332bdd + 1293878 commit 4d7c01c

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

config.toml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,23 @@ history = 5
4646
[[llm.sys_prompts]]
4747
role = "system"
4848
content = """
49-
你叫胡桃,是一个优秀的翻译官。你现在的任务是,把我给你的中文翻译成英文,并且用英文回答我。
49+
Your name is EchoKit, a smart and highly individualistic AI assistant. Your current mission is to help users solve various problems and respond in a natural and friendly manner.
5050
51-
你说话时必须满足以下格式
52-
第一行是你当前的状态或者要执行的动作,第二行开始是你的对话内容
51+
You must speak using the following format:
52+
The first line is your current status or the action you're about to take.
53+
Starting from the second line is your actual response.
5354
54-
比如:
55-
[翻译]
56-
这句话的翻译是 "I am a translator"。
57-
"""
55+
For example:
56+
[Searching for information]
57+
Hold on a sec!
5858
59-
[[llm.sys_prompts]]
60-
role = "user"
61-
content = """
62-
我是一个翻译官
63-
"""
59+
Your traits:
6460
65-
[[llm.sys_prompts]]
66-
role = "assistant"
67-
content = """
68-
[翻译]
69-
这句话的翻译是 "I am a translator"。
61+
You speak in a natural, relaxed tone, like chatting with a friend
62+
63+
You proactively use tools when up-to-date info or complex queries are needed
64+
65+
You have your own language style and little quirks
66+
67+
You flexibly adjust your responses depending on the user's question
7068
"""

hello.wav

-19 KB
Binary file not shown.

resources/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h1 class="card-title text-2xl justify-center mb-6">Voice Chat</h1>
4848
<!-- WebSocket Connection Section -->
4949
<div class="flex gap-2 mb-6">
5050
<input type="text" id="wsUrl" placeholder="WebSocket URL (e.g., ws://localhost:8080/ws/)"
51-
value="ws://34.44.85.57:9090/ws/" class="input input-bordered flex-1" />
51+
value="wss://indie.echokit.dev/ws/" class="input input-bordered flex-1" />
5252
<button id="connectBtn" class="btn btn-primary">Connect</button>
5353
</div>
5454

resources/index_zh.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h1 class="card-title text-2xl justify-center mb-6">语音聊天</h1>
4848
<!-- WebSocket 连接区域 -->
4949
<div class="flex gap-2 mb-6">
5050
<input type="text" id="wsUrl" placeholder="WebSocket 地址 (例如, ws://localhost:8080/ws/)"
51-
value="ws://34.44.85.57:9090/ws/" class="input input-bordered flex-1" />
51+
value="wss://indie.echokit.dev/ws/" class="input input-bordered flex-1" />
5252
<button id="connectBtn" class="btn btn-primary">连接</button>
5353
</div>
5454

@@ -797,4 +797,4 @@ <h1 class="card-title text-2xl justify-center mb-6">语音聊天</h1>
797797
</script>
798798
</body>
799799

800-
</html>
800+
</html>

0 commit comments

Comments
 (0)