Skip to content

Conversation

@rickyloynd-microsoft
Copy link
Contributor

An app can pass untyped dicts to set configuration options of various Task-Centric Memory classes. But tools like pyright can complain about the loose typing. This PR exposes 4 TypedDict classes that apps can optionally use.

Related issue number

Checks

@codecov
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.27%. Comparing base (973774b) to head (1612675).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6269   +/-   ##
=======================================
  Coverage   77.27%   77.27%           
=======================================
  Files         200      200           
  Lines       14321    14322    +1     
=======================================
+ Hits        11067    11068    +1     
  Misses       3254     3254           
Flag Coverage Δ
unittests 77.27% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gagb gagb self-requested a review April 10, 2025 22:54
@gagb gagb merged commit 92df415 into main Apr 10, 2025
58 checks passed
@gagb gagb deleted the configs branch April 10, 2025 22:55
peterj added a commit to kagent-dev/autogen that referenced this pull request Apr 11, 2025
* upstream/main: (120 commits)
  Update discover.md with adding email agent package (microsoft#6274)
  Expose TCM TypedDict classes for apps to use (microsoft#6269)
  Fix publish_message-method() notes (microsoft#6250)
  Fix ValueError: Dataclass has a union type error (microsoft#6266)
  [Bugfix] Fix for Issue microsoft#6241 - ChromaDB removed IncludeEnum (microsoft#6260)
  Add note on ModelInfo for Gemini Models (microsoft#6259)
  .NET update autogen 0.2.2 -> autogen 0.2.3 (microsoft#6257)
  [Draft] Enable File Upload/Paste as Task in AGS (microsoft#6091)
  Bugfix/azure ai search embedding (microsoft#6248)
  Expose more Task-Centric Memory parameters (microsoft#6246)
  fix: typo in usage.md (microsoft#6245)
  .NET update oai and aoai package version (microsoft#6239)
  Fix sha256_hash docstring (microsoft#6236)
  Update json_schema_to_pydantic version and make relaxed requirement on arry item. (microsoft#6209)
  Fix terminations conditions. (microsoft#6229)
  Docker Code Exec delete temp files (microsoft#6211)
  clean codes notes for autogen-core. (microsoft#6218)
  Fix/transformer aware any modelfamily (microsoft#6213)
  chore: Add powershell path check for code executor (microsoft#6212)
  added: gemini 2.5 pro preview (microsoft#6226)
  ...

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
abhinav-aegis pushed a commit to abhinav-aegis/autogen that referenced this pull request Apr 12, 2025
<!-- Thank you for your contribution! Please review
https://microsoft.github.io/autogen/docs/Contribute before opening a
pull request. -->

<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->

An app can pass untyped dicts to set configuration options of various
Task-Centric Memory classes. But tools like pyright can complain about
the loose typing. This PR exposes 4 TypedDict classes that apps can
optionally use.

<!-- Please give a short summary of the change and the problem this
solves. -->

## Related issue number

<!-- For example: "Closes microsoft#1234" -->

## 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.
- [x] I've added tests (if relevant) corresponding to the changes
introduced in this PR.
- [ ] I've made sure all auto checks have passed.
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.

3 participants