chore: update 9 file(s)
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -33,3 +33,5 @@ __pycache__/
|
|||||||
*.tmp
|
*.tmp
|
||||||
temp/
|
temp/
|
||||||
dist/
|
dist/
|
||||||
|
.aider*
|
||||||
|
*.iml
|
||||||
|
|||||||
24
LICENSE
24
LICENSE
@@ -1,24 +0,0 @@
|
|||||||
BSD 2-Clause License
|
|
||||||
|
|
||||||
Copyright (c) 2025, finish contributors
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
1. Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
||||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
@@ -13,10 +13,10 @@ sudo apt-get install python3-venv
|
|||||||
|
|
||||||
# Then run the installer
|
# Then run the installer
|
||||||
curl -sSL https://git.appmodel.nl/tour/finish/raw/branch/main/docs/install.sh | bash
|
curl -sSL https://git.appmodel.nl/tour/finish/raw/branch/main/docs/install.sh | bash
|
||||||
source ~/.bashrc # or ~/.zshrc
|
source ~/.bashrc # or ~/.zshrc
|
||||||
|
|
||||||
# for plato special, add plato.lan to /etc/hosts:
|
# for plato special, add plato.lan to /etc/hosts:
|
||||||
sudo nano /etc/hosts - 192.168.1.74 plato.lan
|
sudo nano /etc/hosts - 192.168.1.74 plato.lan
|
||||||
```
|
```
|
||||||
|
|
||||||
Press **Alt+\\** after typing any command to get intelligent completions—no cloud, no data leak, instant results.
|
Press **Alt+\\** after typing any command to get intelligent completions—no cloud, no data leak, instant results.
|
||||||
|
|||||||
30
debian/copyright
vendored
30
debian/copyright
vendored
@@ -1,30 +0,0 @@
|
|||||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
||||||
Upstream-Name: finish
|
|
||||||
Upstream-Contact: https://git.appmodel.nl/tour/finish/finish
|
|
||||||
Source: https://git.appmodel.nl/tour/finish
|
|
||||||
|
|
||||||
Files: *
|
|
||||||
Copyright: 2024-2025 finish.sh Contributors
|
|
||||||
License: BSD-2-Clause
|
|
||||||
|
|
||||||
License: BSD-2-Clause
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
.
|
|
||||||
1. Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
.
|
|
||||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
.
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
||||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- finish-data:/root/.finish
|
- finish-data:/root/.finish
|
||||||
environment:
|
environment:
|
||||||
- ACSH_ENDPOINT=http://plato.lan:1234/v1/chat/completions
|
- ACSH_ENDPOINT=http://llm.plato/v1/chat/completions
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
command: /bin/bash
|
command: /bin/bash
|
||||||
|
|||||||
12
finish.iml
12
finish.iml
@@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="WEB_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$">
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/.git" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/tests" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
||||||
@@ -34,7 +34,7 @@ console = Console()
|
|||||||
DEFAULT_CFG = {
|
DEFAULT_CFG = {
|
||||||
"provider": "ollama",
|
"provider": "ollama",
|
||||||
"model": "llama3:latest",
|
"model": "llama3:latest",
|
||||||
"endpoint": "http://localhost:11434/api/chat",
|
"endpoint": os.getenv("LLM_FINISH_URL", "http://localhost:11434/api/chat"),
|
||||||
"temperature": 0.0,
|
"temperature": 0.0,
|
||||||
"api_prompt_cost": 0.0,
|
"api_prompt_cost": 0.0,
|
||||||
"api_completion_cost": 0.0,
|
"api_completion_cost": 0.0,
|
||||||
|
|||||||
1072
src/finish.sh
1072
src/finish.sh
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user