Skip to content

extproc: renames translator interface#425

Merged
mathetake merged 2 commits intomainfrom
translator
Feb 25, 2025
Merged

extproc: renames translator interface#425
mathetake merged 2 commits intomainfrom
translator

Conversation

@mathetake
Copy link
Copy Markdown
Member

Commit Message

After #325, the translator is not where the abstraction over :path is implemented, but it moved to the choice of processor. As a result, the translator interface has become effectively tied to a specific endpoint, notably /v1/chat/completion. This renames the translator.Translator interface accordingly not only to remove the unnecessary code path but also facilitates the implementation of additional features like metrics.

Related Issues/PRs (if applicable)

Follow up on #325 and contribute to #316

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@mathetake mathetake marked this pull request as ready for review February 25, 2025 21:26
@mathetake mathetake requested a review from a team as a code owner February 25, 2025 21:26
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@mathetake
Copy link
Copy Markdown
Member Author

FYI @nacx

@mathetake mathetake merged commit f67969b into main Feb 25, 2025
17 checks passed
@mathetake mathetake deleted the translator branch February 25, 2025 21:55
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.

2 participants