Skip to content

Commit

Permalink
fix: fix incorrect module import
Browse files Browse the repository at this point in the history
  • Loading branch information
MadratJerry committed Aug 18, 2024
1 parent 26316d6 commit 9dfcea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/bot/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from github import Github
from petercat_utils import get_client
from petercat_utils.data_class import RAGGitDocConfig
from petercat_utils.rag_helper.git_doc_task import add_rag_git_doc_task
from petercat_utils import git_doc_task
from prompts.bot_template import generate_prompt_by_repo_name

g = Github()
Expand Down Expand Up @@ -53,7 +53,7 @@ def trigger_rag_task(repo_name: str, bot_id: str):
file_path="",
commit_id="",
)
add_rag_git_doc_task(config)
git_doc_task.add_rag_git_doc_task(config)
except Exception as e:
print(f"trigger_rag_task error: {e}")

Expand Down

0 comments on commit 9dfcea1

Please sign in to comment.