ohmygpt-logo
OhMyGPT

2026-0114 업데이트: Gemini API 호환성 강화

최근 Gemini API의 호환성을 강화하여 더욱 완전한 Function Call 및 API 호환성을 지원합니다:

  • chat/completions
    • messages
      • content
      • role
        • "system" (=>system_instruction)
        • "user"
        • "assistant"
        • "tool"
      • tool_calls
    • model
    • frequency_penalty
    • logit_bias
    • logprobs
    • top_logprobs
    • max_tokens, max_completion_tokens
    • n (candidateCount <8, not for streaming)
    • presence_penalty
    • reasoning_effort
    • response_format
      • "json_object"
      • "json_schema" (a select subset of an OpenAPI 3.0 schema object)
      • "text"
    • seed
    • stop: string|array (stopSequences [1,5])
    • stream
    • stream_options
      • include_usage
    • temperature (0.0..2.0 for OpenAI, but Gemini supports up to infinity)
    • top_p
    • tools
    • tool_choice
    • parallel_tool_calls (is always active in Gemini)
    • extra_body

더 자세한 예제와 문서는 추후 보완하여 발표할 예정입니다.