Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
你好!我最近在使用这个项目时,发现并修复了几个小问题,想分享给大家:
主要改了 3 个地方:
语言限制问题
之前发现选择小红书平台只能输出中文,推特只能输出英文,我做了修改。两个平台都能更灵活地支持两种语言了。
新增了 Gitee.ai 支持
Gitee.ai(模力方舟)是国内开源平台Gitee(码云)下的AI应用共创平台。
兼容 OpenAI 的接口规范,可直接用 OpenAI SDK 进行调用。我给项目加上了 Gitee.ai 的 API 接口(删除代码对api_key的“sk”开头判断)。
修改了文档里的错别字
在 README 里看到几处"script"加了s 和 "run_generation.sh" 写成“run_pragent.sh”,就一起改过来了。
测试了一下:
如果您觉得合适的话,希望能合并