Skip to content

[feat][prompt] add prompt_key for GetPromptOApi#501

Merged
lizwang11 merged 2 commits intomainfrom
feat/pe_openapi
Apr 21, 2026
Merged

[feat][prompt] add prompt_key for GetPromptOApi#501
lizwang11 merged 2 commits intomainfrom
feat/pe_openapi

Conversation

@lizwang11
Copy link
Copy Markdown
Collaborator

GetPromptOApi : Add prompt_key query parameter to GetPromptOApiRequest . When prompt_id is 0 and prompt_key is provided, resolve prompt_id by calling GetPromptMetaByKey RPC before proceeding with the original flow. The gray check ( isPromptV2Gray ) is evaluated first.

@lizwang11 lizwang11 merged commit 9745b7f into main Apr 21, 2026
12 checks passed
@lizwang11 lizwang11 deleted the feat/pe_openapi branch April 21, 2026 06:24
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #501      +/-   ##
==========================================
+ Coverage   76.99%   77.06%   +0.06%     
==========================================
  Files         647      649       +2     
  Lines       71513    72033     +520     
==========================================
+ Hits        55063    55511     +448     
- Misses      13142    13201      +59     
- Partials     3308     3321      +13     
Flag Coverage Δ
unittests 77.06% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 23 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94d84b1...5160db9. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants