Spaces:
Runtime error
Runtime error
update
Browse files
src/assets/avatar.jpg
DELETED
Binary file (5.16 kB)
|
|
src/assets/moss.gif
ADDED
src/components/common/UserAvatar/index.vue
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
import { computed } from 'vue'
|
3 |
import { NAvatar } from 'naive-ui'
|
4 |
import { useUserStore } from '@/store'
|
5 |
-
import defaultAvatar from '@/assets/
|
6 |
import { isString } from '@/utils/is'
|
7 |
|
8 |
const userStore = useUserStore()
|
|
|
2 |
import { computed } from 'vue'
|
3 |
import { NAvatar } from 'naive-ui'
|
4 |
import { useUserStore } from '@/store'
|
5 |
+
import defaultAvatar from '@/assets/moss.gif'
|
6 |
import { isString } from '@/utils/is'
|
7 |
|
8 |
const userStore = useUserStore()
|
src/store/modules/settings/helper.ts
CHANGED
@@ -10,7 +10,7 @@ export interface SettingsState {
|
|
10 |
|
11 |
export function defaultSetting(): SettingsState {
|
12 |
return {
|
13 |
-
systemMessage: 'You are
|
14 |
temperature: 0.8,
|
15 |
top_p: 1,
|
16 |
}
|
|
|
10 |
|
11 |
export function defaultSetting(): SettingsState {
|
12 |
return {
|
13 |
+
systemMessage: 'You are Moss, a large language model trained by OpenAI. Follow the user\'s instructions carefully. Respond using markdown.',
|
14 |
temperature: 0.8,
|
15 |
top_p: 1,
|
16 |
}
|
src/store/modules/user/helper.ts
CHANGED
@@ -15,7 +15,7 @@ export interface UserState {
|
|
15 |
export function defaultSetting(): UserState {
|
16 |
return {
|
17 |
userInfo: {
|
18 |
-
avatar: '
|
19 |
name: 'MossTech',
|
20 |
description: '莫斯科技(<a href="https://moss.run.place" class="text-blue-500" target="_blank" >MossTec</a>)',
|
21 |
},
|
|
|
15 |
export function defaultSetting(): UserState {
|
16 |
return {
|
17 |
userInfo: {
|
18 |
+
avatar: '/assets/moss.gif',
|
19 |
name: 'MossTech',
|
20 |
description: '莫斯科技(<a href="https://moss.run.place" class="text-blue-500" target="_blank" >MossTec</a>)',
|
21 |
},
|
src/views/chat/components/Message/Avatar.vue
CHANGED
@@ -3,7 +3,7 @@ import { computed } from 'vue'
|
|
3 |
import { NAvatar } from 'naive-ui'
|
4 |
import { useUserStore } from '@/store'
|
5 |
import { isString } from '@/utils/is'
|
6 |
-
import defaultAvatar from '@/assets/
|
7 |
|
8 |
interface Props {
|
9 |
image?: boolean
|
|
|
3 |
import { NAvatar } from 'naive-ui'
|
4 |
import { useUserStore } from '@/store'
|
5 |
import { isString } from '@/utils/is'
|
6 |
+
import defaultAvatar from '@/assets/moss.gif'
|
7 |
|
8 |
interface Props {
|
9 |
image?: boolean
|