mirror of
https://github.com/kennethreitz/simplemind.git
synced 2026-06-05 06:46:18 +00:00
re-add changes from main
This commit is contained in:
@@ -15,13 +15,6 @@ if TYPE_CHECKING:
|
||||
T = TypeVar("T", bound=BaseModel)
|
||||
|
||||
|
||||
|
||||
PROVIDER_NAME = "anthropic"
|
||||
DEFAULT_MODEL = "claude-3-5-sonnet-20241022"
|
||||
DEFAULT_MAX_TOKENS = 1_000
|
||||
DEFAULT_KWARGS = {"max_tokens": DEFAULT_MAX_TOKENS}
|
||||
|
||||
|
||||
class AnthropicTool(BaseTool):
|
||||
def get_response_schema(self) -> Any:
|
||||
assert self.is_executed, f"Tool {self.name} was not executed."
|
||||
@@ -67,7 +60,6 @@ class AnthropicTool(BaseTool):
|
||||
}
|
||||
|
||||
|
||||
|
||||
class Anthropic(BaseProvider):
|
||||
NAME = "anthropic"
|
||||
DEFAULT_MODEL = "claude-3-5-sonnet-20241022"
|
||||
|
||||
Reference in New Issue
Block a user