This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
from openai import OpenAI | |
# Point to the local server | |
client = OpenAI(base_url="http://localhost:1234/v1", api_key="lm-studio") | |
model = "qwen2.5-vl-7b-instruct" | |
# Define the tools | |
def read_file(file_path: str) -> dict: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test | |
test |