mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-09 04:28:16 +00:00
style: apply ruff formatting to internal_instructor.py
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -100,9 +100,7 @@ class InternalInstructor(Generic[T]):
|
||||
|
||||
extra_kwargs = self._get_llm_extra_kwargs()
|
||||
|
||||
return instructor.from_provider(
|
||||
f"{provider}/{model_string}", **extra_kwargs
|
||||
)
|
||||
return instructor.from_provider(f"{provider}/{model_string}", **extra_kwargs)
|
||||
|
||||
def _get_llm_extra_kwargs(self) -> dict[str, Any]:
|
||||
"""Extract extra keyword arguments from the LLM to pass to the instructor client.
|
||||
|
||||
Reference in New Issue
Block a user