修改测试ip地址
This commit is contained in:
parent
76cbd66e75
commit
f87210943c
@ -6,7 +6,7 @@ Agent模块负责处理request工作流,生成prompt与LLM交互。
|
|||||||
> <http://ishangsf.com:8100/ken/agent>
|
> <http://ishangsf.com:8100/ken/agent>
|
||||||
>
|
>
|
||||||
> websocket接口地址:
|
> websocket接口地址:
|
||||||
> <ws://112.74.39.99:8080/ws>
|
> <ws://47.117.75.243:8080/ws>
|
||||||
>
|
>
|
||||||
> 接口文档:
|
> 接口文档:
|
||||||
> <http://ishangsf.com:8100/ken/agent/src/branch/main/README.md>
|
> <http://ishangsf.com:8100/ken/agent/src/branch/main/README.md>
|
||||||
|
@ -2,7 +2,7 @@ import ws from 'ws';
|
|||||||
|
|
||||||
process.env["NODE_TLS_REJECT_UNAUTHORIZED"]="0"
|
process.env["NODE_TLS_REJECT_UNAUTHORIZED"]="0"
|
||||||
// const ADDR = "ws://112.74.39.99:8080/ws"
|
// const ADDR = "ws://112.74.39.99:8080/ws"
|
||||||
const ADDR = "ws://127.0.0.1:8080/ws"
|
const ADDR = "ws://47.117.75.243:8080/ws"
|
||||||
|
|
||||||
export function makeClient(
|
export function makeClient(
|
||||||
onMessage: ((data: ws.RawData) => void) | any = undefined,
|
onMessage: ((data: ws.RawData) => void) | any = undefined,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user