mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-05 09:12:39 +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()
|
extra_kwargs = self._get_llm_extra_kwargs()
|
||||||
|
|
||||||
return instructor.from_provider(
|
return instructor.from_provider(f"{provider}/{model_string}", **extra_kwargs)
|
||||||
f"{provider}/{model_string}", **extra_kwargs
|
|
||||||
)
|
|
||||||
|
|
||||||
def _get_llm_extra_kwargs(self) -> dict[str, Any]:
|
def _get_llm_extra_kwargs(self) -> dict[str, Any]:
|
||||||
"""Extract extra keyword arguments from the LLM to pass to the instructor client.
|
"""Extract extra keyword arguments from the LLM to pass to the instructor client.
|
||||||
|
|||||||
Reference in New Issue
Block a user