chore: run autoflake + isort (#1279)

This commit is contained in:
Charles Packer
2024-04-20 11:40:22 -07:00
committed by GitHub
parent a3c19a70f5
commit b35de11d96
133 changed files with 606 additions and 802 deletions

View File

@@ -1,17 +1,15 @@
import random
import os
import time
from concurrent.futures import ThreadPoolExecutor
import os
from typing import List, Tuple
from openai import OpenAI
import serpapi
from openai import OpenAI
from memgpt.data_sources.connectors import WebConnector
from memgpt.data_types import Document, Passage
from memgpt.credentials import MemGPTCredentials
from memgpt.data_sources.connectors import WebConnector
from memgpt.utils import printd
"""
This example show how you can add a google search custom function to your MemGPT agent.

View File

@@ -1,8 +1,8 @@
import json
from memgpt import create_client, Admin
from memgpt.constants import DEFAULT_PRESET, DEFAULT_HUMAN, DEFAULT_PERSONA
from memgpt.utils import get_human_text, get_persona_text
from memgpt import Admin, create_client
from memgpt.constants import DEFAULT_HUMAN, DEFAULT_PERSONA, DEFAULT_PRESET
from memgpt.utils import get_human_text, get_persona_text
"""
Make sure you run the MemGPT server before running this example.