Skip to content

feat(ai): add support for styleGuideIds in AI Translation methods - #262

Merged
andrii-bodnar merged 1 commit into
mainfrom
feature/issue-254_ai-styleGuideIds
Aug 3, 2026
Merged

feat(ai): add support for styleGuideIds in AI Translation methods#262
andrii-bodnar merged 1 commit into
mainfrom
feature/issue-254_ai-styleGuideIds

Conversation

@innomaxx

@innomaxx innomaxx commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Closes #254

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Python Crowdin API client to expose the styleGuideIds request field for AI File Translation, aligning the SDK surface with the Crowdin/Crowdin Enterprise API request schema and enabling consumers to pass Style Guide IDs as AI translation context.

Changes:

  • Added styleGuideIds to AiFileTranslationRequest typing.
  • Extended AI File Translation request serialization tests to cover styleGuideIds (Crowdin + Enterprise variants).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
crowdin_api/api_resources/ai/types.py Adds styleGuideIds to the AI file translation request type so SDK users can supply style guide IDs.
crowdin_api/api_resources/ai/tests/test_ai_resources.py Adds assertions that styleGuideIds is passed through in AI file translation request payloads for both Crowdin and Enterprise resources.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@andrii-bodnar
andrii-bodnar merged commit 4e5c39c into main Aug 3, 2026
7 checks passed
@andrii-bodnar
andrii-bodnar deleted the feature/issue-254_ai-styleGuideIds branch August 3, 2026 07:20
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.

Add support for styleGuideIds in AI Translation methods

3 participants