Skip to content

Commit

Permalink
Follow uniform AutoGenWorkflows import across files (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl authored Oct 22, 2024
1 parent bc6d758 commit d38a040
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/docs/en/user-guide/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Depending on the interface you choose, you'll need to import different modules.
from autogen.agentchat import ConversableAgent

from fastagency import UI
from fastagency.runtimes.autogen.base import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.mesop import MesopUI

from fastagency import FastAgency
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_src/getting_started/nats/main_1_nats.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from fastagency import UI
from fastagency.adapters.nats import NatsAdapter
from fastagency.logging import get_logger
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows

llm_config = {
"config_list": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from fastagency import UI
from fastagency.adapters.nats import NatsAdapter
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows

llm_config = {
"config_list": [
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_src/tutorial/giphy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from fastagency.api.openapi.security import APIKeyQuery
from fastagency.messages import TextInput
from fastagency.runtimes.autogen.agents.websurfer import WebSurferAgent
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.mesop import MesopUI

llm_config = {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_src/tutorial/giphy/simple_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from fastagency import UI, FastAgency
from fastagency.api.openapi.client import OpenAPI
from fastagency.api.openapi.security import APIKeyQuery
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.mesop import MesopUI

open_api_key = os.getenv("OPENAI_API_KEY")
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_src/tutorial/whatsapp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from fastagency.api.openapi.client import OpenAPI
from fastagency.api.openapi.security import APIKeyHeader
from fastagency.runtimes.autogen.agents.websurfer import WebSurferAgent
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.mesop import MesopUI

llm_config = {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_src/user_guide/custom_user_interactions/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from fastagency import UI, FastAgency
from fastagency.messages import MultipleChoice, SystemMessage, TextInput
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.console import ConsoleUI

llm_config = {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_src/user_guide/external_rest_apis/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from fastagency import UI, FastAgency
from fastagency.api.openapi import OpenAPI
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.console import ConsoleUI

llm_config = {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_src/user_guide/external_rest_apis/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from fastagency import UI, FastAgency
from fastagency.api.openapi.client import OpenAPI
from fastagency.api.openapi.security import APIKeyHeader
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.console import ConsoleUI

llm_config = {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_src/user_guide/runtimes/autogen/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from fastagency import UI, FastAgency
from fastagency.api.openapi import OpenAPI
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.console import ConsoleUI

llm_config = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from fastagency import UI, FastAgency
from fastagency.api.openapi import OpenAPI
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.console import ConsoleUI

llm_config = {
Expand Down
2 changes: 1 addition & 1 deletion examples/cli/main_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from autogen.agentchat import ConversableAgent

from fastagency import UI, FastAgency
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.console import ConsoleUI

llm_config = {
Expand Down
2 changes: 1 addition & 1 deletion examples/cli/main_mesop.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from autogen.agentchat import ConversableAgent

from fastagency import UI, FastAgency
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.mesop import MesopUI

llm_config = {
Expand Down
2 changes: 1 addition & 1 deletion examples/cli/main_user_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from fastagency import UI, FastAgency
from fastagency.api.openapi.client import OpenAPI
from fastagency.api.openapi.security import APIKeyHeader
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows
from fastagency.ui.console import ConsoleUI

llm_config = {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/mesop/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from fastagency.app import FastAgency
from fastagency.messages import TextMessage
from fastagency.runtimes.autogen.autogen import AutoGenWorkflows
from fastagency.runtimes.autogen import AutoGenWorkflows

if sys.version_info >= (3, 10):
from fastagency.ui.mesop.mesop import MesopUI
Expand Down

0 comments on commit d38a040

Please sign in to comment.