-
Notifications
You must be signed in to change notification settings - Fork 0
updated the name of the xrp buddy #210
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -197,7 +197,7 @@ export default function AIChat() { | |
| role: 'assistant', | ||
| content: `Error: ${error instanceof Error ? error.message : 'Failed to get response'}`, | ||
| timestamp: new Date(), | ||
| model: modelName || 'XRPCode Buddy', | ||
| model: modelName || 'XRP Buddy', | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this is a non display string, please use a constant in the constants file. If it is a display name, use the localized file |
||
| }; | ||
|
|
||
| setMessages(prev => [...prev, errorMessage]); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -133,7 +133,7 @@ const ChatMessageComponent: React.FC<ChatMessageProps> = ({ message }) => { | |
| {message.role === 'user' ? 'U' : 'XRP'} | ||
| </div> | ||
| <span className="text-xs font-medium text-mountain-mist-600"> | ||
| {message.role === 'user' ? 'You' : 'XRP Code Buddy'} | ||
| {message.role === 'user' ? 'You' : 'XRP Buddy'} | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as previous comemts |
||
| </span> | ||
| </div> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import { ChatMessage } from './types'; | ||
|
|
||
| /** | ||
| * Simplified Gemini client for XRP Code Buddy | ||
| * Simplified Gemini client for XRP Buddy | ||
| * All AI configuration and teaching guidelines are now handled by the backend | ||
| */ | ||
| export class GeminiClient { | ||
|
|
@@ -67,12 +67,12 @@ export class GeminiClient { | |
| const response = await fetch(`${this.backendUrl}/model-info`); | ||
| if (response.ok) { | ||
| const data = await response.json(); | ||
| return data.model_name || 'XRPCode Buddy'; | ||
| return data.model_name || 'XRP Buddy'; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
| } | ||
| } catch (error) { | ||
| console.warn('Failed to fetch model name from backend:', error); | ||
| } | ||
| return 'XRPCode Buddy'; // Fallback | ||
| return 'XRP Buddy'; // Fallback | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
| } | ||
|
|
||
| /** | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,8 +53,8 @@ | |
| "selectUserOption": "Select a User", | ||
| "myview": "My View", | ||
| "settings": "Settings", | ||
| "ai-chat": "AI Buddy", | ||
| "ai-chat-help": "Chat with XRPCode Buddy", | ||
| "ai-chat": "XRP Buddy", | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please also change the es.json |
||
| "ai-chat-help": "Chat with XRP Buddy", | ||
| "user-folder": "User Folder Name", | ||
| "google-drive-folder": "Google Drive Folder Name", | ||
| "googleLoginTooltip": "Sign in with your Google account to access files stored in Google Drive.", | ||
|
|
@@ -163,18 +163,18 @@ | |
| "stop": "STOP", | ||
| "stopRunningProgram": "Stop Running Program...", | ||
| "aiChat": { | ||
| "buddyName": "XRPCode Buddy", | ||
| "buddyName": "XRP Buddy", | ||
| "poweredBy": "Powered by Gemini", | ||
| "docsLoaded": "Documentation loaded", | ||
| "loadingDocs": "Loading docs...", | ||
| "failedToLoadDocs": "Failed to load docs", | ||
| "noContext": "No context", | ||
| "startConversation": "Start a conversation", | ||
| "startConversationHelper": "Ask questions, get help with code, or learn XRP robotics with XRPCode Buddy.", | ||
| "placeholder": "Message XRPCode Buddy...", | ||
| "startConversationHelper": "Ask questions, get help with code, or learn XRP robotics with XRP Buddy.", | ||
| "placeholder": "Message XRP Buddy...", | ||
| "stopGeneration": "Stop generation", | ||
| "sendMessage": "Send message", | ||
| "buddyTyping": "XRPCode Buddy is typing..." | ||
| "buddyTyping": "XRP Buddy is typing..." | ||
| }, | ||
| "editor": { | ||
| "saveconnect": "To save your file, please connect to your XRP or login to your Google Drive account." | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use the translated string from the localized file for this.