mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Fix lint issues: remove unused imports
- Remove unused 'os' import from reproduce_issue.py - Remove unused imports (os, Agent, Crew, Task) from test_mem0_storage.py - Addresses lint check failure in CI Co-Authored-By: Jo\u00E3o <joao@crewai.com>
This commit is contained in:
@@ -3,7 +3,6 @@ Reproduction script for issue #3152 - mem0 external memory format error
|
|||||||
Based on the code provided in the GitHub issue
|
Based on the code provided in the GitHub issue
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
|
||||||
from crewai import Agent, Task, Crew
|
from crewai import Agent, Task, Crew
|
||||||
from crewai.memory.external.external_memory import ExternalMemory
|
from crewai.memory.external.external_memory import ExternalMemory
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,10 @@
|
|||||||
import os
|
|
||||||
from unittest.mock import MagicMock, patch
|
from unittest.mock import MagicMock, patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from mem0.client.main import MemoryClient
|
from mem0.client.main import MemoryClient
|
||||||
from mem0.memory.main import Memory
|
from mem0.memory.main import Memory
|
||||||
|
|
||||||
from crewai.agent import Agent
|
|
||||||
from crewai.crew import Crew
|
|
||||||
from crewai.memory.storage.mem0_storage import Mem0Storage
|
from crewai.memory.storage.mem0_storage import Mem0Storage
|
||||||
from crewai.task import Task
|
|
||||||
|
|
||||||
|
|
||||||
# Define the class (if not already defined)
|
# Define the class (if not already defined)
|
||||||
|
|||||||
Reference in New Issue
Block a user