You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
format: Annotated[Optional[str], typer.Option(help="The output format: either a Python type (e.g. 'float' or a Pydantic model defined in one of the tool files), or a JSON schema, e.g. '{\"format\": \"date\"}'")] =None,
99
100
max_iterations: Optional[int] =10,
100
101
parallel_calls: Optional[bool] =False,
101
102
verbose: bool=False,
102
103
# endpoint: Optional[str] = None,
103
104
endpoint: str="http://localhost:8080/v1/",
104
105
):
105
-
106
+
106
107
openai.api_key=api_key
107
108
openai.base_url=endpoint
108
-
109
+
109
110
tool_map= {}
110
111
tools= []
111
-
112
+
112
113
forurlin (tool_endpointor []):
113
114
asserturl.startswith('http://') orurl.startswith('https://'), f'Tools must be URLs, not local files: {url}'
0 commit comments