feat: AI端点测试动态参数表单、接口工作流行内测试、本地开发环境改为线上域名
- 后端新增 /ai/endpoint/test 和 /ai/endpoint/stream 接口,支持直接端点测试 - 前端增加行内测试功能(场景绑定+接口工作流) - 测试对话框增加动态参数表单和参数定义编辑 - 支持 _meta 格式的默认输入参数处理 - web、web-admin 本地开发环境 API 调用改为线上域名 https://lifescript.happylifeos.com Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -79,9 +79,9 @@ export const getEnvConfig = (): EnvConfig => {
|
||||
case 'local':
|
||||
return {
|
||||
name: '本地环境',
|
||||
apiBaseUrl: 'http://localhost:19089/api',
|
||||
wsBaseUrl: 'ws://localhost:19089/api',
|
||||
uploadUrl: 'http://localhost:19089/api/upload',
|
||||
apiBaseUrl: 'https://lifescript.happylifeos.com/api',
|
||||
wsBaseUrl: 'wss://lifescript.happylifeos.com/ws',
|
||||
uploadUrl: 'https://lifescript.happylifeos.com/api/upload',
|
||||
debug: true,
|
||||
mock: false,
|
||||
appTitle: '情绪博物馆 - 本地',
|
||||
@@ -91,9 +91,9 @@ export const getEnvConfig = (): EnvConfig => {
|
||||
case 'dev':
|
||||
return {
|
||||
name: '开发环境',
|
||||
apiBaseUrl: 'http://localhost:19089/api',
|
||||
wsBaseUrl: 'ws://localhost:19089/api',
|
||||
uploadUrl: 'http://localhost:19089/api/upload',
|
||||
apiBaseUrl: 'https://lifescript.happylifeos.com/api',
|
||||
wsBaseUrl: 'wss://lifescript.happylifeos.com/ws',
|
||||
uploadUrl: 'https://lifescript.happylifeos.com/api/upload',
|
||||
debug: true,
|
||||
mock: false,
|
||||
appTitle: '情绪博物馆 - 开发',
|
||||
|
||||
Reference in New Issue
Block a user