3039 Commits

Author SHA1 Message Date
raimondasl
385b63b36f Fixed AZURE_OPENAI_API_ENDPOINT name. Added needed packages. (#467)
* Fixed AZURE_OPENAI_API_ENDPOINT name. Added needed packages.

* remove hatch comment from doc

---------

Co-authored-by: Raimondas Lencevicius <rlencevicius@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-09-11 14:57:06 -07:00
Ryan Sweet
81463c0c64 Rysweet contibruting.md (#460)
* add standard contributing.md Fill out contributing guide on website #455

* add contibuting.md #455

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* add symlink to top level contributing

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-09-11 17:40:16 -04:00
Eric Zhu
976a7d4d77 create model context component, remove chat memory component, refactor samples #454 (#469)
* create model context component, remove chat memory component, refactor samples #454

* Fix bugs in samples.

* Fix

* Update docs

* add unit tests
2024-09-11 14:35:35 -07:00
Helen
82bb342fb3 Fix a broken link (#471) 2024-09-11 12:18:26 -07:00
Eric Zhu
2345557c62 add router to message handler Routing Predicates for message_handler in RoutedAgent #397 (#446)
* add router to message handler Routing Predicates for message_handler in RoutedAgent #397

* route --> match

* update docs

* type checking message parameter

* update docs

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-09-11 15:26:09 +08:00
Jack Gerrits
5f86ce18f2 Update task to be something that can be done in a container standalone (#466) 2024-09-10 15:30:05 -04:00
Jack Gerrits
05ff2d33e0 Rename codec to serializer (#462) 2024-09-09 18:32:29 -04:00
gagb
63d3297ffc
Update README.md (#3499) 2024-09-09 18:17:57 +00:00
gagb
afece7558f
Update pyproject.toml for AutoGen Studio (#3495)
* Update pyproject.toml

* Update pyproject.toml
2024-09-09 17:00:29 +00:00
Aamir
66e0e8e097 Add slow human in loop sample (#423)
* Add slow human in loop

* Fix

* Fix

* Fix

* Fix input

* Don't persist to json

* Add comment

* Fix imports

* Feedback

* Use if instead of while

* Add stop_when

* Merge from UV

* Multiple handlers

* Allow multiple intervention handleres to be supplied

* intervention_handler -> intervention_handlers

* Fix up

* Merge

* Merge

* Fix termination

* Handle feedback

* fmt

* Fix

* Fix

* Add initial message in the assistant memory

* Documentation

* fmt

* Update comment

* Downgrade protobuf from v5 to v4

* Address feedback

* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py

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

* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py

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

* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py

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

* Address comment

* Fix

* Fix to use lambda

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-09 09:50:52 -07:00
Ryan Sweet
36f796bcdf Update README.md (#458) 2024-09-09 09:12:27 -07:00
Jack Gerrits
1135515364 Require lockfile to be up to date in CI (#457)
* Require lockfile to be up to date in CI

* use locked instead of frozen
2024-09-09 09:34:06 -04:00
siddharth Sambharia
5f87b2802f
Portkey Integration with Autogen (#3395)
* Portkey Integration with Autogen

* Update website/docs/ecosystem/portkey.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Update website/docs/ecosystem/portkey.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Update website/docs/ecosystem/portkey.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Update website/docs/ecosystem/portkey.md

* Update website/docs/ecosystem/portkey.md

* Update website/docs/ecosystem/portkey.md

* Update website/docs/ecosystem/portkey.md

* Update website/docs/ecosystem/portkey.md

* Update portkey.md with changes

* Update website/docs/ecosystem/portkey.md

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>

* Remove trailing white spaces

* Update portkey.md with mark's note

* remove trailing white spaces line 15 and empty line at end

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-09-09 05:36:48 +00:00
New-World-2019
2ff29793fe
Fix the bug of creating a new session on the AutoGen Studio playground page (#3407)
Co-authored-by: linuxYn <9170444+linux-ape@user.noreply.gitee.com>
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
2024-09-08 23:41:57 +00:00
Victor Dibia
084a54daba
Support for Human Input Mode in AutoGen Studio (#3484)
* bump version, add claude default model

* Move WebSocketConnectionManager into its own file.

* Update the AutoGenStudio to use Async code throughout the call stack

Update *WorkflowManager* classes:
- Add async `a_send_message_function` parameter to mirror `send_message_function` param.
- Add async `a_process_message` coroutine to mirror the synchronous `process_message` function.
- Add async `a_run` coroutine to mirror the `run` function
- Add async `_a_run_workflow` coroutine to mirror the synchronous `_run_workflow` function.

Update *ExtendedConversableAgent* and *ExtendedGroupChatManager* classes:
- Override the async `a_receive` coroutines

Update *AutoGenChatManager*:
- Add async `a_send` and `a_chat` coroutines to mirror their sync counterparts.
- Accept the `WebSocketManager` instance as a parameter, so it can do Async comms directly.

Update *app.py*
- Provide the `WebSocketManager` instance to the *AutoGenChatManager* constructor
- Await the manager's `a_chat` coroutine, rather than calling the synchronous `chat` function.

* Add Human Input Support

Updates to *ExtendedConversableAgent* and *ExtendedGroupChatManager* classes
- override the `get_human_input` function and async `a_get_human_input` coroutine

Updates to *WorkflowManager* classes:
- add parameters `a_human_input_function` and `a_human_input_timeout` and pass along on to the ExtendedConversableAgent and ExtendedGroupChatManager
- fix for invalid configuration passed from UI when human input mode is not NEVER and no model is attached

Updates to *AutoGenChatManager* class:
- add parameter `human_input_timeout` and pass it along to *WorkflowManager* classes
- add async `a_prompt_for_input` coroutine that relies on `websocket_manager.get_input` coroutine (which snuck into last commit)

Updates to *App.py*
- global var HUMAN_INPUT_TIMEOUT_SECONDS = 180, we can replace this with a configurable value in the future

* add formatting/precommit fixes

* version bump

---------

Co-authored-by: Joe Landers <sailorjoe6@gmail.com>
2024-09-08 21:50:06 +00:00
Dev Khant
70a17919c7
Ecosystem Mem0: change title (#3492)
* Ecosyste Mem0: change title

* Update website/docs/ecosystem/mem0.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-09-08 21:46:39 +00:00
gagb
2ced66e0a2
Update readme (#3485)
* Update

* Update

* Update README.md

* Update README.md

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-07 05:53:05 +00:00
Jack Gerrits
3be2059516 Add some FAQs to the website (#456) 2024-09-06 17:12:56 -04:00
Aamir
df362c53cf Downgrade protobuf from v5 to v4 (#453) 2024-09-06 13:49:02 -04:00
Dev Khant
1ff477fefb
Integrate Mem0 for providing long-term memory for AI Agents (#3389)
* Add Mem0 docs

* add notebook link

* add notebook

* formatting

* formatting fix

* resolve comments

* writeup for mem0

---------

Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Aristo <6344553+randombet@users.noreply.github.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-09-06 00:07:06 +00:00
Xiaoyun Zhang
b97bca552b
[.Net] release v0.2.0 (#3483)
* release 0.2.0

* update release noteb
2024-09-05 21:23:52 +00:00
Xiaoyun Zhang
a44b86f26e
stop setting name field when assistant message contains tool call (#3481) 2024-09-05 20:54:30 +00:00
Li Jiang
40cfe07a95
Update usage of built-in LLMs (#3474) 2024-09-05 20:51:39 +00:00
Jack Gerrits
8504ea0bf2 Support datacontenttype and lay groundwork for unknown payloads (#444)
* Support datacontenttype and lay groundwork for unknown payloads

* Update dotnet based on proto changes
2024-09-05 16:36:59 -04:00
Jack Gerrits
f941fe15a6 Add gen proto uncommitted changes check (#451)
* Add gen proto uncommitted changes check

* Update checks.yml

* Update agent_worker.proto

* Update agent_worker.proto
2024-09-05 12:58:55 -04:00
Jack Gerrits
df44d26c87 Fix docs edit link and ref links (#448) 2024-09-05 11:24:02 -04:00
Aristo
e579a4609d
[Graph RAG] Init Commit with GraphRag interfaces (#3388)
* [Graph RAG] Init Commit with GraphRag interfaces

* Add Document class for graph rag input document

* Add Graph RAG Capability

* Add unit test for graph rag interfaces

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-09-04 16:11:02 +00:00
David
8be437af12
Update agent_builder.py (#3469)
no more then -> no more than
#typo
2024-09-04 15:54:49 +00:00
Lala Sabathil
16396b6154
docs: fix autogen install url (#3459)
/docs/installation redirects for some reason to /docs/docs/installation.
Using the full url is more reliable
2024-09-04 15:49:35 +00:00
Mark Sze
0871b3cb0b
Anthropic client class, concatenate system messages rather than lose them. (#3392)
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-09-03 08:15:13 +00:00
HRUSHIKESH DOKALA
ca1a89cb6b
fix model_config SQLModel (#3457)
* fix model_config SQLModel

* added comment
2024-09-01 20:24:27 +00:00
giorgossideris
4577524994
Use utf-8 encoding at subprocess.run() (#3454)
* Use utf-8 encoding at subprocess.run()

* Fix format

---------

Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-08-30 20:30:27 +00:00
Aamir
dacd290f1e Add a generic stop_when to runtime (#431)
* Add stop_when

* Format

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 15:28:51 -04:00
Aamir
042958e3ab Allow multiple intervention handlers to be supplied to the runtime (#435)
* Allow multiple intervention handleres to be supplied

* intervention_handler -> intervention_handlers

* Run format

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 15:24:25 -04:00
Jack Gerrits
c72e2484c2 Fix pytest asycio warning (#440) 2024-08-30 14:00:20 -04:00
Jack Gerrits
ba64f442de Remove static subscription restriction (#439) 2024-08-30 14:00:11 -04:00
Xiaoyun Zhang
084532e274
[.Net] add output schema to generateReplyOption (#3450)
* add output schema

* fix format
2024-08-30 15:36:20 +00:00
Eric Zhu
479d5fa9d1 Fix documentation bug (#438) 2024-08-30 07:33:46 -07:00
Jack Gerrits
a51b793667 Update aspire version (#437)
* Update aspire version

* update other aspire packages
2024-08-30 09:53:20 -04:00
Jack Gerrits
0f9254b4fa Update installation instructions based on directory moves (#436) 2024-08-30 09:37:11 -04:00
Aamir
fa826ab71c Add lock file and update readme (#434)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 09:10:26 -04:00
afourney
243c095796 Updated the root path discovery in agbench to reflect latest folder structure. (#433) 2024-08-29 15:07:17 -07:00
Jack Gerrits
d2c8b7a531 Update README.md (#432) 2024-08-29 17:58:00 -04:00
Jack Gerrits
4faa5980fb fix version (#430) 2024-08-29 17:21:53 -04:00
Jack Gerrits
581cda0cfd Pin grpc and gen task (#429) 2024-08-29 14:37:03 -04:00
Jack Gerrits
4f9626c447 Add cookiecutter (#428) 2024-08-29 11:46:30 -04:00
Jack Gerrits
90dfcaf28f Update version and description of core (#427) 2024-08-29 10:56:33 -04:00
Jack Gerrits
67003593a0 Add cookiecutter template for new package (#426) 2024-08-29 10:29:12 -04:00
Jack Gerrits
4ff5610853 Migrate to uv and poe for workspace management and task running (#424)
* Migrate to uv and poe for workspace management and task running

* install python

* try fix

* ensure workspace venv in used

* package dir

* move nbqa to mypy task

* separate sync, clarify docs
2024-08-29 09:46:06 -04:00
Anirudh31415926535
5861bd92a6
fix: tool calling cohere (#3355)
* Add support for tool calling cohere

* update tool calling code

* make client name configurable with default

* formatting nits

* update docs

---------

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-28 18:47:39 +00:00