修改测试ip地址

This commit is contained in:
ken 2025-04-04 16:29:24 +08:00
parent 76cbd66e75
commit f87210943c
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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,