Bug fix: Fix RuntimeError in predict_no_ui_long_connection()
In the original code, calling predict_no_ui_long_connection() would trigger a RuntimeError("OpenAI拒绝了请求:" + error_msg) even when the server responded normally. The issue occurred due to incorrect handling of SSE protocol comment lines (lines starting with ":").
Modified the parsing logic in both `predict` and `predict_no_ui_long_connection` to handle these lines correctly, making the logic more intuitive and robust.
* Added some modules for supporting openrouter model
Added some modules for supporting openrouter model
* Update config.py
* Update .gitignore
* Update bridge_openrouter.py
* Not changed actually
* Refactor logging in bridge_openrouter.py
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com>