MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / isGeminiThinkingLevel

Function isGeminiThinkingLevel

src/api/transform/reasoning.ts:30–32  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

28export type GeminiThinkingLevel = (typeof GEMINI_THINKING_LEVELS)[number]
29
30export function isGeminiThinkingLevel(value: unknown): value is GeminiThinkingLevel {
31 return typeof value === "string" && GEMINI_THINKING_LEVELS.includes(value as GeminiThinkingLevel)
32}
33
34export type GeminiReasoningParams = GenerateContentConfig["thinkingConfig"] & {
35 thinkingLevel?: GeminiThinkingLevel

Callers 1

getGeminiReasoningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected