Jason
Jason
@2dust 最近有空研究了一下这个问题,发现在sysproxy里面调用了RasEnumEntries枚举所有网卡,然后对每个网卡调用InternetSetOption。 参考代码:https://github.com/shadowsocks/sysproxy/blob/master/sysproxy/main.c#L119 而这个v2rayN C#代码没调用RasEnumEntries, pszConnection 没有赋值的结果是null,即LAN connection,而PPPoE是WAN connection造成无法工作。参考:https://learn.microsoft.com/en-us/windows/win32/wininet/setting-and-retrieving-internet-options 此外目前C#代码里没有调用INTERNET_OPTION_PROXY_SETTINGS_CHANGED和INTERNET_OPTION_REFRESH通知系统其他应用配置更新了。 修复办法就是照着sysproxy里去实现。不过我这里没有PPPoE的网络,无法调试验证。下面是范例代码: ``` using System; using System.Runtime.InteropServices; using System.Text; using System.Collections.Generic; public class ProxySettings { // Define P/Invoke signatures [DllImport("wininet.dll", SetLastError...
我的经验是 xinference功能强但坑比较多 可以试试ollama,傻瓜化基本无坑,虽然能力也弱一些。 langchain-chatchat不能自动读ollama的模型列表,需要手工加模型列表,把前面默认LLM和embedding也改成列表里有的模型 比如我的ollama额配置: ``` - platform_name: ollama platform_type: ollama api_base_url: http://127.0.0.1:11434/v1 api_key: EMPTY api_proxy: '' api_concurrencies: 5 auto_detect_model: false llm_models: - qwen2:7b - qwen2:72b - glm4 - yi:34b...
> > 我的经验是 xinference功能强但坑比较多 可以试试ollama,傻瓜化基本无坑,虽然能力也弱一些。 > > langchain-chatchat不能自动读ollama的模型列表,需要手工加模型列表,把前面默认LLM和embedding也改成列表里有的模型 比如我的ollama额配置: > > ``` > > - platform_name: ollama > > platform_type: ollama > > api_base_url: http://127.0.0.1:11434/v1 > > api_key: EMPTY >...
> 老哥,真巧,我正在看这个问题,我的llm想用qwen2:1.5b ,**我的ollama list如下:** `userland@localhost:/root/codes/Langchain-Chatchat/libs/chatchat-server/chatchat$ ollama list NAME qwen2:1.5b qwen:4b qwen2:7b quentinz/bge-large-zh-v1.5:latest qwen2:0.5b **我的model_setting如下:** “DEFAULT_LLM_MODEL: qwen2:1.5b DEFAULT_EMBEDDING_MODEL: quentinz/bge-large-zh-v1.5:latest MODEL_PLATFORMS: > > * platform_name: ollama > platform_type: ollama > api_base_url: http://127.0.0.1:11434/v1...
Doesn't Microsoft use Azure DevOps to ensure the basic quality of products? Building [MAUI official .net 6 samples](https://github.com/dotnet/maui-samples) using the latest official release of VS.net 2022 can easily reproduce this...