-
Notifications
You must be signed in to change notification settings - Fork 8k
Comparing changes
Open a pull request
base repository: microsoft/autogen
base: main
head repository: microsoft/autogen
compare: python-v0.4.9.3
- 12 commits
- 21 files changed
- 7 contributors
Commits on Mar 14, 2025
-
bugfix: Workaround for pydantic/#7713 (#5893)
Use of `SKChatCompletionAdapter` reliably fails with "'MockValSer' object cannot be converted to 'SchemaSerializer'"; can repro with this example: https://microsoft.github.io/autogen/stable/user-guide/core-user-guide/components/model-clients.html#semantic-kernel-adapter This appears to be related to pydantic/pydantic#7713 - commit uses workaround from pydantic/pydantic#7713 (comment) ## Why are these changes needed? This unblocks use of the Semantic Kernel integration by addressing the above-referenced error, enabling the integration to perform as expected. ## Related issue number N/A, see pydantic/pydantic#7713 for context, though. ## Checks - [X] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - None needed, internal only change. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - None added; this works on my machine, but I'm not clear on the root cause of the issue and have no strong opinion on whether this is the ideal way to fix it long term - simply leaning towards PR`ing a tenative fix instead of raising an issue. - [ ] I've made sure all auto checks have passed. - I am not familiar with these, but assume they will be run during CI. --------- Co-authored-by: Leonardo Pinheiro <[email protected]> Co-authored-by: Eric Zhu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8a0b98 - Browse repository at this point
Copy the full SHA e8a0b98View commit details -
Fix logging error with ollama client (#5917)
Resolves #5910 Co-authored-by: peterychang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 997ad60 - Browse repository at this point
Copy the full SHA 997ad60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 904cb0f - Browse repository at this point
Copy the full SHA 904cb0fView commit details -
Fixes an error that can occur when listing the contents of a director…
…y. (#5938) Fixes issues like the following trace: ``` packages/autogen_ext/agents/file_surfer/_markdown_file_browser.py", line 39, in __init__ self.set_path(self._base_path) File "/home/hmozannar/webby/.venv/lib/python3.12/site-packages/autogen_ext/agents/file_surfer/_markdown_file_browser.py", line 67, in set_path self._open_path(path) File "/home/hmozannar/webby/.venv/lib/python3.12/site-packages/autogen_ext/agents/file_surfer/_markdown_file_browser.py", line 210, in _open_path io.StringIO(self._fetch_local_dir(path)), file_extension=".txt" ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hmozannar/webby/.venv/lib/python3.12/site-packages/autogen_ext/agents/file_surfer/_markdown_file_browser.py", line 248, in _fetch_local_dir mtime = datetime.datetime.fromtimestamp(os.path.getmtime(full_path)).strftime("%Y-%m-%d %H:%M") ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen genericpath>", line 67, in getmtime PermissionError: [Errno 13] Permission denied: '/home/hmozannar/webby/autogen-studio/frontend/readme.txt' ```
Configuration menu - View commit details
-
Copy full SHA for 48c02de - Browse repository at this point
Copy the full SHA 48c02deView commit details -
Use SecretStr type for api key (#5939)
To prevent accidental export of API keys
Configuration menu - View commit details
-
Copy full SHA for 615882c - Browse repository at this point
Copy the full SHA 615882cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27fd76d - Browse repository at this point
Copy the full SHA 27fd76dView commit details -
Ensure SecretStr is cast to str on load for model clients (#5947)
Currently we have SecretStr type for model clients to promote security best practices. - when we dump_component, keys are serialized as SecreteStr .. - when we load_component ... SecreteStr type is passed to the client in the api_key field. This i causes the type problems as the clients expect a string type. This PR updates the from_config method for model clients to ensure we get the value from SecretStr. Closes #5944
Configuration menu - View commit details
-
Copy full SHA for a881cf1 - Browse repository at this point
Copy the full SHA a881cf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ed067a - Browse repository at this point
Copy the full SHA 7ed067aView commit details -
Upgrade llama cpp to 0.3.8 to fix windows related error (#5948)
use the latest version of llama-cpp-python to ensure `uv sync --all-extras` don't fail on windows. reference: #5942 (comment)
Configuration menu - View commit details
-
Copy full SHA for 4a1660f - Browse repository at this point
Copy the full SHA 4a1660fView commit details
Commits on Mar 29, 2025
-
add read timeout for create_mcp_server_session (#6080)
Closes #6031 --------- Co-authored-by: Eric Zhu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e97f84c - Browse repository at this point
Copy the full SHA e97f84cView commit details -
Fix MCP tool bug by dropping unset parameters from input (#6125)
Resolves #6096 Additionally: make sure MCP errors are formatted correctly, added unit tests for mcp servers and upgrade mcp version.
Configuration menu - View commit details
-
Copy full SHA for 307c6be - Browse repository at this point
Copy the full SHA 307c6beView commit details -
Configuration menu - View commit details
-
Copy full SHA for e45a157 - Browse repository at this point
Copy the full SHA e45a157View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...python-v0.4.9.3