You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/dashboard/ai-tools/page.tsx
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ export default function AIToolsPage() {
26
26
{
27
27
role: "assistant",
28
28
content:
29
-
"Hello! I'm your AI development assistant. I can run locally using Ollama or connect to cloud APIs. I can help you with code generation, debugging, architecture decisions, and more. What would you like to work on today?",
29
+
"Hello! I'm your RAG-enhanced AI development assistant powered by Ollama. I can help you with code generation, debugging, architecture decisions, and more. My responses are based on your platform's documentation and codebase for accurate, context-aware answers. What would you like to work on today?",
30
30
timestamp: newDate().toLocaleTimeString(),
31
31
},
32
32
])
@@ -84,7 +84,7 @@ export default function AIToolsPage() {
84
84
consterrorMessage: Message={
85
85
role: "assistant",
86
86
content:
87
-
"Sorry, I encountered an error connecting to Ollama. Please ensure Ollama is running and you have downloaded a model. Visit https://ollama.com for setup instructions or see docs/OLLAMA_SETUP.md",
87
+
"Sorry, I encountered an error connecting to the RAG-enhanced AI. Please ensure Ollama is running and you have downloaded a model. Visit https://ollama.com for setup instructions or see docs/OLLAMA_SETUP.md",
88
88
timestamp: newDate().toLocaleTimeString(),
89
89
}
90
90
setMessages((prev)=>[...prev,errorMessage])
@@ -104,7 +104,7 @@ export default function AIToolsPage() {
104
104
{
105
105
role: "assistant",
106
106
content:
107
-
"Hello! I'm your AI development assistant. I can run locally using Ollama or connect to cloud APIs. I can help you with code generation, debugging, architecture decisions, and more. What would you like to work on today?",
107
+
"Hello! I'm your RAG-enhanced AI development assistant powered by Ollama. I can help you with code generation, debugging, architecture decisions, and more. My responses are based on your platform's documentation and codebase for accurate, context-aware answers. What would you like to work on today?",
108
108
timestamp: newDate().toLocaleTimeString(),
109
109
},
110
110
])
@@ -124,9 +124,9 @@ export default function AIToolsPage() {
0 commit comments