mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 15:52:34 +00:00
Merge branch 'main' into vision-tool-improvement
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user