Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
039716c1
Commit
039716c1
authored
Jul 27, 2023
by
Joel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: support show thought use datetime tool
parent
eae670ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
index.tsx
web/app/components/app/chat/thought/index.tsx
+2
-0
explore.en.ts
web/i18n/lang/explore.en.ts
+1
-0
explore.zh.ts
web/i18n/lang/explore.zh.ts
+1
-0
No files found.
web/app/components/app/chat/thought/index.tsx
View file @
039716c1
...
...
@@ -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
}
`
}
...
...
web/i18n/lang/explore.en.ts
View file @
039716c1
...
...
@@ -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'
,
...
...
web/i18n/lang/explore.zh.ts
View file @
039716c1
...
...
@@ -69,6 +69,7 @@ const translation = {
google
:
'搜索谷歌 {{query}}'
,
wikipedia
:
'搜索维基百科 {{query}}'
,
dataset
:
'检索数据集 {datasetName}'
,
date
:
'查询日期'
,
},
},
viewConfigDetailTip
:
'在对话中,无法更改上述设置'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment