Skip to content

Commit

Permalink
Merge branch 'remove_langchain' into database_diagnosis
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxh19 authored May 22, 2023
2 parents c4641fb + add38ad commit ee861e2
Show file tree
Hide file tree
Showing 129 changed files with 119,521 additions and 794 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ __pycache__/
.Python
build/
develop-eggs/
dist/
**/dist/*
!**/dist/assets
!**/dist/index.html
downloads/
eggs/
.eggs/
Expand Down Expand Up @@ -163,4 +165,4 @@ cython_debug/
figs
frontend

g_push.sh
g_push.sh
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .idea/AgentVerse 2.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 0 additions & 66 deletions agentverse/UI.py

This file was deleted.

12 changes: 10 additions & 2 deletions agentverse/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from .tasks import *
from .agents import Agent

# from .agents import Agent
from .environments import env_registry
from .environments.rules import Rule
from .environments.rules.order import order_registry
Expand All @@ -8,4 +9,11 @@
from .environments.rules.updater import updater_registry
from .environments.rules.visibility import visibility_registry
from .agentverse import AgentVerse
from .initialization import prepare_task_config, load_agent, load_environment, load_tools, load_llm, load_memory
from .initialization import (
prepare_task_config,
load_agent,
load_environment,
load_tools,
load_llm,
load_memory,
)
10 changes: 9 additions & 1 deletion agentverse/agents/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
from .agent import Agent
# from .agent import Agent
from agentverse.registry import Registry

agent_registry = Registry(name="AgentRegistry")

from .base import BaseAgent
from .conversation_agent import ConversationAgent
from .tool_agent import ToolAgent
from .prisoner_dilema_agent import PoliceAgent, PrisonerAgent
Loading

0 comments on commit ee861e2

Please sign in to comment.