Skip to content

Conversation

@caijialin0626
Copy link
Collaborator

What type of PR is this?

feat

Check the PR title.

  • This PR title matches the format: [feat][prompt]: prompt integration.
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Add documentation if the current PR requires user awareness at the usage level.
  • This PR is written in English. PRs not in English will not be reviewed.

(Optional) Translate the PR title into Chinese.

[功能][prompt]:Prompt 一体化

(Optional) More detailed description for this PR (en: English / zh: Chinese).

en:

  • prompt integration

zh (optional):

  • prompt 一体化

(Optional) Which issue(s) this PR fixes:

None.

@codecov
Copy link

codecov bot commented Oct 24, 2025

Codecov Report

❌ Patch coverage is 87.57062% with 44 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/modules/prompt/infra/rpc/convertor/chat.go 71.60% 15 Missing and 8 partials ⚠️
backend/modules/prompt/domain/service/manage.go 76.38% 9 Missing and 8 partials ⚠️
...i/handler/coze/loop/apis/prompt_open_apiservice.go 0.00% 2 Missing ⚠️
...d/modules/foundation/domain/file/service/server.go 93.10% 1 Missing and 1 partial ⚠️

❌ Your patch check has failed because the patch coverage (78.75%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Impacted file tree graph

@@            Coverage Diff            @@
##           main     #255       +/-   ##
=========================================
+ Coverage      0   67.88%   +67.88%     
=========================================
  Files         0      566      +566     
  Lines         0    49996    +49996     
=========================================
+ Hits          0    33938    +33938     
- Misses        0    13403    +13403     
- Partials      0     2655     +2655     
Flag Coverage Δ
unittests 67.88% <87.57%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
backend/modules/foundation/application/file.go 28.57% <100.00%> (ø)
...nd/modules/prompt/application/convertor/openapi.go 91.58% <100.00%> (ø)
...end/modules/prompt/application/convertor/prompt.go 81.01% <100.00%> (ø)
backend/modules/prompt/application/debug.go 64.90% <100.00%> (ø)
backend/modules/prompt/application/execute.go 84.67% <100.00%> (ø)
backend/modules/prompt/application/openapi.go 91.97% <100.00%> (ø)
...kend/modules/prompt/domain/entity/prompt_detail.go 86.25% <100.00%> (ø)
backend/modules/prompt/domain/service/service.go 0.00% <ø> (ø)
backend/modules/prompt/infra/rpc/file.go 100.00% <100.00%> (ø)
backend/modules/prompt/pkg/template/go_template.go 100.00% <100.00%> (ø)
... and 4 more

... and 552 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 15c2bc9...1b55477. 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.

caijialin0626 and others added 6 commits October 28, 2025 15:31
* feat: [Coda] add prompt metadata pipelines

Change-Id: I142040fd89ef89429df790dc6e4dfc5d04e53609

* sql

Change-Id: I44b779e1c2a749217cec05dfbc609ae74474a217

* sql

Change-Id: Ie46a446e3eca59cee9c3170d85b751c7c2aa630b
Change-Id: I59dd9b1517ded4a40e3fb3efcae608164adf9678
Change-Id: I75a355cb6ec1700a54108f7e16a4717563cb7046
* git ignore

Change-Id: I59dd9b1517ded4a40e3fb3efcae608164adf9678

* [feat][foundation] add upload file for server function

* [feat][prompt] add receive base64 images from llm feature

* [feat][prompt] add receive base64 images from llm feature ut

* [feat][prompt] add receive base64 images from llm feature ut

* [feat][prompt] add receive base64 images from llm feature ut

* [feat][prompt] add receive base64 images from llm feature ut

* [feat][prompt] add send video to llm function

* [feat][prompt] add send video to llm function ut

* [feat][prompt] add send video to llm function ut

* [feat][prompt] convert base64 to dataurl

* [feat][prompt] FileRPCAdapter ut

---------

Co-authored-by: zhongzhiwei <zhongzhiwei@bytedance.com>
* [feat][prompt] prompt support go template

* [feat][prompt] prompt support go template

* [feat][prompt] prompt support go template ut

* [feat][prompt] prompt support go template ut
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