-
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?
Conversation
kcq888
left a comment
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.
please review comments and address
| role: 'assistant', | ||
| content: `Error: ${error instanceof Error ? error.message : 'Failed to get response'}`, | ||
| timestamp: new Date(), | ||
| model: modelName || 'XRPCode Buddy', |
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.
| content: `Error: ${error instanceof Error ? error.message : 'Failed to get response'}`, | ||
| timestamp: new Date(), | ||
| model: modelName || 'XRPCode Buddy', | ||
| model: modelName || 'XRP Buddy', |
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.
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
| </div> | ||
| <span className="text-xs font-medium text-mountain-mist-600"> | ||
| {message.role === 'user' ? 'You' : 'XRP Code Buddy'} | ||
| {message.role === 'user' ? 'You' : 'XRP Buddy'} |
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.
same as previous comemts
| if (response.ok) { | ||
| const data = await response.json(); | ||
| return data.model_name || 'XRPCode Buddy'; | ||
| return data.model_name || 'XRP Buddy'; |
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.
same
| console.warn('Failed to fetch model name from backend:', error); | ||
| } | ||
| return 'XRPCode Buddy'; // Fallback | ||
| return 'XRP Buddy'; // Fallback |
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.
same
| "settings": "Settings", | ||
| "ai-chat": "AI Buddy", | ||
| "ai-chat-help": "Chat with XRPCode Buddy", | ||
| "ai-chat": "XRP Buddy", |
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.
please also change the es.json
No description provided.