Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ee4bad1f
authored
Jul 02, 2026
by
岑成威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 新加手机号码参数
1 parent
49c81bf3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
components/AiAssistantBall/AiAssistantBall.vue
utils/recordManager/RecordService.js
components/AiAssistantBall/AiAssistantBall.vue
View file @
ee4bad1
...
...
@@ -233,6 +233,7 @@ import {
shouldShowDailyGuide
,
markDailyGuideShown
}
from
'@/utils/aiAssistant/AiAssistantPref.js'
import
{
storageApi
}
from
'@/utils/cache'
import
RecordService
from
'@/utils/recordManager/RecordService.js'
import
{
getAiStreamSession
}
from
'@/utils/aiAssistant/aiStreamSession.js'
import
{
TransportType
}
from
'@/utils/socket'
...
...
@@ -609,6 +610,7 @@ export default {
'info'
,
`encode
${
this
.
encodeCostMs
}
ms, request POST /api/audio/chat session=
${
sessionId
}
`
)
const
userInfo
=
storageApi
.
getUserInfo
()
||
{}
let
res
const
tReqStart
=
Date
.
now
()
try
{
...
...
@@ -621,7 +623,8 @@ export default {
audio
:
audioBase64
,
sample_rate
:
16000
,
sample_width
:
2
,
channels
:
1
channels
:
1
,
phone
:
userInfo
.
phone
||
''
},
onTask
:
(
task
)
=>
{
this
.
helpAnswerAbort
=
()
=>
{
...
...
utils/recordManager/RecordService.js
View file @
ee4bad1
...
...
@@ -309,7 +309,7 @@ class RecordService {
const useWs = !!wsBase
const transport = useWs ? TransportType.WEBSOCKET : TransportType.HTTP
// HTTP 服务端固定为 /health(可在 AiAssistantBall 内按需覆盖)
const httpBaseUrl = 'https://lightmodification.
test.
glsx.com.cn'
const httpBaseUrl = 'https://lightmodification.glsx.com.cn'
const client = new NativeChannelClient(
useWs ? { transport } : { transport, baseUrl: httpBaseUrl }
...
...
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