Skip to content

Commit

Permalink
Merge pull request #87 from small-thinking/fix-minor-issue-4
Browse files Browse the repository at this point in the history
By default use openai
  • Loading branch information
yxjiang authored Jun 11, 2024
2 parents b242a39 + 1d7475a commit dacae01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions polymind/core_tools/llm_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@
import os
from typing import List

try:
import anthropic
from openai import AsyncOpenAI
except ImportError:
print("Please install the OpenAI and anthropic package with command:", "poetry install -E openai -E anthropic")
import anthropic
from openai import AsyncOpenAI
from pydantic import Field

from polymind.core.codegen import CodeGenerationTool
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "polymind"
version = "0.0.48" # Update this version before publishing to PyPI
version = "0.0.49" # Update this version before publishing to PyPI
description = "PolyMind is a customizable collaborative multi-agent framework for collective intelligence and distributed problem solving."
authors = ["TechTao"]
license = "MIT License"
Expand Down

0 comments on commit dacae01

Please sign in to comment.