Skip to content

Commit

Permalink
correct tool name
Browse files Browse the repository at this point in the history
  • Loading branch information
doncamilom committed Dec 8, 2023
1 parent d1b2bcf commit b2dd5a1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion chemcrow/agents/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def make_tools(
if rxn4chem_api_key:
all_tools += [
RXNPredict(rxn4chem_api_key),
RXNPlanner(rxn4chem_api_key, openai_api_key)
RXNRetrosynthesis(rxn4chem_api_key, openai_api_key)
]

return all_tools
12 changes: 7 additions & 5 deletions chemcrow/tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from .databases import *
from .rdkit import *
from .search import *
from .rxn4chem import *
from .safety import SafetySummary, ExplosiveCheck
"""load all tools."""

from .databases import * # noqa
from .rdkit import * # noqa
from .search import * # noqa
from .rxn4chem import * # noqa
from .safety import SafetySummary, ExplosiveCheck # noqa
5 changes: 5 additions & 0 deletions chemcrow/tools/rxn4chem.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
from langchain.chat_models import ChatOpenAI
from langchain.schema import HumanMessage

__all__ = [
"RXNPredict",
"RXNRetrosynthesis"
]


class RXN4Chem(BaseTool):
"""Wrapper for RXN4Chem functionalities."""
Expand Down
2 changes: 1 addition & 1 deletion chemcrow/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Package version"""

__version__ = "0.3.18"
__version__ = "0.3.19"

0 comments on commit b2dd5a1

Please sign in to comment.