Aditya Kurniawan
c989181da2
use model context for assistant agent, refactor model context ( #4681 )
...
* Decouple model_context from AssistantAgent
* add UnboundedBufferedChatCompletionContext to mimic pervious model_context behaviour on AssistantAgent
* moving unbounded buffered chat to a different file
* fix model_context assertions in test_group_chat
* Refactor model context, introduce states
* fixes
* update
---------
Co-authored-by: aditya.kurniawan <aditya.kurniawan@core42.ai>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
2024-12-19 22:27:41 -08:00
Jack Gerrits
453fe0cafd
Replace single quotes with double quotes ( #4760 )
...
* Replace single quotes with double quotes
* Fix version
* formatting
2024-12-19 14:21:51 -05:00
Jack Gerrits
c74c2d6767
Follow up changes from top bar change ( #4758 )
2024-12-19 12:01:03 -05:00
Jack Gerrits
97e5cab523
Restructure docs, move packages to top level header ( #4722 )
...
* Restructure top level pages
* move studio
2024-12-19 10:07:07 -05:00
Victor Dibia
4e3a70303d
Add Deploy view in AGS ( #4756 )
...
* update version, fix component factory bug
* add basic structure for deploy
* minor fixes, deploy v1
* minor text updated
* format fixes
* formatting fixes .. webby test samples
* update cli command, update views,
* packakge.json and other fixes
* format fixes
2024-12-18 18:57:11 -08:00
Eric Zhu
e902e94b14
Define AgentEvent, rename tool call messages to events. ( #4750 )
...
* Define AgentEvent, rename tool call messages to events.
* update doc
* Use AgentEvent | ChatMessage to replace AgentMessage
* Update docs
* update deprecation notice
* remove unused
* fix doc
* format
2024-12-18 14:09:19 -08:00
hsm207
7a7eb7449a
typo: travel planning ( #4753 )
2024-12-18 09:44:55 -08:00
Eric Zhu
44b27ad81a
Make it clear the on_messages method is stateful. ( #4751 )
2024-12-17 23:50:25 -08:00
Ryan Sweet
c1646f21c0
Rysweet 4676 remove iagentruntime - collapse into iagentworker ( #4740 )
...
* moves AgentId into Agent
* Renames AgentRuntime to AgentMessenger (more accurate name)
* Remove IAgentRuntime Interface
* changes constructor of Agent to take IAgentWorker instead of IAgentRuntime
2024-12-17 13:04:37 -08:00
kiyoung
2cd91f66d8
make "Alias", "ImportFromModule" classes hashable ( #4734 )
...
make hashable to Alias, ImportFromModule
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-17 11:11:36 -08:00
Victor Dibia
03f57e9357
Update AgentChat State Docs (Saving to Disc) ( #4730 )
...
* add section on persisting state to a file on disc.
* formating fixes
* update notebook
2024-12-16 21:55:47 -08:00
Victor Dibia
6a4a11042c
Add AOAI Support in AGS ( #4718 )
...
* add oai support, improve component config typing, minor updates to docs, update ags tests
* faq updates
* update faq, add model_capabilities
* update faq
2024-12-16 13:17:42 -08:00
peterychang
e2df4e24db
Move existing quickstart guide to design patterns. Simplify quickstart ( #4724 )
...
* Move existing quickstart guide to design patterns. Simplify quickstart guide.
* minor fixes
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-16 12:42:52 -08:00
Eric Zhu
43eed01bbc
Update custom agent doc with arithmetic agent example ( #4720 )
...
* Update custom agent doc with arithmetic agent example
* fix mypy
* fix model capabilities usage
2024-12-16 09:12:26 -08:00
Victor Dibia
e673c437e5
Add Documentation for AGS ( #4711 )
...
* enable download of team specs
* add docs v1 for ags to documentation website
* update docs readme/image
* Update python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/usage.md
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/index.md
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-14 22:59:26 -08:00
Ryan Sweet
55e157cb99
Rysweet refactor 4670 rename abstractions to contracts ( #4674 )
...
* refactor renaming agent base
* 1st draft
* 1st draft
* format
* rename the tsts
* move IagentWorker
* 1st draft
* format
* gen-proto
* run gen-proto-samples
* format
* merge problem format
2024-12-12 19:43:26 -08:00
gagb
fa563cb434
controlling => resetting ( #4691 )
2024-12-12 15:55:57 -08:00
gagb
feb0da39e1
Fix lang ( #4690 )
2024-12-12 15:45:44 -08:00
Kapil Sachdeva
dec4c45cec
fix - correct the deprecation messages from autogen_core.components.models module ( #4647 )
...
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-11 17:21:59 -08:00
peterychang
a65855d00d
Fix one failure mode in the user guide ( #4658 )
...
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-11 16:56:33 -08:00
gagb
69526038a9
Add discord links ( #4661 )
...
* Add discord links
* Update
* Update
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-12-11 16:32:30 -08:00
gagb
b776c53e6f
Improve language ( #4650 )
...
* Improve language
* Update images for examples
* reduce size
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-12-11 14:04:14 -08:00
hsm207
afd6257ac9
typo: messages docs ( #4655 )
2024-12-11 07:29:34 -08:00
Eric Zhu
6c1f638960
dev11 release ( #4642 )
...
* dev11 release
2024-12-10 08:28:48 -08:00
Eric Zhu
48778e5ffd
Minor doc fixes please merge ( #4633 )
...
Minor doc fixes
2024-12-09 22:11:57 -08:00
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
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
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
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
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
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