Skip to content

Commit 7bbf595

Browse files
authored
fix(mode): add missing GENAI and Responses modes to tool_modes() (#2072)
1 parent bf113b6 commit 7bbf595

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

instructor/mode.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ def tool_modes(cls) -> set["Mode"]:
9595
cls.OPENROUTER_STRUCTURED_OUTPUTS,
9696
cls.MISTRAL_STRUCTURED_OUTPUTS,
9797
cls.XAI_TOOLS,
98+
cls.GENAI_TOOLS,
99+
cls.RESPONSES_TOOLS,
100+
cls.RESPONSES_TOOLS_WITH_INBUILT_TOOLS,
98101
}
99102

100103
@classmethod

0 commit comments

Comments
 (0)