feat:add CLI param-override templates with visual editor and apply on first rule match
This commit is contained in:
@@ -36,6 +36,10 @@ import {
|
||||
} from '@douyinfe/semi-ui';
|
||||
import { IconDelete, IconPlus } from '@douyinfe/semi-icons';
|
||||
import { copy, showError, showSuccess, verifyJSON } from '../../../../helpers';
|
||||
import {
|
||||
CLAUDE_CLI_HEADER_PASSTHROUGH_TEMPLATE,
|
||||
CODEX_CLI_HEADER_PASSTHROUGH_TEMPLATE,
|
||||
} from '../../../../constants/channel-affinity-template.constants';
|
||||
|
||||
const { Text } = Typography;
|
||||
|
||||
@@ -329,6 +333,18 @@ const TEMPLATE_PRESET_CONFIG = {
|
||||
kind: 'operations',
|
||||
payload: GEMINI_IMAGE_4K_TEMPLATE,
|
||||
},
|
||||
claude_cli_headers_passthrough: {
|
||||
group: 'scenario',
|
||||
label: 'Claude CLI 请求头透传',
|
||||
kind: 'operations',
|
||||
payload: CLAUDE_CLI_HEADER_PASSTHROUGH_TEMPLATE,
|
||||
},
|
||||
codex_cli_headers_passthrough: {
|
||||
group: 'scenario',
|
||||
label: 'Codex CLI 请求头透传',
|
||||
kind: 'operations',
|
||||
payload: CODEX_CLI_HEADER_PASSTHROUGH_TEMPLATE,
|
||||
},
|
||||
};
|
||||
|
||||
const FIELD_GUIDE_TARGET_OPTIONS = [
|
||||
|
||||
Reference in New Issue
Block a user