Refactor context transfer to knowledge transfer terminology (the code this time) #585
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive renaming and refactoring effort to replace the term "Context Transfer" with "Knowledge Transfer" across the codebase for better alignment with the assistant's functionality. The changes include updates to identifiers, file names, configuration models, and logic handling.
Terminology Update: "Context Transfer" → "Knowledge Transfer"
CONTEXT_TRANSFER_TEMPLATE_ID
toKNOWLEDGE_TRANSFER_TEMPLATE_ID
and updated its usage inassistants/project-assistant/assistant/chat.py
and related files. [1] [2] [3]is_context_transfer_assistant
withis_knowledge_transfer_assistant
for determining assistant roles in multiple files, includingchat.py
andstate_inspector.py
. [1] [2]Configuration and Model Changes
ContextTransferConfigModel
toKnowledgeTransferConfigModel
and updated all references, including imports and usage inconfig.py
andconfigs/__init__.py
. [1] [2]context_transfer.py
toknowledge_transfer.py
and renamed related classes (ContextTransferPromptConfig
,ContextTransferCoordinatorConfig
,ContextTransferTeamConfig
) to reflect the new terminology. [1] [2] [3]Prompt and Template Adjustments
PromptConfig
to use more descriptive names likecoordinator_role
andteam_role
instead of generic terms likeinstruction_prompt
.context_transfer_whiteboard_prompt.txt
→knowledge_transfer_whiteboard_prompt.txt
. [1] [2]Enum and Role Logic Updates
CONTEXT_TRANSFER_ASSISTANT
toKNOWLEDGE_TRANSFER_ASSISTANT
in theConfigurationTemplate
enum and updated logic inget_template
and related methods. [1] [2]State Inspector and Markdown Updates
state_inspector.py
to reflect the new terminology, including updates to display names and descriptions for knowledge transfer mode. [1] [2]These changes ensure consistency across the codebase while improving clarity and alignment with the assistant's purpose.…ment new configurations for knowledge sharing assistant