Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stat committed Nov 13, 2024
1 parent f679c94 commit e0d75a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from cdp_agentkit_core.actions.social.twitter.action import TwitterAction
from cdp_agentkit_core.actions.social.twitter.account_details import AccountDetailsAction
from cdp_agentkit_core.actions.social.twitter.action import TwitterAction
from cdp_agentkit_core.actions.social.twitter.post_tweet import PostTweetAction


def get_all_twitter_actions() -> list[type[TwitterAction]]:
actions = []
for action in TwitterAction.__subclasses__():
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from collections.abc import Callable

import tweepy
from pydantic import BaseModel, Field
from pydantic import BaseModel

from cdp_agentkit_core.actions.social.twitter.action import TwitterAction

Expand Down
2 changes: 0 additions & 2 deletions twitter-langchain/twitter_langchain/twitter_toolkit.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""TwitterToolkit."""

from cdp_agentkit_core.actions.social.twitter import TWITTER_ACTIONS

from langchain_core.tools import BaseTool
from langchain_core.tools.base import BaseToolkit

Expand Down Expand Up @@ -118,7 +117,6 @@ def from_twitter_api_wrapper(cls, twitter_api_wrapper: TwitterApiWrapper) -> "Tw
TwitterToolkit. The Twitter toolkit.
"""

actions = TWITTER_ACTIONS

tools = [
Expand Down

0 comments on commit e0d75a3

Please sign in to comment.