Junlong
Junlong
+1 Does need to create a Python file in hand by autogpt's ACTION?
https://github.com/Significant-Gravitas/Auto-GPT/issues/1629 hi. @nponeccop Here are my thinks about i18n. We can add search in multi-language first. https://github.com/Significant-Gravitas/Auto-GPT/issues/1879 here are another PR about i18n, it support ai logging in multi language.
@andersonlthome Hey, I have done it, you can review my PR. And I found a discussion about the i18n feature, we can talk with masters over there. https://github.com/Significant-Gravitas/Auto-GPT/issues/1563
lol, look here https://github.com/Significant-Gravitas/Auto-GPT/issues/1879
> 输入中文给我报错 UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 48-49: invalid continuation byte > 输入中文给我报错 UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 48-49: invalid continuation byte 别在命令行打字输入,先在编辑器里打好字,然后粘贴复制过去,命令行打中文可能会有隐藏字符
我在https://github.com/Significant-Gravitas/Auto-GPT/issues/1629 这个需求里 实现了支持中文搜索谷歌。 没必要使用百度搜索,一些中文页面也会被谷歌收录的。你的难点应该是在于 如何使用中文搜索资料。
下次合并窗口[PR7](https://github.com/Significant-Gravitas/Auto-GPT/issues/2256),master分支就支持多语言输入输出了,我提了两个PR已经在路上了
现在想使用的话,需要把这两个PR先合到自己的本地分支,然后把两个环境变量改成zh-CN就行了。 https://github.com/Significant-Gravitas/Auto-GPT/pull/1880 https://github.com/Significant-Gravitas/Auto-GPT/pull/1781
提供一个比较”省事“的Golang堆初始化 ``` type hp struct{ sort.IntSlice } func (h hp) Less(i, j int) bool { return h.IntSlice[i] > h.IntSlice[j] } func (h *hp) Push(v interface{}) { h.IntSlice = append(h.IntSlice, v.(int))...