mirror of
https://github.com/crewAIInc/crewAI-examples.git
synced 2026-01-10 06:17:58 -05:00
Fix deprecated LangChain Ollama import in instagram_post - Replace 'from langchain.llms import Ollama' with 'from langchain_community.llms import Ollama' - This fixes compatibility issues with newer versions of LangChain (v0.1.0+)
This commit is contained in:
@@ -5,7 +5,7 @@ from tools.browser_tools import BrowserTools
|
||||
from tools.search_tools import SearchTools
|
||||
from langchain.agents import load_tools
|
||||
|
||||
from langchain.llms import Ollama
|
||||
from langchain_community.llms import Ollama
|
||||
|
||||
class MarketingAnalysisAgents:
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user