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
## Changes
- All providers removed from init to (hopefully) eventually expand provider list without requiring all provider APIs to be installed
- A few misc code cleanup tasks
- Reworking observable base class
- Fixing unit tests accordingly
:param int expected_len: Optional length constraint on the response_model (OpenAI API doesn't allow maxItems parameter in schema so this is checked post-hoc in the Pydantic BaseModel)
45
45
:param _StoppingCondition stopping_condition: A handler that signals when an Agent has completed the task (optional)
46
46
:param str model_name: Name of model to use (or deployment name for AzureOpenAI) (optional if provider is passed)
47
-
:param Type[_Provider] provider: Instantiated OpenAI instance to use (optional)
47
+
:param _Provider provider: Instantiated OpenAI instance to use (optional)
48
48
:param List[dict] tools: List of tools the agent can call via response (optional)
49
49
:param List[Callable] callbacks: List of callbacks to evaluate at end of run (optional)
50
50
:param dict[str, any] oai_kwargs: Dict of additional OpenAI arguments to pass thru to chat call
0 commit comments