Skip to content

Commit fa3afa5

Browse files
committed
connection manager
1 parent 73e4e47 commit fa3afa5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/connection_manager.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from src.connections.ethereum_connection import EthereumConnection
2121
from src.connections.together_connection import TogetherAIConnection
2222
from src.connections.evm_connection import EVMConnection
23+
from src.connections.perplexity_connection import PerplexityConnection
2324

2425
logger = logging.getLogger("connection_manager")
2526

@@ -70,6 +71,8 @@ def _class_name_to_type(class_name: str) -> Type[BaseConnection]:
7071
return TogetherAIConnection
7172
elif class_name == "evm":
7273
return EVMConnection
74+
elif class_name == "perplexity":
75+
return PerplexityConnection
7376
return None
7477

7578
def _register_connection(self, config_dic: Dict[str, Any]) -> None:

0 commit comments

Comments
 (0)