Skip to content

Commit 615c917

Browse files
wangjunwei321wjunwei2001
authored andcommitted
Attempted to fix llama tool calling bug. General logic is in but still yet to be resolved as there are too many ways to hallucinate
1 parent ccc7281 commit 615c917

File tree

2 files changed

+386
-312
lines changed

2 files changed

+386
-312
lines changed

.pre-commit-config.yaml

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# See https://pre-commit.com for more information
2-
# See https://pre-commit.com/hooks.html for more hooks
3-
fail_fast: true
4-
default_stages: [pre-commit]
5-
6-
repos:
7-
- repo: https://github.com/psf/black
8-
rev: 24.10.0
9-
hooks:
10-
- id: black
11-
args: [--config, pyproject.toml]
12-
types: [python]
13-
14-
- repo: https://github.com/charliermarsh/ruff-pre-commit
15-
rev: "v0.7.3"
16-
hooks:
17-
- id: ruff
18-
args: [--fix, --exit-non-zero-on-fix]
19-
20-
- repo: https://github.com/pre-commit/pre-commit-hooks
21-
rev: v5.0.0
22-
hooks:
23-
- id: check-toml
24-
- id: check-yaml
25-
- id: detect-private-key
26-
- id: end-of-file-fixer
27-
- id: trailing-whitespace
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
fail_fast: true
4+
default_stages: [pre-commit]
5+
6+
repos:
7+
- repo: https://github.com/psf/black
8+
rev: 24.10.0
9+
hooks:
10+
- id: black
11+
args: [--config, pyproject.toml]
12+
types: [python]
13+
14+
- repo: https://github.com/charliermarsh/ruff-pre-commit
15+
rev: "v0.7.3"
16+
hooks:
17+
- id: ruff
18+
args: [--fix, --exit-non-zero-on-fix]
19+
20+
- repo: https://github.com/pre-commit/pre-commit-hooks
21+
rev: v5.0.0
22+
hooks:
23+
- id: check-toml
24+
- id: check-yaml
25+
- id: detect-private-key
26+
- id: end-of-file-fixer
27+
- id: trailing-whitespace

0 commit comments

Comments
 (0)