Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ag2 submodule #614

Open
wants to merge 6 commits into
base: 0.4-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ from typing import Any

from autogen.agentchat import ConversableAgent
from fastagency import UI
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.runtimes.ag2 import AutoGenWorkflows

llm_config = {
"config_list": [
Expand Down
37 changes: 20 additions & 17 deletions docs/docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ search:
- [FastAPI + Nats.io](user-guide/adapters/fastapi_nats/index.md)
- [FastAPI Security](user-guide/adapters/fastapi/security.md)
- [API-s](user-guide/api/index.md)
- [Dependency Injection](user-guide/api/dependency_injection/index.md)
- [OpenAPI](user-guide/api/openapi/index.md)
- [Security](user-guide/api/security.md)
- [Testing](user-guide/testing/index.md)
Expand Down Expand Up @@ -59,14 +60,16 @@ search:
- [NatsAdapter](api/fastagency/adapters/nats/base/NatsAdapter.md)
- [NatsProvider](api/fastagency/adapters/nats/base/NatsProvider.md)
- api
- dependency_injection
- [inject_params](api/fastagency/api/dependency_injection/inject_params.md)
- openapi
- [OpenAPI](api/fastagency/api/openapi/OpenAPI.md)
- client
- [OpenAPI](api/fastagency/api/openapi/client/OpenAPI.md)
- [add_to_globals](api/fastagency/api/openapi/client/add_to_globals.md)
- fastapi_code_generator_helpers
- [ArgumentWithDescription](api/fastagency/api/openapi/fastapi_code_generator_helpers/ArgumentWithDescription.md)
- [patch_get_parameter_type](api/fastagency/api/openapi/fastapi_code_generator_helpers/patch_get_parameter_type.md)
- openapi
- [OpenAPI](api/fastagency/api/openapi/openapi/OpenAPI.md)
- [add_to_globals](api/fastagency/api/openapi/openapi/add_to_globals.md)
- patch_datamodel_code_generator
- [patch_apply_discriminator_type](api/fastagency/api/openapi/patch_datamodel_code_generator/patch_apply_discriminator_type.md)
- patch_fastapi_code_generator
Expand Down Expand Up @@ -156,27 +159,27 @@ search:
- [WorkflowCompleted](api/fastagency/messages/WorkflowCompleted.md)
- [WorkflowStarted](api/fastagency/messages/WorkflowStarted.md)
- runtimes
- autogen
- [AutoGenWorkflows](api/fastagency/runtimes/autogen/AutoGenWorkflows.md)
- [IOStreamAdapter](api/fastagency/runtimes/autogen/IOStreamAdapter.md)
- ag2
- [AutoGenWorkflows](api/fastagency/runtimes/ag2/AutoGenWorkflows.md)
- [IOStreamAdapter](api/fastagency/runtimes/ag2/IOStreamAdapter.md)
- agents
- websurfer
- [WebSurferAgent](api/fastagency/runtimes/autogen/agents/websurfer/WebSurferAgent.md)
- [WebSurferAgent](api/fastagency/runtimes/ag2/agents/websurfer/WebSurferAgent.md)
- whatsapp
- [WhatsAppAgent](api/fastagency/runtimes/autogen/agents/whatsapp/WhatsAppAgent.md)
- [WhatsAppAgent](api/fastagency/runtimes/ag2/agents/whatsapp/WhatsAppAgent.md)
- autogen
- [AutoGenWorkflows](api/fastagency/runtimes/autogen/autogen/AutoGenWorkflows.md)
- [CurrentMessage](api/fastagency/runtimes/autogen/autogen/CurrentMessage.md)
- [IOStreamAdapter](api/fastagency/runtimes/autogen/autogen/IOStreamAdapter.md)
- [Toolable](api/fastagency/runtimes/autogen/autogen/Toolable.md)
- [AutoGenWorkflows](api/fastagency/runtimes/ag2/autogen/AutoGenWorkflows.md)
- [CurrentMessage](api/fastagency/runtimes/ag2/autogen/CurrentMessage.md)
- [IOStreamAdapter](api/fastagency/runtimes/ag2/autogen/IOStreamAdapter.md)
- [Toolable](api/fastagency/runtimes/ag2/autogen/Toolable.md)
- tools
- [WebSurferTool](api/fastagency/runtimes/autogen/tools/WebSurferTool.md)
- [WhatsAppTool](api/fastagency/runtimes/autogen/tools/WhatsAppTool.md)
- [WebSurferTool](api/fastagency/runtimes/ag2/tools/WebSurferTool.md)
- [WhatsAppTool](api/fastagency/runtimes/ag2/tools/WhatsAppTool.md)
- websurfer
- [WebSurferAnswer](api/fastagency/runtimes/autogen/tools/websurfer/WebSurferAnswer.md)
- [WebSurferTool](api/fastagency/runtimes/autogen/tools/websurfer/WebSurferTool.md)
- [WebSurferAnswer](api/fastagency/runtimes/ag2/tools/websurfer/WebSurferAnswer.md)
- [WebSurferTool](api/fastagency/runtimes/ag2/tools/websurfer/WebSurferTool.md)
- whatsapp
- [WhatsAppTool](api/fastagency/runtimes/autogen/tools/whatsapp/WhatsAppTool.md)
- [WhatsAppTool](api/fastagency/runtimes/ag2/tools/whatsapp/WhatsAppTool.md)
- ui
- console
- [ConsoleUI](api/fastagency/ui/console/ConsoleUI.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# 0.5 - API
# 2 - Release
# 3 - Contributing
# 5 - Template Page
# 10 - Default
search:
boost: 0.5
---

::: fastagency.api.dependency_injection.inject_params
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ search:
boost: 0.5
---

::: fastagency.api.openapi.client.OpenAPI
::: fastagency.api.openapi.openapi.OpenAPI
11 changes: 11 additions & 0 deletions docs/docs/en/api/fastagency/api/openapi/openapi/add_to_globals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# 0.5 - API
# 2 - Release
# 3 - Contributing
# 5 - Template Page
# 10 - Default
search:
boost: 0.5
---

::: fastagency.api.openapi.openapi.add_to_globals
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ search:
boost: 0.5
---

::: fastagency.runtimes.autogen.AutoGenWorkflows
::: fastagency.runtimes.ag2.AutoGenWorkflows
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ search:
boost: 0.5
---

::: fastagency.runtimes.autogen.IOStreamAdapter
::: fastagency.runtimes.ag2.IOStreamAdapter
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# 0.5 - API
# 2 - Release
# 3 - Contributing
# 5 - Template Page
# 10 - Default
search:
boost: 0.5
---

::: fastagency.runtimes.ag2.agents.websurfer.WebSurferAgent
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# 0.5 - API
# 2 - Release
# 3 - Contributing
# 5 - Template Page
# 10 - Default
search:
boost: 0.5
---

::: fastagency.runtimes.ag2.agents.whatsapp.WhatsAppAgent
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# 0.5 - API
# 2 - Release
# 3 - Contributing
# 5 - Template Page
# 10 - Default
search:
boost: 0.5
---

::: fastagency.runtimes.ag2.autogen.AutoGenWorkflows
11 changes: 11 additions & 0 deletions docs/docs/en/api/fastagency/runtimes/ag2/autogen/CurrentMessage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# 0.5 - API
# 2 - Release
# 3 - Contributing
# 5 - Template Page
# 10 - Default
search:
boost: 0.5
---

::: fastagency.runtimes.ag2.autogen.CurrentMessage
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# 0.5 - API
# 2 - Release
# 3 - Contributing
# 5 - Template Page
# 10 - Default
search:
boost: 0.5
---

::: fastagency.runtimes.ag2.autogen.IOStreamAdapter
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ search:
boost: 0.5
---

::: fastagency.runtimes.autogen.autogen.Toolable
::: fastagency.runtimes.ag2.autogen.Toolable
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ search:
boost: 0.5
---

::: fastagency.api.openapi.client.add_to_globals
::: fastagency.runtimes.ag2.tools.WebSurferTool
11 changes: 11 additions & 0 deletions docs/docs/en/api/fastagency/runtimes/ag2/tools/WhatsAppTool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# 0.5 - API
# 2 - Release
# 3 - Contributing
# 5 - Template Page
# 10 - Default
search:
boost: 0.5
---

::: fastagency.runtimes.ag2.tools.WhatsAppTool
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# 0.5 - API
# 2 - Release
# 3 - Contributing
# 5 - Template Page
# 10 - Default
search:
boost: 0.5
---

::: fastagency.runtimes.ag2.tools.websurfer.WebSurferAnswer
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ search:
boost: 0.5
---

::: fastagency.runtimes.autogen.tools.WebSurferTool
::: fastagency.runtimes.ag2.tools.websurfer.WebSurferTool
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ search:
boost: 0.5
---

::: fastagency.runtimes.autogen.tools.WhatsAppTool
::: fastagency.runtimes.ag2.tools.whatsapp.WhatsAppTool

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion docs/docs/en/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ from typing import Any

from autogen.agentchat import ConversableAgent
from fastagency import UI
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.runtimes.ag2 import AutoGenWorkflows

llm_config = {
"config_list": [
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading