Refactor: Convert all relative bot imports to use project aliases
- Ngôn ngữ chính
- JavaScript
- Star
- 16.5k
- Fork
- 1.7k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Suggestion:** Use the project's alias (`@/bots/openai/...`) instead of relative paths to import new bot modules for consistency with other imports. [general, importance: 5]
```diff
-import OpenAIAPI41Bot from "./openai/OpenAIAPI41Bot";
-import OpenAIAPI41MiniBot from "./openai/OpenAIAPI41MiniBot";
-import OpenAIAPI41NanoBot from "./openai/OpenAIAPI41NanoBot";
+import OpenAIAPI41Bot from "@/bots/openai/OpenAIAPI41Bot";
+import OpenAIAPI41MiniBot from "@/bots/openai/OpenAIAPI41MiniBot";
+import OpenAIAPI41NanoBot from "@/bots/openai/OpenAIAPI41NanoBot";
```
_Originally posted by @PeterBot in https://github.com/ai-shifu/ChatALL/pull/1005#discussion_r2051138618_
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.