MotorBottle

Results 9 issues of MotorBottle

https://www.icourse163.org/learn/kaopei-1460869164?tid=1461631444#/learn/content

**Describe the issue** Black Screen After Switching To Another App/Home Screen. When I go back to UTM, there was only a black screen while the cursor was able to move....

iOS

**Describe the issue** VM gets terminated/freezes in ipados16 consuming less RAM than in ipados15. Specifically: *Case 1* When I allocate more than 4gb of ram, the VM got terminated by...

**Version** v0.4.6 **What's your deploying environment?** - [+] Docker - [ ] Caddy - [ ] Other **Describe the problem** 查看对话记录时,部分gpt的回答不显示 **Your config.yaml or other configurations** 默认 **Screenshots or running...

![image](https://github.com/WICG/keyboard-lock/assets/71703952/928d4817-c126-4032-8af4-edbd1690dfc0) The event.code for shiftRight is missing as shown in the image. Tested happening both under Chrome and Electron.

### 🥰 需求描述 对于一些渠道的API,可能会有默认选项之外的API请求的参数需求,例如当我使用Ollama API时,需要添加num_ctx参数来设置模型的上下文窗口,否则模型默认只有2k或1k tokens。 ### 🧐 解决方案 添加一个textarea 让用户可以输入自定义的额外的请求参数,例如 ``` num_ctx: 32768, num_predict: 1000 ``` 或者 ``` options: { num_ctx: 32768, num_predict: 1000 } ``` 这两种格式分别对应经过转换成OpenAI格式的API请求格式,以及ollama原生的REST API 请求格式,下图可作为参考...

enhancement
question
low priority

## 已实现 实现默认参数的覆盖,可以修改一些参数的默认值而无需用户主动请求指定该参数的值。使用方法为在default主题的渠道设置中,以json格式指定需要覆盖参数的模型以及其对应的参数和值。 ## 几个问题 1. 目前只针对默认主题添加了此功能,其他主题可以正常使用但如需使用新功能需要进一步适配 2. 目前支持默认覆盖的参数有限,如需针对一些模型的特定参数进行覆盖,可能需要用户手动添加。目前已支持的参数:`temperature`, `max_tokens`, `top_p`, `frequency_penalty`, `presence_penalty`, `stop`, `n`, `stream`, `num_ctx`。如需添加其它参数需前往`relay/controller/text.go`编辑`applyParameterOverrides`函数。 3. 没有接触过golang,代码可能存在不完善的部分,如有问题请feel free指出 close #1753 我已确认该 PR 已自测通过,相关截图如下: ![image](https://github.com/user-attachments/assets/0f8548c2-3cc8-4847-9534-e2ef6566156d) ![image](https://github.com/user-attachments/assets/4cfe7706-14b9-4a5b-ba5b-75329f17ce59)

**例行检查** [//]: # (方框内删除已有的空格,填 x 号) + [x] 我已确认目前没有类似 issue + [x] 我已确认我已升级到最新版本 + [x] 我已完整查看过项目 README,已确定现有版本无法满足需求 + [x] 我理解并愿意跟进此 issue,协助测试和提供反馈 + [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 issue 可能会被无视或直接关闭** **功能描述** 在渠道设置中添加一个为特定模型覆写默认参数(override)的功能。这样就可以对对应的参数默认值进行修改,而不需要请求端主动添加这个参数。而如果用户发起请求时带上了这个参数,则无视这里的设定。这样可以增加relay的灵活性,类似下图(参照的模型重定向的输入逻辑)。 ![image](https://github.com/user-attachments/assets/0406928d-9cba-4386-80d1-5511a8b44b85) **应用场景**...

enhancement

## Long-Audio Slowdown in FunASR GPU Inferencing (Root cause: kwargs state leaks) ### What I Observed - First pass on a 30 min+ recording finishes quickly, but running the same...