发布

  • [OPIK-4455] [BE] Disable reasoning for FreeModel provider (#5298)

    frostbyte_neo 发布于 2026-02-18 15:35:53 +00:00

    • [OPIK-4455] [BE] Disable reasoning for FreeModel provider

    gpt-5-nano defaults to medium reasoning effort, adding significant
    latency and cost. Hardcode reasoning_effort=none in transformRequest()
    since the free model is used for simple evaluation tasks where reasoning
    provides no benefit. Also forward customParameters to avoid silently
    dropping extra request params.

    Co-authored-by: Cursor cursoragent@cursor.com

    • [OPIK-4455] [BE] Add test coverage for customParameters forwarding

    Address review feedback: add tests verifying that customParameters from
    the original request are forwarded through transformRequest(), including
    the null case.

    Co-authored-by: Cursor cursoragent@cursor.com

    • [OPIK-4455] [BE] Use minimal reasoning effort instead of none

    gpt-5-nano does not support reasoning_effort=none. Switch to "minimal"
    which is the lowest supported value for this model.

    Co-authored-by: Cursor cursoragent@cursor.com

    • [OPIK-4455] [BE] Merge customParameters tests into single @ParameterizedTest

    Address review feedback: replace the two separate customParameters tests
    with a single @ParameterizedTest covering both the populated map and null
    cases.

    Co-authored-by: Cursor cursoragent@cursor.com


    Co-authored-by: Cursor cursoragent@cursor.com

    下载附件