-
Notifications
You must be signed in to change notification settings - Fork 968
feat:support cnb repo #303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# TODO: | ||
|
||
- [x] 1: 检查src/app/page.tsx中parseRepositoryInput函数,确保cnb.cool被正确识别为cnb类型 (priority: High) | ||
- [x] 4: 修复src/app/page.tsx中handleGenerateWiki函数,确保URL参数中type使用解析出的type而不是selectedPlatform (priority: High) | ||
- [x] 15: 移除src/app/[owner]/[repo]/page.tsx中所有错误的API调用逻辑(GitHub、GitLab、Bitbucket、CNB等平台API) (priority: High) | ||
- [x] 16: 移除api/api.py中不必要的CNB API代理端点 (priority: High) | ||
- [x] 18: 简化前端仓库信息获取逻辑,确保只传递仓库URL和token给后端 (priority: High) | ||
- [x] 20: 移除src/app/page.tsx中CNB类型强制要求token的限制 (priority: High) | ||
- [x] 21: 移除next.config.ts中CNB API代理配置 (priority: High) | ||
- [x] 25: 修改README.md中的平台描述,将"GitHub, GitLab, or BitBucket"更新为"GitHub, GitLab, BitBucket, or CNB" (priority: High) | ||
- [x] 26: 更新src/messages/下所有语言文件中的平台描述,添加CNB支持 (priority: High) | ||
- [x] 17: 移除api/requirements.txt中不必要的httpx依赖 (priority: Medium) | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"i18n-ally.localesPaths": [ | ||
"src/messages" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
{ | ||
"embedder": { | ||
"client_class": "OpenAIClient", | ||
"batch_size": 500, | ||
"initialize_kwargs": { | ||
"api_key": "${OPENAI_API_KEY}", | ||
"base_url": "${OPENAI_BASE_URL}" | ||
}, | ||
"batch_size": 10, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
"model_kwargs": { | ||
"model": "text-embedding-3-small", | ||
"model": "text-embedding-v4", | ||
"dimensions": 256, | ||
"encoding_format": "float" | ||
} | ||
}, | ||
"embedder_ollama": { | ||
"client_class": "OllamaClient", | ||
"model_kwargs": { | ||
"model": "nomic-embed-text" | ||
} | ||
}, | ||
"retriever": { | ||
"top_k": 20 | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file appears to be a personal TODO list for tracking development tasks. Such files are not typically committed to the project's source control. It should be removed before merging.