Some checks failed
ClawSweeper Dispatch / dispatch (push) Has been cancelled
CodeQL / Security High (actions) (push) Has been cancelled
CodeQL / Security High (channel-runtime-boundary) (push) Has been cancelled
CodeQL / Security High (core-auth-secrets) (push) Has been cancelled
CodeQL / Security High (mcp-process-tool-boundary) (push) Has been cancelled
CodeQL / Security High (network-ssrf-boundary) (push) Has been cancelled
CodeQL / Security High (plugin-trust-boundary) (push) Has been cancelled
CodeQL / Security High (process-exec-boundary) (push) Has been cancelled
Docs Sync Publish Repo / sync-publish-repo (push) Has been cancelled
Docs / docs (push) Has been cancelled
OpenClaw Stable Main Closeout / Resolve stable release closeout inputs (push) Has been cancelled
OpenClaw Stable Main Closeout / Verify stable main closeout (push) Has been cancelled
Workflow Sanity / no-tabs (push) Has been cancelled
Workflow Sanity / actionlint (push) Has been cancelled
Workflow Sanity / generated-doc-baselines (push) Has been cancelled
CI / runner-admission (push) Has been cancelled
CI / preflight (push) Has been cancelled
CI / security-fast (push) Has been cancelled
CI / pnpm-store-warmup (push) Has been cancelled
CI / build-artifacts (push) Has been cancelled
CI / native-i18n (push) Has been cancelled
CI / ${{ matrix.check_name }} (push) Has been cancelled
CI / ${{ matrix.checkName }} (push) Has been cancelled
CI / checks-node-compat-node22 (push) Has been cancelled
CI / check-bundled-channel-config-metadata (push) Has been cancelled
CI / check-dependencies (push) Has been cancelled
CI / check-guards (push) Has been cancelled
CI / check-lint (push) Has been cancelled
CI / check-prod-types (push) Has been cancelled
CI / check-shrinkwrap (push) Has been cancelled
CI / check-test-types (push) Has been cancelled
CI / check-additional-boundaries-a (push) Has been cancelled
CI / check-additional-boundaries-bcd (push) Has been cancelled
CI / check-additional-extension-bundled (push) Has been cancelled
CI / check-additional-extension-channels (push) Has been cancelled
CI / check-additional-extension-package-boundary (push) Has been cancelled
CI / check-additional-runtime-topology-architecture (push) Has been cancelled
CI / check-session-accessor-boundary (push) Has been cancelled
CI / check-session-transcript-reader-boundary (push) Has been cancelled
CI / check-docs (push) Has been cancelled
CI / skills-python (push) Has been cancelled
CI / macos-swift (push) Has been cancelled
CI / ios-build (push) Has been cancelled
CI / ci-timings-summary (push) Has been cancelled
Native App Locale Refresh / Refresh native fa (push) Has been cancelled
Native App Locale Refresh / Refresh native fr (push) Has been cancelled
Native App Locale Refresh / Refresh native hi (push) Has been cancelled
Native App Locale Refresh / Refresh native id (push) Has been cancelled
Native App Locale Refresh / Refresh native it (push) Has been cancelled
Native App Locale Refresh / Refresh native ja-JP (push) Has been cancelled
Control UI Locale Refresh / plan (push) Has been cancelled
Control UI Locale Refresh / Refresh ${{ matrix.locale }} (push) Has been cancelled
Control UI Locale Refresh / Commit control UI locale refresh (push) Has been cancelled
Live Media Runner Image / Build live media runner image (push) Has been cancelled
Native App Locale Refresh / Refresh native ar (push) Has been cancelled
Native App Locale Refresh / Refresh native de (push) Has been cancelled
Native App Locale Refresh / Refresh native es (push) Has been cancelled
Native App Locale Refresh / Refresh native ko (push) Has been cancelled
Native App Locale Refresh / Refresh native nl (push) Has been cancelled
Native App Locale Refresh / Refresh native pl (push) Has been cancelled
Native App Locale Refresh / Refresh native pt-BR (push) Has been cancelled
Native App Locale Refresh / Refresh native ru (push) Has been cancelled
Native App Locale Refresh / Refresh native sv (push) Has been cancelled
Native App Locale Refresh / Refresh native th (push) Has been cancelled
Native App Locale Refresh / Refresh native tr (push) Has been cancelled
Native App Locale Refresh / Refresh native uk (push) Has been cancelled
Native App Locale Refresh / Refresh native vi (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-CN (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-TW (push) Has been cancelled
Native App Locale Refresh / Commit native locale refresh (push) Has been cancelled
Plugin Init Scaffold Validation / Validate provider scaffold (push) Has been cancelled
Plugin NPM Release / preview_plugins_npm (push) Has been cancelled
Plugin NPM Release / Validate release publish approval (push) Has been cancelled
Plugin NPM Release / preview_plugin_pack (push) Has been cancelled
Plugin NPM Release / publish_plugins_npm (push) Has been cancelled
Sandbox Common Smoke / sandbox-common-smoke (push) Has been cancelled
Website Installer Sync / static (push) Has been cancelled
Website Installer Sync / linux-docker (push) Has been cancelled
Website Installer Sync / macos-installer (push) Has been cancelled
Website Installer Sync / windows-installer (push) Has been cancelled
Website Installer Sync / sync-website (push) Has been cancelled
Adolf is a fork/vendored clone of github.com/openclaw/openclaw (v2026.6.11), free to diverge. Tree copied sans upstream .git; upstream remote added for future syncs. Node pinned to 24 (.nvmrc); engines already require >=22.19. Preserves docs/ARCHITECTURE.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2
144 lines
6.3 KiB
YAML
144 lines
6.3 KiB
YAML
title: OpenAI native web search live
|
|
|
|
scenario:
|
|
id: openai-native-web-search-live
|
|
surface: model-provider
|
|
coverage:
|
|
primary:
|
|
- tools.web-search
|
|
secondary:
|
|
- models.openai
|
|
objective: Verify a live OpenAI GPT model can use OpenAI native web_search when OpenClaw web search is enabled in auto mode.
|
|
successCriteria:
|
|
- A live-frontier run fails fast unless the selected primary provider is openai.
|
|
- The selected primary model is GPT-5.5, not a mini or pro variant.
|
|
- Web search is enabled without pinning a managed web_search provider.
|
|
- The live reply includes the required marker plus an official OpenAI News URL and headline found through web search.
|
|
gatewayConfigPatch:
|
|
tools:
|
|
web:
|
|
search:
|
|
enabled: true
|
|
provider: null
|
|
docsRefs:
|
|
- docs/tools/web.md
|
|
- docs/help/testing.md
|
|
- docs/concepts/qa-e2e-automation.md
|
|
codeRefs:
|
|
- extensions/openai/native-web-search.ts
|
|
- extensions/openai/shared.ts
|
|
- extensions/openai/openai-provider.ts
|
|
- extensions/qa-lab/src/suite.ts
|
|
execution:
|
|
kind: flow
|
|
summary: Run with `OPENCLAW_LIVE_OPENAI_KEY="${OPENAI_API_KEY}" pnpm openclaw qa suite --provider-mode live-frontier --model openai/gpt-5.5 --alt-model openai/gpt-5.5 --fast --thinking medium --scenario openai-native-web-search-live`.
|
|
config:
|
|
requiredProvider: openai
|
|
requiredModel: gpt-5.5
|
|
expectedMarker: WEB-SEARCH-OK
|
|
failureMarker: WEB-SEARCH-FAILED
|
|
searchPrompt: |-
|
|
Web search QA: use web search now for `site:openai.com/news OpenAI latest news`.
|
|
Reply in exactly three lines:
|
|
WEB-SEARCH-OK
|
|
URL: <official openai.com/news URL from the search results>
|
|
HEADLINE: <article or page headline from the search results>
|
|
Do not answer from memory. If web search is unavailable, reply exactly WEB-SEARCH-FAILED.
|
|
|
|
flow:
|
|
steps:
|
|
- name: confirms live OpenAI GPT-5.5 web search auto mode
|
|
actions:
|
|
- call: waitForGatewayHealthy
|
|
args:
|
|
- ref: env
|
|
- 60000
|
|
- call: waitForQaChannelReady
|
|
args:
|
|
- ref: env
|
|
- 60000
|
|
- set: selected
|
|
value:
|
|
expr: splitModelRef(env.primaryModel)
|
|
- assert:
|
|
expr: "env.providerMode !== 'live-frontier' || selected?.provider === config.requiredProvider"
|
|
message:
|
|
expr: "`expected live primary provider ${config.requiredProvider}, got ${env.primaryModel}`"
|
|
- assert:
|
|
expr: "env.providerMode !== 'live-frontier' || selected?.model === config.requiredModel"
|
|
message:
|
|
expr: "`expected live primary model ${config.requiredModel}, got ${env.primaryModel}`"
|
|
- call: readConfigSnapshot
|
|
saveAs: snapshot
|
|
args:
|
|
- ref: env
|
|
- set: searchConfig
|
|
value:
|
|
expr: "snapshot.config.tools?.web?.search ?? {}"
|
|
- assert:
|
|
expr: "searchConfig.enabled !== false"
|
|
message:
|
|
expr: "`expected web search enabled, got ${JSON.stringify(searchConfig)}`"
|
|
- assert:
|
|
expr: "typeof searchConfig.provider !== 'string' || ['auto', 'openai', ''].includes(searchConfig.provider.trim().toLowerCase())"
|
|
message:
|
|
expr: "`expected web search provider auto/openai/unset for native OpenAI search, got ${JSON.stringify(searchConfig)}`"
|
|
- assert:
|
|
expr: "env.providerMode !== 'live-frontier' || Boolean(env.gateway.runtimeEnv.OPENAI_API_KEY?.trim() || env.gateway.runtimeEnv.OPENCLAW_LIVE_OPENAI_KEY?.trim())"
|
|
message: expected OPENAI_API_KEY or OPENCLAW_LIVE_OPENAI_KEY for live OpenAI QA
|
|
detailsExpr: "env.providerMode === 'live-frontier' ? `provider=${selected?.provider} model=${selected?.model} webSearch=${JSON.stringify(searchConfig)}` : `mock-compatible provider=${selected?.provider}`"
|
|
- name: searches official OpenAI News through the live model
|
|
actions:
|
|
- if:
|
|
expr: "env.providerMode !== 'live-frontier'"
|
|
then:
|
|
- assert: "true"
|
|
else:
|
|
- call: reset
|
|
- set: selected
|
|
value:
|
|
expr: splitModelRef(env.primaryModel)
|
|
- call: runAgentPrompt
|
|
args:
|
|
- ref: env
|
|
- sessionKey: agent:qa:openai-native-web-search
|
|
message:
|
|
expr: config.searchPrompt
|
|
provider:
|
|
expr: selected?.provider
|
|
model:
|
|
expr: selected?.model
|
|
timeoutMs:
|
|
expr: resolveQaLiveTurnTimeoutMs(env, 180000, env.primaryModel)
|
|
- call: waitForOutboundMessage
|
|
saveAs: searchOutbound
|
|
args:
|
|
- ref: state
|
|
- lambda:
|
|
params: [candidate]
|
|
expr: "candidate.conversation.id === 'qa-operator'"
|
|
- expr: resolveQaLiveTurnTimeoutMs(env, 60000, env.primaryModel)
|
|
- set: searchText
|
|
value:
|
|
expr: searchOutbound.text
|
|
- set: searchTextLower
|
|
value:
|
|
expr: normalizeLowercaseStringOrEmpty(searchText)
|
|
- assert:
|
|
expr: "searchText.includes(config.expectedMarker)"
|
|
message:
|
|
expr: "`missing ${config.expectedMarker}: ${searchText}`"
|
|
- assert:
|
|
expr: "!searchText.includes(config.failureMarker) && !/(web search is unavailable|unable to search|cannot search|can't search)/i.test(searchText)"
|
|
message:
|
|
expr: "`search looked unavailable: ${searchText}`"
|
|
- assert:
|
|
expr: "/URL:\\s*https?:\\/\\/[^\\s]*openai\\.com\\/news/i.test(searchText)"
|
|
message:
|
|
expr: "`missing official OpenAI News URL: ${searchText}`"
|
|
- assert:
|
|
expr: "/HEADLINE:\\s*\\S.{8,}/i.test(searchText)"
|
|
message:
|
|
expr: "`missing searched headline: ${searchText}`"
|
|
detailsExpr: "env.providerMode !== 'live-frontier' ? 'mock mode: skipped live OpenAI web search probe' : searchText"
|