Skip to content

Python: docs: remove duplicated words in comments, samples, and ADRs - #14758

Open
NingLin Liu (ninglinLiu) wants to merge 1 commit into
microsoft:mainfrom
ninglinLiu:docs/fix-duplicated-words
Open

NingLin Liu (ninglinLiu) wants to merge 1 commit into
microsoft:mainfrom
ninglinLiu:docs/fix-duplicated-words

Conversation

@ninglinLiu

Copy link
Copy Markdown

Remove duplicated words such as the the and of of in Python/C# comments, sample docs, and a few architecture decision records.

Copilot AI balanced review requested due to automatic review settings November 9, 2026 00:42
@semantic-kernel-automation semantic-kernel-automation Bot added .NET Issue or Pull requests regarding .NET code python Pull requests for the Python Semantic Kernel kernel Issues or pull requests impacting the core kernel documentation labels Nov 9, 2026
@github-actions github-actions Bot changed the title docs: remove duplicated words in comments, samples, and ADRs .Net: docs: remove duplicated words in comments, samples, and ADRs Nov 9, 2026
@github-actions github-actions Bot changed the title .Net: docs: remove duplicated words in comments, samples, and ADRs Python: docs: remove duplicated words in comments, samples, and ADRs Nov 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Missing regression tests for early-closing synchronous and asynchronous streams leave the underlying generators’ cleanup, including awaited async cleanup, unverified.

No open issues 🎉

What changed in this PR

This PR removes duplicated words across Semantic Kernel comments, sample documentation, and architecture decision records. It also introduces a Python stream-cleanup behavior change beyond the stated documentation scope.

Changes:

  • Correct repeated words in Python docstrings, C# test comments, READMEs, and decision records.
  • Correct wording in an agent-selection sample prompt.
  • Explicitly close underlying synchronous and asynchronous generators when exiting stream iteration.
File Description
python/​semantic_kernel/​functions/​kernel_function.py Corrects docstrings and adds explicit generator cleanup.
python/​semantic_kernel/​core_plugins/​sessions_python_tool/​README.md Removes repeated wording in token configuration instructions.
python/​samples/​getting_started_with_processes/​README.md Removes repeated words in process descriptions.
python/​samples/​getting_started_with_agents/​chat_completion/​step07_kernel_function_strategies.py Corrects wording in the selection prompt.
python/​samples/​demos/​telemetry/​README.md Corrects dashboard instructions.
dotnet/​src/​SemanticKernel.UnitTests/​TemplateEngine/​Blocks/​CodeBlockTests.cs Removes repeated words in assertion comments only.
dotnet/​src/​SemanticKernel.UnitTests/​Functions/​FunctionResultTests.cs Corrects an assertion comment only.
docs/​decisions/​0072-agents-with-memory.md Corrects service-state wording.
docs/​decisions/​0054-processes.md Corrects runtime-description wording.
docs/​decisions/​0048-agent-chat-serialization.md Removes repeated words in restoration descriptions.
docs/​decisions/​0041-function-call-content.md Corrects wording about a proposed exception property.
docs/​decisions/​0035-skfunction-type-descriptions.md Removes repeated words in schema descriptions.
docs/​decisions/​0021-json-serializable-custom-types.md Corrects serialization-description wording.

Review effort: Balanced

This branch was successfully deployed

1 active deployment
github-app-auth — 55832b06 Deployed Nov 9, 2026 by ninglinLiu via add_label #29635
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code python Pull requests for the Python Semantic Kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants