Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-ai-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0d5095f1
authored
May 26, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开放语音功能
1 parent
7180b949
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
app/components/base/chat/chat/chat-input-area/operation.tsx
app/components/base/chat/chat/chat-input-area/operation.tsx
View file @
0d5095f
...
@@ -20,14 +20,16 @@ const Operation = ({
...
@@ -20,14 +20,16 @@ const Operation = ({
ref,
ref,
onSend,
onSend,
imgUrl,
imgUrl,
speechToTextConfig,
onShowVoiceInput,
}: OperationProps & {
}: OperationProps & {
ref: React.RefObject<HTMLDivElement>;
ref: React.RefObject<HTMLDivElement>;
}) => {
}) => {
return (
return (
<div className={cn("flex shrink-0 items-center justify-end")}>
<div className={cn("flex shrink-0 items-center justify-end")}>
<div className="flex items-center pl-1" ref={ref}>
<div className="flex items-center pl-1" ref={ref}>
{/*
<div className='flex items-center space-x-1'>
<div className='flex items-center space-x-1'>
{
fileConfig?.enabled && <FileUploaderInChatInput fileConfig={fileConfig} />
}
{
/* {fileConfig?.enabled && <FileUploaderInChatInput fileConfig={fileConfig} />} */
}
{
{
speechToTextConfig?.enabled && (
speechToTextConfig?.enabled && (
<ActionButton
<ActionButton
...
@@ -38,7 +40,7 @@ const Operation = ({
...
@@ -38,7 +40,7 @@ const Operation = ({
</ActionButton>
</ActionButton>
)
)
}
}
</div>
*/}
</div>
{imgUrl && (
{imgUrl && (
<img
<img
onClick={onSend}
onClick={onSend}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment