Skip to content

Refactor: Convert all relative bot imports to use project aliases #1007

@PeterDaveHello

Description

@PeterDaveHello

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]

-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 #1005 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions