Commit 039716c1 authored by Joel's avatar Joel

feat: support show thought use datetime tool

parent eae670ea
......@@ -49,6 +49,8 @@ const Thought: FC<IThoughtProps> = ({
return t('explore.universalChat.thought.res.google', { query: input.query })
case 'wikipedia':
return t('explore.universalChat.thought.res.wikipedia', { query: input.query })
case 'current_datetime':
return t('explore.universalChat.thought.res.date')
default:
return `Unknown tool: ${item.tool}`
}
......
......@@ -69,6 +69,7 @@ const translation = {
google: 'Searching Google {{query}}',
wikipedia: 'Searching Wikipedia {{query}}',
dataset: 'Retrieving dataset {datasetName}',
date: 'Searching date',
},
},
viewConfigDetailTip: 'In conversation, cannot change above settings',
......
......@@ -69,6 +69,7 @@ const translation = {
google: '搜索谷歌 {{query}}',
wikipedia: '搜索维基百科 {{query}}',
dataset: '检索数据集 {datasetName}',
date: '查询日期',
},
},
viewConfigDetailTip: '在对话中,无法更改上述设置',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment