519 Commits

Author SHA1 Message Date
Jack Gerrits
7e7265ddd0
Update version for dev10 (#4630)
* Update version for dev10

* fix notebook
2024-12-09 19:33:21 -08:00
Leonardo Pinheiro
253fe216fd
Add models.openai and tools.langchain namespaces (#4601)
* add models.openai namespace

* refactor tools namespace

* update lock file

* revert pyproject changes

* update docs and add cast

* update ext models doc ref

* increase underline

* add reply models namespace

* update imports

* fix test

* linting

* fix missing conflicts

* revert pydantic changes

* rename to replay

* replay

* fix reply

* Fix test

* formatting

* example

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-09 19:18:09 -08:00
Gerardo Moreno
3e5e12bff0
Improve message error when docker isn't running (#3816) (#4600)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-09 19:09:54 -08:00
Hussein Mozannar
871a83fcc5
Fix AssistantAgent Tool Call Behavior (#4602)
* 1 tool call iteration default

* handoff first

* return_only_response

* add and remove tools

* print out tool calls

* pass checks

* fix issues

* add test

* add unit tests

* remove extra print

* Update python/packages/autogen-agentchat/src/autogen_agentchat/agents/_assistant_agent.py

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* documentation and none max_tools_calls

* Always limit # tool call to 1

* Update notebooks for the changing behavior of assistant agent.

* Merge branch 'main' into assistant_Agent_tools

* add reflect_on_tool_use parameter to format the tool call result

* wip

* wip

* fix pyright

* Add unit tests

* Merge remote-tracking branch 'origin/main' into assistant_Agent_tools

* Update with custom formatting of tool call summary

* format

* Merge branch 'main' into assistant_Agent_tools
2024-12-09 19:03:31 -08:00
gagb
f5140badbd
Improve language of user guide (#4577)
* Improve language of agents section

* Accomodate victor's feedback

* Templ changes

* Change outline

* Fix outline further

* Flatten the outline

* remove

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-09 18:56:22 -08:00
Jack Gerrits
218e84fd8e
Migrate remaining components (#4626) 2024-12-09 18:39:07 -08:00
peterychang
51d4a10774
Fix incorrect type cast (#4620)
Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
2024-12-09 14:28:19 -08:00
Hussein Mozannar
38cb532950
Remove inner message from thread M1 orchestrator (#4611)
remove inner message from thread
2024-12-09 10:09:13 -08:00
Jack Gerrits
87011ae01b
Migrate model context and models modules out of components (#4613)
* Move model context out of components

* move models out of components

* rename docs file
2024-12-09 10:00:08 -08:00
Hussein Mozannar
3817b8ddf6
Add MagenticOneGroupChat to AGS (#4595)
* add magenticonegroupchat to ags

* fix termination condition

* typing order check

* format error

* fix M1 orchestrator handle tool mesages

* add filesurfer and coder
2024-12-08 21:44:16 -08:00
peterychang
c5c3444bce
Add user proxy docs. Make user proxy's default impl cancellable (#4459)
* Add user proxy docs. Make user proxy's default impl cancellable

* remove unnecessary import

* revert accidental change

* address PR comments

* uv sync

* Fix bugs

* poe format

* fixing mypy issues

* poe format

* ignore pyright errors for ainput

* fix example code

* remove unused import

* fix accidental reversion, example code

* formatting

* fix typing

* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/agents.ipynb

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/agents.ipynb

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-06 14:53:59 -08:00
Eric Zhu
8dac072658
Update references in docs (#4590)
* Update agent doc

* Remove outdated doc

* Update references

* Update readme

* Update readme
2024-12-06 01:59:28 -08:00
Eric Zhu
fa550c2c36
fix docs (#4589)
* fix doc on distributed runtime

* Fix references

* Update references

* Fix import paths in user guide notebooks for code executor components
2024-12-06 01:23:05 -08:00
Eric Zhu
8707729da9
dev9 (#4585)
* dev9
2024-12-06 00:43:56 -08:00
Gerardo Moreno
afaf2c1288
Sequential Chat Tutorial (#3861) (#4584)
* Sequential Chat Tutorial (#3861)

* Include doc in toctree

* Rename title; doc improv

* reorder

* grammar

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-06 00:36:21 -08:00
peterychang
b286c99c1f
model capabilities FAQ (#4471)
* model capabilities faq

* Add links to FAQ in more places

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-05 23:53:22 -08:00
Leonardo Pinheiro
5f61ba0c2f
Refactor autogen ext agents namespace (#4582)
* move magentic and openai assistant agents

* add import error messages

* add api docs ref files

* fix magentic rst path

* fix openai rst fname

* fix magentic rst title

* Add module

* rm

* fix some minor issues

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-05 23:41:13 -08:00
Eric Zhu
f5f364ccea
Add code executor modules in API doc and minor doc fixes (#4579)
* Add code executor modules

* minor fixes

* minor fixes

* minor

* minor grammar

* underlines

* code check
2024-12-05 15:57:02 -08:00
gagb
ac363344da
Update user guide (#4560)
* Update user guide

* Fix typos

* Move the file to correct dir

* update notebook, add runnable code to catch bugs, improve text on inner messages

* update icons in tutorial

* Reduce references to future concepts

---------

Co-authored-by: Victor Dibia <victor.dibia@gmail.com>
2024-12-05 14:37:33 -08:00
gagb
0fd47b95d8
Remove WIP banner from landing (#4575) 2024-12-05 13:47:57 -08:00
Leonardo Pinheiro
4018a129f8
Refactor code executor namespace (#4538)
* refactor code exec namespaces

* delete code exec init

* update conflicts

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-12-05 07:01:59 -08:00
Jack Gerrits
9af450a59f
Move local code exec to ext, uplevel components (#4557) 2024-12-04 20:21:46 -08:00
Eric Zhu
cc6765b189
API documentation page flattening (#4556)
* API documentation page refactor

* Fix links and unused pages

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-12-04 18:24:07 -08:00
Jack Gerrits
e615059345
Remove extract_markdown_code_blocks from core API (#4554) 2024-12-04 17:13:43 -08:00
Jack Gerrits
2b878763f8
Move grpc runtimes to ext, flatten application (#4553)
* Move grpc runtimes to ext, flatten application

* rename to grpc

* fmt
2024-12-04 16:23:20 -08:00
Victor Dibia
777f2abbd7
Load and Save state in AgentChat (#4436)
1. convert dataclass types to pydantic basemodel 
2. add save_state and load_state for ChatAgent
3. state types for AgentChat
---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-04 16:14:41 -08:00
afourney
fef06fdc8a
Fixed messages missing from websurfer history. (#4551)
* Fixed messages missing from websurfer history.
* Fix filesurfer too!
2024-12-04 15:13:48 -08:00
Jack Gerrits
d85a607da9
Move LLMUsageTracker to a cookbook (#4549)
* Move LLMUsageTracker to a cookbook

* rename, add to index

* fmt and remove test

* Update python/packages/autogen-core/docs/src/user-guide/core-user-guide/cookbook/llm-usage-logger.ipynb

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix missing quotation marks in notebook

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2024-12-04 14:49:39 -08:00
Vaibhav Balloli
1a448c10b9
Update index.md (#4548) 2024-12-04 14:24:32 -08:00
afourney
e1d58333ee
Address issue_4543 and add tests. (#4546)
* Address issue_4543 and add tests.

* Fixed pyright errors.
2024-12-04 11:28:44 -08:00
Gerardo Moreno
39ff183fad
Core API example showing multiple agents concurrently (#4461)
* Core API example showing multiple agents concurrently (#4427)

* Apply feedback

* Add different topics for closure agent example

* Address feedback

* Mypy fix

* Modify import path based on refactoring

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-04 10:39:26 -08:00
gagb
abb0a77f92
VideoSurferAgent -> VideoSurfer (#4521) 2024-12-03 18:43:05 -08:00
Jack Gerrits
3022369eeb
Flatten core base and components (#4513)
* Flatten core base and components

* remove extra files

* dont export from deprecated locations

* format

* fmt
2024-12-03 17:00:44 -08:00
gagb
6706dce577
Improves tutorial (#4507)
* Change nav depth

* Remove repetitive module names

* Increase nav depth

* Decrease base font size of docs

* Improve docs

* Undo css change
2024-12-03 16:54:53 -08:00
afourney
31cb50bce9
Added the coder used by MagenticOne. (#4511)
* Added the coder used by MagenticOne.

* Fixed formatting.

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-12-03 16:08:18 -08:00
Eric Zhu
32aa452af8
Remove autogen_agentchat.tasks, create autogen_agentchat.ui and autogen_agentchat.conditions (#4512) 2024-12-03 15:24:25 -08:00
Eric Zhu
b62f8f63dc
Remove logging from autogen agentchat (#4510) 2024-12-03 14:45:10 -08:00
Eric Zhu
50e84b945e
Move handoff to base in agentchat (#4509) 2024-12-03 14:34:55 -08:00
afourney
5235bbc0d6
FileSurfer in AgentChat (#4360)
* Added an implementation of FileSurfer to AgentChat
2024-12-03 12:14:47 -08:00
Jack Gerrits
50fea44539
Update allowed values for agent and topic type (#4484)
* allowed_type_values

* add return for post init

* Update python/packages/autogen-core/src/autogen_core/base/_agent_id.py

* Update python/packages/autogen-core/src/autogen_core/base/_topic.py

* Merge branch 'main' into allowed_type_values

* lint
2024-12-03 10:12:42 -08:00
Jack Gerrits
954ba84fe7
Change base agent to use on message impl (#4485)
* Change base agent to use on message impl

* update doc

* Update

* Merge branch 'main' into on_msg_impl
2024-12-03 10:04:12 -08:00
afourney
934ae03851
Allow users to update the final answer prompt of MagenticOne orc. (#4476)
* Allow users to update the final answer prompt of MagenticOne orchestrator.
2024-12-03 09:44:54 -08:00
Ryan Sweet
1c09de8d47
HelloAgents App Host with xlang sample (#4395)
* adds a python xlang sample and aspire code to host it
* fixes message delivery on dotnet runtime
2024-12-03 08:09:02 -08:00
afourney
c062c510b7
Flush console output after every message. (#4475) 2024-12-02 16:51:50 -08:00
Jack Gerrits
95dfe7bf22
Core doc edits, mostly visibility of private methods (#4457) 2024-12-02 14:36:00 -08:00
Jack Gerrits
732391859d
Update code_lint.py (#4470) 2024-12-02 16:42:28 -05:00
Jack Gerrits
1b58f6e7d5
Remove unused agent props (#4453) 2024-12-02 13:15:23 -08:00
Leonardo Pinheiro
1f90dc5ea9
Update OpenAI Assistante Agent on_reset (#4423)
* update reset and imports

* add missing imports

* update lock file

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-12-02 15:48:18 +10:00
Hussein Mozannar
ac3424d619
MagenticOne Orchestrator Fixes (#4430) 2024-11-30 14:11:20 -08:00
gagb
f02aac78fb
Improve docs (#4428)
* Change nav depth

* Remove repetitive module names

* Increase nav depth
2024-11-29 16:50:40 -08:00