mem0ai / mem0

The Memory layer for your AI apps
https://mem0.ai
Apache License 2.0
21.6k stars 1.97k forks source link

I can't set OPENAI_API_BASE #1728

Closed wangqiaoch closed 3 weeks ago

wangqiaoch commented 3 weeks ago

🐛 Describe the bug

I need to use my own openai base url, but the code 'os.environ["OPENAI_API_BASE"] = "my_base_url"' didn't work, to the llm part, it worked after I write 'os.environ["OPENROUTER_API_KEY"] = "my_openai_api_key"', but the embedding part still report error.