Merge branch 'main' into vision-tool-improvement

This commit is contained in:
Mike Plachta
2025-01-03 09:36:13 -08:00
committed by GitHub
59 changed files with 2007 additions and 392 deletions

View File

@@ -1,12 +1,10 @@
import base64
from typing import Type, Optional
from pathlib import Path
from crewai.tools import BaseTool
from openai import OpenAI
from pydantic import BaseModel, validator
class ImagePromptSchema(BaseModel):
"""Input for Vision Tool."""
image_path_url: str = "The image path or URL."