Skip to content

TEST/change gpt4, gpt4o serise to gpt4.1nano #6375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

SongChiYoung
Copy link
Contributor

Why are these changes needed?

Package Test time-Origin (Sec) Test time-Edited (Sec)
autogen-studio 1.64 1.64
autogen-core 6.03 6.17
autogen-ext 387.15 373.40
autogen-agentchat 54.20 20.67

Related issue number

Related #6361

Checks

@ekzhu
Copy link
Collaborator

ekzhu commented Apr 23, 2025

It takes whopping 370 seconds to test autogen-ext... looks like something we need to fix.

@ekzhu ekzhu enabled auto-merge (squash) April 23, 2025 17:45
@ekzhu ekzhu merged commit a283d26 into microsoft:main Apr 23, 2025
59 checks passed
Copy link

codecov bot commented Apr 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.32%. Comparing base (b6935f9) to head (45d0470).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6375   +/-   ##
=======================================
  Coverage   78.31%   78.32%           
=======================================
  Files         217      217           
  Lines       15684    15684           
=======================================
+ Hits        12283    12284    +1     
+ Misses       3401     3400    -1     
Flag Coverage Δ
unittests 78.32% <ø> (+<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.

@SongChiYoung
Copy link
Contributor Author

@ekzhu

It takes whopping 370 seconds to test autogen-ext... looks like something we need to fix.

Check each tests at autogen-ext

autogen-ext/cache_store : 0.15s
autogen-ext/code_executors : 203.89s
autogen-ext/memory : 12s
autogen-ext/models : 37s
autogen-ext/tools: 14s
autogen_ext/*.py : 146.02s

I could find out slow tests

packages/autogen-ext/tests/code_executors/test_docker_commandline_code_executor.py : 161.66s
packages/autogen-ext/tests/test_openai_assistant_agent.py : 92.66s

I will make Issue with more detaile.

peterj added a commit to kagent-dev/autogen that referenced this pull request Apr 24, 2025
…e0424

* upstream/main:
  Remove `name` field from OpenAI Assistant Message (microsoft#6388)
  Introduce workbench (microsoft#6340)
  TEST/change gpt4, gpt4o serise to gpt4.1nano (microsoft#6375)
  update website version (microsoft#6364)
  Add self-debugging loop to `CodeExecutionAgent` (microsoft#6306)
  Fix: deserialize model_context in AssistantAgent and SocietyOfMindAgent and CodeExecutorAgent (microsoft#6337)
  Add azure ai agent (microsoft#6191)
  Avoid re-registering a message type already registered (microsoft#6354)
  Added support for exposing GPUs to docker code executor (microsoft#6339)
  fix: ollama fails when tools use optional args (microsoft#6343)
  Add an example using autogen-core and FastAPI to create streaming responses (microsoft#6335)
  FEAT: SelectorGroupChat could using stream inner select_prompt (microsoft#6286)
  Add experimental notice to canvas (microsoft#6349)
  DOC: add extentions - autogen-oaiapi and autogen-contextplus (microsoft#6338)
  fix: ensure serialized messages are passed to LLMStreamStartEvent (microsoft#6344)
  Generalize Continuous SystemMessage merging via model_info[“multiple_system_messages”] instead of `startswith("gemini-")` (microsoft#6345)
  Agentchat canvas (microsoft#6215)

Signed-off-by: Peter Jausovec <[email protected]>
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.

2 participants