Skip to content

Commit

Permalink
fix: solve the issue of task tigger
Browse files Browse the repository at this point in the history
  • Loading branch information
xingwanying committed Oct 16, 2024
1 parent 9b8e679 commit 792fe25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion petercat_utils/rag_helper/git_doc_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def add_rag_git_doc_task(config: RAGGitDocConfig, extra=None):
extra["node_type"] = GitDocTaskNodeType.BLOB.value

sha = get_path_sha(repo, commit_id, config.file_path)

doc_task = GitDocTask(
commit_id=commit_id,
sha=sha,
Expand Down Expand Up @@ -128,6 +127,7 @@ def handle_tree_node(self):
repo_name=record["repo_name"],
node_type=record["node_type"],
path=record["path"],
bot_id=self.bot_id,
)
doc_task.send()

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "petercat_utils"
version = "0.1.37"
version = "0.1.38"
description = ""
authors = ["raoha.rh <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 792fe25

Please sign in to comment.