This repository was archived by the owner on Jun 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
src/codegate/pipeline/cli Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2626 uses : docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3
2727 - name : Download artifact
2828 id : download-artifact
29- uses : dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
29+ uses : dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
3030 with :
3131 github_token : ${{ github.token }}
3232 workflow : " .github/workflows/import_packages.yml"
Original file line number Diff line number Diff line change 5757 type=semver,pattern=v{{major}}.{{minor}}
5858 - name : Download artifact
5959 id : download-artifact
60- uses : dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
60+ uses : dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
6161 with :
6262 github_token : ${{ github.token }}
6363 workflow : " .github/workflows/import_packages.yml"
Original file line number Diff line number Diff line change 3333
3434 - name : Download json data
3535 id : download-json-data
36- uses : dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
36+ uses : dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
3737 with :
3838 repo : stacklok/codegate-data
3939 workflow : " .github/workflows/generate-artifact.yml"
4747 - name : Download artifact
4848 if : ${{ github.event.inputs.enable_artifact_download == 'true' }}
4949 id : download-artifact
50- uses : dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
50+ uses : dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
5151 with :
5252 github_token : ${{ github.token }}
5353 workflow : " .github/workflows/import_packages.yml"
Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ async def process(
7979 last_user_message_str , _ = last_user_message
8080 last_user_message_str = last_user_message_str .strip ()
8181 is_cline_client = any (
82- "Cline" in str (message .get ("content" , "" )) for message in request . get ( "messages" ,
83- [])
82+ "Cline" in str (message .get ("content" , "" ))
83+ for message in request . get ( "messages" , [])
8484 )
8585 if not is_cline_client :
8686 # Check if "codegate" is the first word in the message
@@ -90,7 +90,7 @@ async def process(
9090 xml_start = re .search (r"<[^>]+>" , last_user_message_str )
9191 if xml_start :
9292 # Start processing only from the first XML tag
93- relevant_message = last_user_message_str [xml_start .start ():]
93+ relevant_message = last_user_message_str [xml_start .start () :]
9494 # Remove all XML tags and trim whitespace
9595 stripped_message = re .sub (r"<[^>]+>" , "" , relevant_message ).strip ()
9696 # Check if "codegate" is the first word
You can’t perform that action at this time.
0 commit comments