ninja
ninja copied to clipboard
Reverse engineered ChatGPT proxy
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64) to permit the latest version. Changelog Sourced from base64's changelog. 0.22.0 DecodeSliceError::OutputSliceTooSmall is now conservative rather than precise. That is, the error will only occur...
Updates the requirements on [scraper](https://github.com/causal-agent/scraper) to permit the latest version. Release notes Sourced from scraper's releases. 0.19.0 What's Changed Bump ahash from 0.8.3 to 0.8.6 by @dependabot in causal-agent/scraper#156 Bump...
使用`/v1/chat/completions`接口返回 ``` { "error": { "message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.", "type": "insufficient_quota",...
```python import base64 import requests # OpenAI API Key api_key = "****" # Function to encode the image def encode_image(image_path): with open(image_path, "rb") as image_file: return base64.b64encode(image_file.read()).decode('utf-8') # Path to...
就像Pandora项目的sharetoken自动登录链接一样 比如:ninja.xxx.com/auth/share?token=xxx 这样能方便账号分享 会考虑增加这样的功能吗
本项目支持: 1. 将 ninja `proxy` 模式下的 `backend-api` 转为 `/v1/chat/completions` 接口,支持流式和非流式响应。 2. 将 ninja `proxy` 模式下的 `backend-api` 转为 `/v1/images/generations` 接口 3. 支持直接把refresh_token作为请求key,方便接入one_api 4. 支持 gpt-4-mobile 、gpt-4-s 、所有的GPTS [点击跳转项目](https://github.com/Yanyutin753/ninjaToV1Api_refresh) 🌈感谢Ink-Osier大佬的PandoraToV1Api项目,感谢gngpp大佬的ninja项目!
Updates the requirements on [inquire](https://github.com/mikaelmello/inquire) to permit the latest version. Release notes Sourced from inquire's releases. v0.7.0 Breaking Changes The Select and Multiselect Filter now scores input and is now...
Updates the requirements on [nix](https://github.com/nix-rust/nix) to permit the latest version. Changelog Sourced from nix's changelog. [0.28.0] - 2024-02-24 Added Added mkdtemp wrapper (#1297) Add associated constants UTIME_OMIT UTIME_NOW for TimeSpec...
- 增加websocket_endpoint 配置,自动封装webui返回ws_url的处理 - 兼容wss账号的chat2api - chat2api,增加gpts-gizmo的处理 , 模型名称填写gizmoid,比如 ```https://chat.openai.com/g/g-MTjrTCeoU-golfgpt``` 这个model就是填写```g-MTjrTCeoU```
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version. Release notes Sourced from env_logger's releases. v0.11.2 [0.11.2] - 2024-02-13 Changelog Sourced from env_logger's changelog. [0.11.2] - 2024-02-13 [0.11.1] -...