Skip to content

Commit f0c22fc

Browse files
committed
rename
1 parent 8d2707e commit f0c22fc

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ async def chat_with_agent(self, message: str) -> ChatResponse:
210210

211211
# Default instructions for MCP-enabled agent
212212
instructions = """
213-
You are a helpful AI assistant with access to todo management tools via MCP.
213+
You are a helpful AI agent with access to todo management tools via MCP.
214214
You can help users create, list, update, and delete todo items using the available MCP tools.
215215
When users ask about todos, use the MCP tools to perform the requested actions.
216216
Always be helpful and provide clear feedback about what actions you've taken.

static/js/chat.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class ChatInterface {
8686
// Show enhanced loading state with typing indicator
8787
this.setLoading(true);
8888
this.addTypingIndicator();
89-
this.updateStatus('AI is thinking...', 'processing');
89+
this.updateStatus('AI Agent is thinking...', 'processing');
9090

9191
try {
9292
const response = await fetch('/api/chat/message', {
@@ -135,7 +135,7 @@ class ChatInterface {
135135

136136
typingDiv.innerHTML = `
137137
<div class="message-content">
138-
<strong>AI Assistant:</strong>
138+
<strong>Agent:</strong>
139139
<div class="typing-dots">
140140
<span class="dot"></span>
141141
<span class="dot"></span>
@@ -163,7 +163,7 @@ class ChatInterface {
163163

164164
messageDiv.innerHTML = `
165165
<div class="message-content">
166-
<strong>${sender === 'user' ? 'You' : 'AI Assistant'}:</strong> ${this.formatMessage(content)}
166+
<strong>${sender === 'user' ? 'You' : 'Agent'}:</strong> ${this.formatMessage(content)}
167167
</div>
168168
<div class="message-time">${timestamp}</div>
169169
`;

templates/chat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1>App Service MCP To-do List App</h1>
2525
<div class="chat-messages" id="chatMessages">
2626
<div class="message assistant-message">
2727
<div class="message-content">
28-
<strong>AI Assistant:</strong> Hi! I'm your AI assistant powered by Azure AI Foundry with MCP integration. I can help you manage your todos through natural language. Try asking me to "create a new todo" or "show me all my todos"!
28+
<strong>Agent:</strong> Hi! I'm your AI agent powered by Azure AI Foundry with MCP integration. I can help you manage your todos through natural language. Try asking me to "create a new todo" or "show me all my todos"!
2929
</div>
3030
<div class="message-time" id="initialTime"></div>
3131
</div>

0 commit comments

Comments
 (0)