Traceback (most recent call last): File "/Users/snowpool/aw10s/deepseekR1/advertisement.py", line 3, in <module> from langchain_community.llms import Ollama # Ollamaを使用 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'langchain_community'
INFO [browser_use] BrowserUse logging setup complete with level info
INFO [root] Anonymized telemetry enabled. See https://github.com/browser-use/browser-use for more information.
INFO [agent] 🚀 Starting task:
1. https://www.shufoo.net/pntweb/shopDetail/860323/?cid=nmail_pc にアクセス
2. 「フルスクリーン」ボタンをクリック後、数秒待機
3. スクリーンショットを step-{n}.png として保存
INFO [agent]
📍 Step 1
ERROR [agent] ❌ Result failed 1/3 times:
INFO [agent]
📍 Step 1
ERROR [agent] ❌ Result failed 2/3 times:
INFO [agent]
📍 Step 1
ERROR [agent] ❌ Result failed 3/3 times:
ERROR [agent] ❌ Stopping due to 3 consecutive failures
INFO [agent] Created GIF at agent_history.gif
AgentHistoryList(all_results=[ActionResult(is_done=False, extracted_content=None, error='', include_in_memory=True), ActionResult(is_done=False, extracted_content=None, error='', include_in_memory=True), ActionResult(is_done=False, extracted_content=None, error='', include_in_memory=True)], all_model_outputs=[])
このため ollamaの動作確認
ollama run deepseek-r1:8b-llama-distill-q4_K_M --prompt "こんにちは。あなたは何ができますか?"
Error: unknown flag: --prompt
となる
–prompt フラグはサポートされていないため、プロンプトは位置引数として渡すので
ollama run deepseek-r1:8b-llama-distill-q4_K_M "こんにちは。あなたは何ができますか?"
とした
<think>
Alright, the user greeted me with "こんにちは。" which is Japanese for
"Hello." I should respond in a friendly manner.
I need to let them know what I can do. Since I'm an AI assistant, I should
mention various tasks like answering questions, providing information, and
helping with problems.
It's important to keep it simple and conversational, avoiding any
technical jargon.
I'll make sure my response is welcoming and open-ended to encourage them
to ask more.
</think>
こんにちは!私は人工知能助手です。何ができますか?回答、情報検索、問題解決な
ど、さまざまなタスクを担当します。どのようなお手伝いが必要ですか?
コメント