R2R icon indicating copy to clipboard operation
R2R copied to clipboard

OPEN_API_BASE

Open rainsubtime opened this issue 7 months ago • 2 comments

Describe the bug Hi~I wanna use base_url by my self. i use env veriable like "OPENAI_API_BASE",but it's not work.

To Reproduce Steps to reproduce the behavior:

  1. export OPENAI_API_BASE=xxxx
  2. Click on start
  3. Click on ingestion
  4. See error:2025-03-04 18:13:56 - ERROR - Async task execution failed: Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-F5ef2***************************************69zk. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

Image

Desktop (please complete the following information):

  • OS: win11

rainsubtime avatar Mar 04 '25 10:03 rainsubtime