mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:00:42 +00:00
refactor: remove stale provider helpers
This commit is contained in:
@@ -1,18 +1,11 @@
|
||||
import {
|
||||
GPT5_BEHAVIOR_CONTRACT,
|
||||
GPT5_FRIENDLY_PROMPT_OVERLAY,
|
||||
isGpt5ModelId,
|
||||
renderGpt5PromptOverlay,
|
||||
resolveGpt5SystemPromptContribution,
|
||||
} from "openclaw/plugin-sdk/provider-model-shared";
|
||||
|
||||
export const CODEX_FRIENDLY_PROMPT_OVERLAY = GPT5_FRIENDLY_PROMPT_OVERLAY;
|
||||
export const CODEX_GPT5_BEHAVIOR_CONTRACT = GPT5_BEHAVIOR_CONTRACT;
|
||||
|
||||
export function shouldApplyCodexPromptOverlay(params: { modelId?: string }): boolean {
|
||||
return isGpt5ModelId(params.modelId);
|
||||
}
|
||||
|
||||
export function resolveCodexSystemPromptContribution(
|
||||
params: Parameters<typeof resolveGpt5SystemPromptContribution>[0],
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user