Get the OpenAI API URL. See :func:`get_anthropic_api_url` for the resolution and rejection rules.
()
| 417 | |
| 418 | |
| 419 | def get_openai_api_url(): |
| 420 | """ |
| 421 | Get the OpenAI API URL. See :func:`get_anthropic_api_url` for |
| 422 | the resolution and rejection rules. |
| 423 | """ |
| 424 | return _resolve_pref_url('openai_api_url', config.OPENAI_API_URL) |
| 425 | |
| 426 | |
| 427 | def get_openai_api_key(): |
no test coverage detected