Jack Gerrits
cb1633b501
feat!: Add support for model family specification ( #4856 )
* Add support for model family specification
* spelling mistake
* lint, etc
* fixes
1 year ago
Leon De Andrade
23dbb6a632
Add missing model context attribute ( #4848 )
* Add missing model context attribute
* fix type
* Add test
* imports
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
jspv
a271708a97
Tool call result summary message ( #4755 )
* Adding ToolCallResultSummaryMessage
* Support for ToolCallResultSummaryMessage
* Added ToolCallSummaryMessage
* ruff format
* Add ToolCallSummaryMessage to ChatMessage
* typing and tests for ToolCallSummaryMessage
* PR Feedback
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
1 year ago
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
1 year ago
Arun Brahma
7c0bbf674f
feat: add support for list of messages as team task input and update Society of Mind Agent ( #4500 )
* feat: add support for list of messages as team task input
* Update society of mind agent to use the list input task
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
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>
1 year ago
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
1 year ago
Jack Gerrits
218e84fd8e
Migrate remaining components ( #4626 )
1 year ago
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>
1 year ago
Jack Gerrits
3022369eeb
Flatten core base and components ( #4513 )
* Flatten core base and components
* remove extra files
* dont export from deprecated locations
* format
* fmt
1 year ago
Eric Zhu
b62f8f63dc
Remove logging from autogen agentchat ( #4510 )
1 year ago
Eric Zhu
50e84b945e
Move handoff to base in agentchat ( #4509 )
1 year ago
Eric Zhu
52790a8de7
o1 support for agent chat, and validate model capabilities ( #4397 )
1 year ago
Eric Zhu
5fa38b0166
Add task type that are messages to enable multi-modal tasks. ( #4091 )
* Add task type that are messages to enable multi-modal tasks.
* fix test
1 year ago
Eric Zhu
2e3155be2a
AgentChat pause, resume, and reset ( #4088 )
* AgentChat pause and resume a task
Resolves #3859
* Add
* Update usage
* Update usage
* WIP to address stateful group chat
* Refactor group chat to add reset and flags for running
* documentation
1 year ago
Eric Zhu
16e64c4c10
Rename `model_usage` to `models_usage`. ( #4053 )
1 year ago
Eric Zhu
ca7caa779d
Add token usage to messages ( #4028 )
* Add token usage to messages
* small test edit
1 year ago
Eric Zhu
cff7d842a6
AgentChat streaming API ( #4015 )
1 year ago
Eric Zhu
3d51ab76ae
Formalize `ChatAgent` response as a dataclass with inner messages ( #3990 )
1 year ago
Eric Zhu
4a49844996
`ChatAgent` declares the types of messages it produces ( #3991 )
* `ChatAgent` declares the types of messages it produces
1 year ago
Eric Zhu
eb4b1f856e
Ability to generate handoff message from AssistantAgent ( #3968 )
* Ability to generate handoff message from AssistantAgent
* Fix mypy
* Validation
---------
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
1 year ago
Eric Zhu
3fe0f9e97d
Add AssistantAgent, deprecate CodingAssistantAgent and ToolUseAssistantAgent ( #3960 )
* Add AssistantAgent, deprecate CodingAssistantAgent and ToolUseAssistantAgent
* Rename
* Add note
* Update uv
* uf lock
* Merge branch 'main' into assistant-agent
* Update uv
1 year ago