chore(version): 0.9.4
This commit is contained in:
parent
4cbdd563e8
commit
10b9940edd
@ -78,9 +78,8 @@ afterPack: scripts/after-pack.js
|
||||
afterSign: scripts/notarize.js
|
||||
releaseInfo:
|
||||
releaseNotes: |
|
||||
增加 Genspark 小程序
|
||||
用户消息支持编辑并重新发送
|
||||
助手支持自定义请求参数 by @n2yt584v2t4nh7y
|
||||
支持编辑话题总结提示词
|
||||
修复 Windows 用户安装后无法打开的问题
|
||||
修复知识库无法向量化MD文件的问题
|
||||
文件支持删除
|
||||
增加 Hika 小程序
|
||||
增加 WebDAV 同步状态显示
|
||||
自定义参数增加 JSON 类型
|
||||
腾讯混元的联网开关
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "CherryStudio",
|
||||
"version": "0.9.3",
|
||||
"version": "0.9.4",
|
||||
"private": true,
|
||||
"description": "A powerful AI assistant for producer.",
|
||||
"main": "./out/main/index.js",
|
||||
|
||||
@ -47,21 +47,8 @@ export const AGENT_PROMPT = `
|
||||
export const SUMMARIZE_PROMPT =
|
||||
'你是一名擅长会话的助理,你需要将用户的会话总结为 10 个字以内的标题,标题语言与用户的首要语言一致,不要使用标点符号和其他特殊符号'
|
||||
|
||||
export const TRANSLATE_PROMPT = `You are a translation expert.
|
||||
|
||||
Translate from input language to {{target_language}}
|
||||
|
||||
Requirements:
|
||||
|
||||
1. provide the translation result directly without any explanation and keep original format.
|
||||
2. Do not translate if the target language is the same as the source language.
|
||||
|
||||
Example:
|
||||
|
||||
input: 你好,今天天气怎么样?
|
||||
target_language: english
|
||||
output: Hello, how is the weather today?
|
||||
`
|
||||
export const TRANSLATE_PROMPT =
|
||||
'You are a translation expert. Translate from input language to {{target_language}}, provide the translation result directly without any explanation and keep original format. Do not translate if the target language is the same as the source language.'
|
||||
|
||||
export const REFERENCE_PROMPT = `请根据参考资料回答问题,并使用脚注格式引用数据来源。请忽略无关的参考资料。
|
||||
|
||||
|
||||
@ -203,7 +203,7 @@ const FilesPage: FC = () => {
|
||||
) : (
|
||||
<Table
|
||||
dataSource={dataSource}
|
||||
columns={columns}
|
||||
columns={columns as any}
|
||||
style={{ width: '100%' }}
|
||||
size="small"
|
||||
pagination={{ pageSize: 100 }}
|
||||
|
||||
@ -9,7 +9,6 @@ import { useSettings } from '@renderer/hooks/useSettings'
|
||||
import AssistantSettingsPopup from '@renderer/pages/settings/AssistantSettings'
|
||||
import { getDefaultTopic } from '@renderer/services/AssistantService'
|
||||
import { EVENT_NAMES, EventEmitter } from '@renderer/services/EventService'
|
||||
import { useAppSelector } from '@renderer/store'
|
||||
import { Assistant } from '@renderer/types'
|
||||
import { uuid } from '@renderer/utils'
|
||||
import { Dropdown } from 'antd'
|
||||
@ -33,7 +32,6 @@ const Assistants: FC<Props> = ({
|
||||
onCreateDefaultAssistant
|
||||
}) => {
|
||||
const { assistants, removeAssistant, addAssistant, updateAssistants } = useAssistants()
|
||||
const generating = useAppSelector((state) => state.runtime.generating)
|
||||
const [dragging, setDragging] = useState(false)
|
||||
const { removeAllTopics } = useAssistant(activeAssistant.id)
|
||||
const { clickAssistantToShowTopic, topicPosition } = useSettings()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user