Chore(deps): Bump actions/checkout from 5 to 6 (#1314)
* Chore(deps): Bump actions/checkout from 5 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Configure Git Credentials
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
markdown-link-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: tcort/github-action-markdown-link-check@v1
|
||||
with:
|
||||
use-quiet-mode: 'yes'
|
||||
|
||||
@@ -4,7 +4,7 @@ jobs:
|
||||
markdown-link-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: tcort/github-action-markdown-link-check@v1
|
||||
with:
|
||||
use-quiet-mode: 'yes'
|
||||
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
shell: bash -l {0}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: "${{ matrix.python-version }}"
|
||||
|
||||
@@ -564,9 +564,9 @@ class BashCodeBlockParser(AbstractParseFunction, BaseModel):
|
||||
if not matches:
|
||||
msg = "No bash code blocks were detected in your output."
|
||||
raise FormatError(msg)
|
||||
thouht = pattern.sub("<extracted_code_block>", model_response["message"])
|
||||
thought = pattern.sub("<extracted_code_block>", model_response["message"])
|
||||
action = "\n".join(matches)
|
||||
return thouht, action
|
||||
return thought, action
|
||||
|
||||
|
||||
class SingleBashCodeBlockParser(AbstractParseFunction, BaseModel):
|
||||
@@ -599,9 +599,9 @@ class SingleBashCodeBlockParser(AbstractParseFunction, BaseModel):
|
||||
"You need to include EXACTLY ONE bash code block in your output."
|
||||
)
|
||||
raise FormatError(msg)
|
||||
thouht = pattern.sub("<extracted_code_block>", model_response["message"])
|
||||
thought = pattern.sub("<extracted_code_block>", model_response["message"])
|
||||
action = "\n".join(matches)
|
||||
return thouht, action
|
||||
return thought, action
|
||||
|
||||
|
||||
ParseFunction = (
|
||||
|
||||
@@ -20,8 +20,8 @@ class InteractiveDummyCommand:
|
||||
def __call__(self):
|
||||
self.start()
|
||||
while True:
|
||||
inpt = input(self.PROMPT)
|
||||
cmd, _, args = inpt.partition(" ")
|
||||
input = input(self.PROMPT)
|
||||
cmd, _, args = input.partition(" ")
|
||||
if cmd == "stop":
|
||||
self.stop()
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user