Skip to content

feat(ai): remove assist action and add context fields - #265

Open
innomaxx wants to merge 1 commit into
mainfrom
feature/issue-258_ai-remove-assist-action
Open

feat(ai): remove assist action and add context fields#265
innomaxx wants to merge 1 commit into
mainfrom
feature/issue-258_ai-remove-assist-action

Conversation

@innomaxx

@innomaxx innomaxx commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Closes #258

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

Updates the AI resource type system and tests to match recent Crowdin/Crowdin Enterprise API changes by removing the deprecated assist action and introducing new context/config fields for prompt configuration and prompt-completion requests.

Changes:

  • Removed assist from AIPromptAction and removed the related settings patch path enum value.
  • Updated AI prompt basic-mode typing to support projectContext (and organizationContext) and added new basic-mode config types for alignment and qa_check.
  • Extended prompt-completion context resources to include projectDescription, and updated unit tests accordingly.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
crowdin_api/api_resources/ai/types.py Removes assist-related types, adds alignment/qa_check config types and new context fields for AI prompt configs and completion resources.
crowdin_api/api_resources/ai/tests/test_ai_resources.py Updates test fixtures and request-serialization expectations for new actions and added context fields; removes assist-related test cases.
crowdin_api/api_resources/ai/enums.py Removes ASSIST action + assist settings patch path; adds ALIGNMENT and QA_CHECK actions.

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

Comment on lines 81 to +84
config: Union[
BasicModePreTranslateActionCondfig,
BasicModeAssistActionCondfig,
BasicModeAlignmentActionConfig,
BasicModeQaCheckActionConfig,
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.

Update AI Prompts - remove deprecated assist action and add context fields

2 participants