Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add configurable OpenAI API URL for OpenAI-compatible providers#260

Draft
Alex-wuhu wants to merge 1 commit intoX-PLUG:mainfrom
Alex-wuhu:novita-openai-url
Draft

Add configurable OpenAI API URL for OpenAI-compatible providers#260
Alex-wuhu wants to merge 1 commit intoX-PLUG:mainfrom
Alex-wuhu:novita-openai-url

Conversation

@Alex-wuhu
Copy link

@Alex-wuhu Alex-wuhu commented Mar 2, 2026

Summary

  • make OPENAI_API_URL configurable via environment variable in Mobile-Agent-E/inference_agent_E.py
  • document how to use OpenAI-compatible endpoints such as Novita in Mobile-Agent-E/README.md and README_zh.md

Example

export BACKBONE_TYPE="OpenAI"
export OPENAI_API_URL="https://api.novita.ai/openai/v1/chat/completions"
export OPENAI_API_KEY="your-novita-key"

Validation

  • python3 -m py_compile Mobile-Agent-E/inference_agent_E.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant