117 Commits

Author SHA1 Message Date
Jack Gerrits
c74c2d6767
Follow up changes from top bar change (#4758) 2024-12-19 12:01:03 -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
Hussein Mozannar
7d0f485bd2
WebSurfer add close method (#4727)
* fix finicky websurfer test

* add close method

* update default to not download or debug

* enable closing agents in team_manager

---------

Co-authored-by: Victor Dibia <victor.dibia@gmail.com>
2024-12-16 18:51:52 -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
Hussein Mozannar
b9d682c0a1
WebSurfer Documentation and Fixes (#4624)
* fixes remake
* modified toml adding tests
* playwright tests
* tests websurfer
---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-12-12 14:42:40 -08:00
Eric Zhu
6c1f638960
dev11 release (#4642)
* dev11 release
2024-12-10 08:28:48 -08:00
Jack Gerrits
c234e77617
Add deprecated alias for openai model clients (#4641)
Add alias for openai model clients
2024-12-10 08:03:42 -08:00
Jack Gerrits
b32f1a07d1
Use official cloud event proto schema (#4487)
* Use official cloud event proto schema

* format

* fix bug in cloud event attribute creation

---------

Co-authored-by: Kosta Petan <kostapetan@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-12-09 22:26:53 -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
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
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
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
8707729da9
dev9 (#4585)
* dev9
2024-12-06 00:43:56 -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
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
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
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
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
afourney
5235bbc0d6
FileSurfer in AgentChat (#4360)
* Added an implementation of FileSurfer to AgentChat
2024-12-03 12:14:47 -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
gagb
b1e40017c3
Fix client mismatch in video surfer and its tools (#4431)
* Add initial code

* Update and add readme

* Update

* update readme

* Refine action space

* Add tutorial

* Improve doc string

* Improve doc string

* Remove readme

* Update toml

* Update assignment

* Expose the tools

* Update pyproject toml

* Improve docs

* remove assignment'

* Run poe format

* Update uv lock

* Fix mypy errors

* Fix linting errors

* poe format

* run checks

* Updaye

* Rename submodule

* Improve documentation

* Use same model client in video surfer

* Use same model client in video surfer

* Update uv lock

---------

Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-11-29 16:27:30 -08:00
gagb
b6a7d56844
Adds Video Surfer to autogen_ext (#4387)
* Add initial code

* Update and add readme

* Update

* update readme

* Refine action space

* Add tutorial

* Improve doc string

* Improve doc string

* Remove readme

* Update toml

* Update assignment

* Expose the tools

* Update pyproject toml

* Improve docs

* remove assignment'

* Run poe format

* Update uv lock

* Fix mypy errors

* Fix linting errors

* poe format

* run checks

* Updaye

* Rename submodule

* Improve documentation

---------

Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-11-29 14:41:23 -08:00
Eric Zhu
f70869f236
update dev8 (#4417) 2024-11-27 14:39:31 -08:00
Eric Zhu
52790a8de7
o1 support for agent chat, and validate model capabilities (#4397) 2024-11-27 10:45:51 -08:00
Jack Gerrits
1a02e2ba4b
Update version to dev7 (#4359)
* Update version to dev7

* update other references
2024-11-25 14:09:41 -08:00
Jack Gerrits
6c8b656588
Fix examples in docstrings (#4356)
* Fix examples in docstrings

* formatting

* Update python/packages/autogen-ext/src/autogen_ext/models/_reply_chat_completion_client.py

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

* Update python/packages/autogen-ext/src/autogen_ext/models/_reply_chat_completion_client.py

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

* Update python/packages/autogen-ext/src/autogen_ext/agents/_openai_assistant_agent.py

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

* Update python/packages/autogen-ext/src/autogen_ext/agents/_openai_assistant_agent.py

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

* Update python/packages/autogen-ext/src/autogen_ext/models/_reply_chat_completion_client.py

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

* Update python/packages/autogen-ext/src/autogen_ext/models/_reply_chat_completion_client.py

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

* Formattinggp

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-25 16:07:45 -05:00
Jack Gerrits
b2ae4d1203
Add warnings for deprecated azure oai config changes (#4317)
* Add warnings for deprecated azure oai config changes

* Update docs and usages, simplify capabilities
2024-11-25 09:34:52 -08:00
Mohammad Mazraeh
341417e636
add tolerance for empty choices (#4311)
* add tolerance for empty choices

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* address pr comments

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* Update python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* Update python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* address pr comments

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* Update python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* Update _openai_client.py

---------

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-11-25 09:06:35 -05:00
Leonardo Pinheiro
ac53961bc8
Delete autogen-ext refactor deprecations (#4305)
* delete files and update dependencies

* add explicit config exports

* ignore mypy error on nb

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-11-22 11:29:39 -05:00
Eric Zhu
2b7658a9da
Move openai assistant agent to autogen-ext; add on_messages_stream (#4268) 2024-11-19 01:42:11 -05:00
Eric Zhu
1bf5fbb67b
Add API docs for builtin clients (#4232)
* Add API docs for builtin clients

* Address feedbacks

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-11-17 21:33:33 -05:00
Hussein Mozannar
36b822cf8b
Fix lazy init websurfer (#4178)
* lazy init set

* format
2024-11-13 20:19:48 -08:00
Hussein Mozannar
317d5d03ec
Websurfer Refactor (#4165)
* first commit

* use_ocr flag

* initial refactor

* test

* small fixes

* adding animations, in progress

* red boundary animations

* add hover tool

* fix timeout time - reduces a lot of errors

* put prompts in separate file

* prompt organize

* add cursor animation

* format and checks pass

* added check for reset
2024-11-13 11:41:36 -08:00
afourney
51b361dfcf
WebSurfer changes - incl move to lazy init. (#4092)
* Move to lazy init.

* Fixed mypy error.

---------

Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
2024-11-11 22:31:00 -08:00
afourney
e111db9afa
Handle on_reset (#4145) 2024-11-11 20:45:51 -05:00
Mohammad Mazraeh
570471bed7
Add reply chat completion client (#4096)
* initial implementation of reply chat completion client

---------

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-11 15:33:44 -05:00
Eric Zhu
e27c740961
dev6 (#4129) 2024-11-11 00:48:05 -05:00
Eric Zhu
1cc0f4f7c5
dev5 (#4124) 2024-11-10 21:42:22 -05:00
Eric Zhu
9e388925d4
Initial web surfer implementation in extension (#4071)
* Initial web surfer implementation in extension

* Moved model client to constructor for consistency.

* Fixed uv lock.

* Merge branch 'main' into websurfer

* fix ruff
2024-11-07 16:47:53 -08:00
Eric Zhu
4be1c9cf76
Update Python version to 0.4.0.dev4 (#4068)
* Update version to dev4
2024-11-05 22:04:37 -08:00
Eric Zhu
4e5f3ababe
Update version to 0.4.0.dev3 (#4043) 2024-11-01 16:08:09 -07:00