We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在局域网搭了 NewAPI,添加时不支持流式输出,关掉流式输出就正常。
测试在 vps 中搭的 Newapi,使用域名的形式流式非流式都正常,改成 vps_ip:port 就不行,也会报错 "测试失败TypeError: Failed to fetch"
日志貌似也没记录到啥
在局域网的软路由中搭的 Newapi,请求地址填写这个就无法用流式输出。 http://192.168.100.1:3000/v1/chat/completions
Windows
Win11 家庭中文版 22635.4510
None
3.0.6
[2024-11-19][14:13:48][INFO][pot] ============== Start App ============== [2024-11-19][14:13:48][INFO][pot] Init Config Store [2024-11-19][14:13:48][INFO][pot::config] Load config from: "C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json" [2024-11-19][14:13:48][INFO][pot::config] Config loaded [2024-11-19][14:13:48][INFO][pot::tray] Update tray with language: zh_cn, copy mode: disable [2024-11-19][14:13:48][INFO][pot::hotkey] Registered global shortcut: Alt+Q for hotkey_input_translate [2024-11-19][14:13:48][INFO][pot::hotkey] Registered global shortcut: Alt+Z for hotkey_ocr_recognize [2024-11-19][14:13:48][INFO][pot::hotkey] Registered global shortcut: Alt+S for hotkey_ocr_translate [2024-11-19][14:13:48][DEBUG][tiny_http] Server listening on 127.0.0.1:60828 [2024-11-19][14:13:48][DEBUG][tiny_http] Running accept thread [2024-11-19][14:13:54][INFO][pot::window] Mouse position: 1707, 928 [2024-11-19][14:13:54][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY2"), size: PhysicalSize { width: 1920, height: 1080 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 } [2024-11-19][14:13:54][INFO][pot::window] Window not existence, Creating new window: config [2024-11-19][14:13:54][TRACE][os_info::imp] windows::current_platform is called [2024-11-19][14:13:54][TRACE][os_info::imp] Returning Info { os_type: Windows, version: Semantic(10, 0, 22635), edition: Some("Windows 11 CoreCountrySpecific"), codename: None, bitness: X64, architecture: Some("x86_64") } [2024-11-19][14:13:55][TRACE][notify::windows] Event: path = C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-11-19][14:13:55][TRACE][notify::windows] Event: path = C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-11-19][14:13:55][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-11-19][14:13:55][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-11-19][14:13:55][TRACE][notify::windows] Event: path = C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-11-19][14:13:55][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-11-19][14:13:55][TRACE][notify::windows] Event: path = C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-11-19][14:13:55][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-11-19][14:13:57][TRACE][notify_debouncer_mini] debounced event: AnyContinuous [2024-11-19][14:13:57][TRACE][notify_debouncer_mini] debounced event: Any [2024-11-19][14:14:34][INFO][webview::unknown] Focus
C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
在局域网搭了 NewAPI,添加时不支持流式输出,关掉流式输出就正常。
测试在 vps 中搭的 Newapi,使用域名的形式流式非流式都正常,改成 vps_ip:port 就不行,也会报错 "测试失败TypeError: Failed to fetch"
日志貌似也没记录到啥
Reproduction
在局域网的软路由中搭的 Newapi,请求地址填写这个就无法用流式输出。
http://192.168.100.1:3000/v1/chat/completions
Platform
Windows
System Version
Win11 家庭中文版 22635.4510
Window System (Linux Only)
None
Software Version
3.0.6
Log File
[2024-11-19][14:13:48][INFO][pot] ============== Start App ==============
[2024-11-19][14:13:48][INFO][pot] Init Config Store
[2024-11-19][14:13:48][INFO][pot::config] Load config from: "C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json"
[2024-11-19][14:13:48][INFO][pot::config] Config loaded
[2024-11-19][14:13:48][INFO][pot::tray] Update tray with language: zh_cn, copy mode: disable
[2024-11-19][14:13:48][INFO][pot::hotkey] Registered global shortcut: Alt+Q for hotkey_input_translate
[2024-11-19][14:13:48][INFO][pot::hotkey] Registered global shortcut: Alt+Z for hotkey_ocr_recognize
[2024-11-19][14:13:48][INFO][pot::hotkey] Registered global shortcut: Alt+S for hotkey_ocr_translate
[2024-11-19][14:13:48][DEBUG][tiny_http] Server listening on 127.0.0.1:60828
[2024-11-19][14:13:48][DEBUG][tiny_http] Running accept thread
[2024-11-19][14:13:54][INFO][pot::window] Mouse position: 1707, 928
[2024-11-19][14:13:54][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY2"), size: PhysicalSize { width: 1920, height: 1080 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 }
[2024-11-19][14:13:54][INFO][pot::window] Window not existence, Creating new window: config
[2024-11-19][14:13:54][TRACE][os_info::imp] windows::current_platform is called
[2024-11-19][14:13:54][TRACE][os_info::imp] Returning Info { os_type: Windows, version: Semantic(10, 0, 22635), edition: Some("Windows 11 CoreCountrySpecific"), codename: None, bitness: X64, architecture: Some("x86_64") }
[2024-11-19][14:13:55][TRACE][notify::windows] Event: path =
C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json
, action = 3[2024-11-19][14:13:55][TRACE][notify::windows] Event: path =
C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json
, action = 3[2024-11-19][14:13:55][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-11-19][14:13:55][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-11-19][14:13:55][TRACE][notify::windows] Event: path =
C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json
, action = 3[2024-11-19][14:13:55][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-11-19][14:13:55][TRACE][notify::windows] Event: path =
C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json
, action = 3[2024-11-19][14:13:55][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\Masque\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-11-19][14:13:57][TRACE][notify_debouncer_mini] debounced event: AnyContinuous
[2024-11-19][14:13:57][TRACE][notify_debouncer_mini] debounced event: Any
[2024-11-19][14:14:34][INFO][webview::unknown] Focus
Additional Information
No response
The text was updated successfully, but these errors were encountered: