tests/testthat/test-cancel_fine_tune.R

#-------------------------------------------------------------------------------
# cancel_fine_tune()

test_argument_validation(
    function_name = "cancel_fine_tune",
    argument_name = "fine_tune_id",
    argument_type = "string",
    allow_null = FALSE
)

test_argument_validation(
    function_name = "cancel_fine_tune",
    argument_name = "openai_api_key",
    argument_type = "string",
    allow_null = FALSE
)

test_argument_validation(
    function_name = "cancel_fine_tune",
    argument_name = "openai_organization",
    argument_type = "string",
    allow_null = TRUE
)
irudnyts/openai documentation built on Nov. 14, 2024, 1:18 p.m.