[FIX][Better Testing System]

pull/692/head
Kye Gomez 3 weeks ago
parent 9abe300548
commit e98d618bd8

@ -255,6 +255,7 @@ nav:
# - An Analysis on Prompting Strategies: "swarms/prompts/overview.md"
# - Managing Prompts in Production: "swarms/prompts/main.md"
- Community:
- Bounty Program: "corporate/bounty_program.md"
- Contributing:
- Contributing: "swarms/contributing.md"
- Tests: "swarms/framework/test.md"
@ -264,7 +265,6 @@ nav:
- Swarms 5.6.8: "swarms/changelog/5_6_8.md"
- Swarms 5.8.1: "swarms/changelog/5_8_1.md"
- Swarms 5.9.2: "swarms/changelog/changelog_new.md"
- Bounty Program: "corporate/bounty_program.md"
- Corporate:
- Culture: "corporate/culture.md"
- Hiring: "corporate/hiring.md"

@ -69,7 +69,7 @@ psutil = "*"
sentry-sdk = "*"
python-dotenv = "*"
PyYAML = "*"
docstring_parser = "0.16"
docstring_parser = "0.16" # TODO:
tiktoken = "*"
networkx = "*"
aiofiles = "*"

@ -21,8 +21,6 @@ from typing import (
import toml
import yaml
# from swarms.utils.loguru_logger import initialize_logger
from loguru import logger
from pydantic import BaseModel
from swarm_models.tiktoken_wrapper import TikTokenizer
@ -500,10 +498,6 @@ class Agent:
if preset_stopping_token is not None:
self.stopping_token = "<DONE>"
# # Check the parameters
# # Telemetry Processor to log agent data
# threading.Thread(target=self.agent_initialization()).start
# If the docs exist then ingest the docs
if exists(self.docs):
threading.Thread(

@ -1,6 +1,5 @@
from typing import Literal
# Literal of output types
# Literal of output types
OutputType = Literal[
"all",

@ -92,9 +92,6 @@ class SwarmsIssueReporter:
self.issues_created = []
self.last_issue_time = datetime.now()
# Validate GitHub token
# self._validate_github_credentials()
def _get_swarms_version(self) -> str:
"""Get the installed version of Swarms."""
try:
@ -316,11 +313,6 @@ class SwarmsIssueReporter:
return None
# from swarms import Agent
# from swarm_models import OpenAIChat
# from swarms.utils.issue_reporter import SwarmsIssueReporter
# import os
# Setup the reporter with your GitHub token
reporter = SwarmsIssueReporter(
github_token=os.getenv("GITHUB_API_KEY")

@ -1,11 +1,13 @@
import asyncio
from swarms import Agent
from swarm_models import OpenAIChat
import json
import os
import tempfile
import time
import json
import yaml
import tempfile
from swarm_models import OpenAIChat
from swarms import Agent
def test_basic_agent_functionality():
Loading…
Cancel
Save