Skip to content

Conversation

@mathetake
Copy link
Member

@mathetake mathetake commented Nov 7, 2025

Description
The translators shouldn't have to be tied with ext_proc APIs since it's none of their concerns. This commit decouples the translator package from them so that we can easily use them in dynamic modules too.

Related Issues/PRs (if applicable)

Preparation for #90

@mathetake
Copy link
Member Author

won't merge until v0.4

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

# Conflicts:
#	internal/extproc/translator/openai_gcpvertexai_test.go
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Nov 8, 2025

Codecov Report

❌ Patch coverage is 94.97487% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.78%. Comparing base (ad5f75e) to head (026c312).

Files with missing lines Patch % Lines
...ernal/extproc/translator/anthropic_awsanthropic.go 33.33% 6 Missing ⚠️
internal/extproc/translator/openai_awsbedrock.go 95.65% 0 Missing and 1 partial ⚠️
internal/extproc/translator/openai_azureopenai.go 50.00% 1 Missing ⚠️
internal/extproc/translator/openai_gcpanthropic.go 91.66% 1 Missing ⚠️
internal/extproc/translator/openai_openai.go 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1507      +/-   ##
==========================================
- Coverage   83.92%   83.78%   -0.15%     
==========================================
  Files         144      143       -1     
  Lines       12668    12537     -131     
==========================================
- Hits        10632    10504     -128     
+ Misses       1421     1417       -4     
- Partials      615      616       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
# Conflicts:
#	internal/extproc/translator/imagegeneration_openai_openai_test.go
#	internal/extproc/translator/openai_gcpvertexai.go
@mathetake mathetake marked this pull request as ready for review November 12, 2025 13:46
@mathetake mathetake requested a review from a team as a code owner November 12, 2025 13:46
@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Nov 12, 2025
@mathetake
Copy link
Member Author

Sorry bad merge

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

Labels

size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants