Skip to content

fix: remove duplicated words in log message and security warning#7753

Open
aryanmotgi wants to merge 1 commit into
microsoft:mainfrom
aryanmotgi:fix/duplicate-words-in-source
Open

fix: remove duplicated words in log message and security warning#7753
aryanmotgi wants to merge 1 commit into
microsoft:mainfrom
aryanmotgi:fix/duplicate-words-in-source

Conversation

@aryanmotgi
Copy link
Copy Markdown

Summary

Two small typos in Python source where a word is duplicated:

  1. python/packages/autogen-core/src/autogen_core/_single_threaded_agent_runtime.py:749

    • Before: "Exception raised in in intervention handler: {e}"
    • After: "Exception raised in intervention handler: {e}"
  2. python/packages/autogen-core/src/autogen_core/tools/_function_tool.py:147

    • Before: "...import the provided global imports and and function code.\n"
    • After: "...import the provided global imports and function code.\n"

Both are user-visible strings (one is an error log, the other a UserWarning shown when loading a FunctionTool from config), so the duplicated words are surfaced to end users.

Notes

@aryanmotgi
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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.

1 participant