Jo

Results 65 comments of Jo

The root cause is that Chrome open its Cookie file in the exclusive mode ([set `dwShareMode` to 0 in `CreateFileW`](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters)), so Windows prevents any process to access the file again....

> Is there any way to set something to change the cookie file share mode on Windows? As far as I know, there is not. > This problem seems to...

I'm struggling to construct a `url:Url` which seralizes to `file:///${PROJECT_ROOT}/../a`. - `Url:parse("file:///${PROJECT_ROOT}/../a")` and `url.set_path("${PROJECT_ROOT}/../a")` will shorten the `..`, resulting in `file:///a`. - `Url::from_file_path("/${PROJECT_ROOT}/../a")` panics on Windows. The only workaround I've...

@bluss I see three approaches: 1. Add a `cwd` option proposed in #930, but it should support some special variabes to support your use cases, for example `pwd = {...

Current behavior makes relative file path in the cmd does not work, see #930 Since `scripts` are defined in `pyproject.toml`, it is natural to think that relative path are resloved...

Hasn't it already been landed in Go 1.22? Here's the reference: https://go.dev/doc/go1.22#math_rand_v2

Thanks, this might not be easy. We’re faced with two challenges: 1. We need a more capable storage system allowing concurrent reads and writes, like SQLite?, instead of a plain...

Thank you. To support other LLMs, we may need to implement an abstraction layer for the LLM API. Integrate a tool like [langchain-go](https://github.com/tmc/langchaingo) could be a viable solution. I'll look...

经典的 GBK 编码问题,我研究下怎么解决 ![image](https://github.com/j178/chatgpt/assets/10510431/1fccfd9c-2762-43df-8785-47a8da15a2a0) Ref: https://zhuanlan.zhihu.com/p/138590745

因为底层依赖 bubbletea 目前只支持 UTF8,所以这个编码问题在我这一侧暂时无解。不过从你的角度可以通过修改 code page 为 utf8 来解决,相关链接:https://stackoverflow.com/questions/57131654/using-utf-8-encoding-chcp-65001-in-command-prompt-windows-powershell-window