Commit graph

17 commits

Author SHA1 Message Date
kingbri
830301b2b4 Actions: Update and add Wiki publish
Publishes the github wiki and runs these in concurrency groups
to avoid spawning multiple actions at a time.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-02-17 23:47:38 -05:00
kingbri
153dac496c Args: Fix imports and handling of export openapi
The api-servers arg is passed when running subcommands, so use that
instead of replicating the arg again.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-02-10 23:19:44 -05:00
kingbri
30ab8e04b9 Args: Add subcommands to run actions
Migrate OpenAPI and sample config export to subcommands "export-openapi"
and "export-config".

Also add a "download" subcommand that passes args to the TabbyAPI
downloader. This allows models to be downloaded via the API and
CLI args.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-02-10 23:14:22 -05:00
TerminalMan
3aeddc5255
fix issues with optional dependencies (#204)
* fix issues with optional dependencies

* format document

* Tree: Format and comment
2024-09-19 22:24:55 -04:00
kingbri
ac4b3100d0 Actions: Fix pages build
The args openapi export does not work, so use environment vars for
the time being.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-09-18 21:02:56 -04:00
TerminalMan
0903f852db add export openAPI to config 2024-09-15 00:17:36 +01:00
Amgad Hasan
872eeed581
Build and push docker image (#171)
* Create docker-image.yml

* Update docker-image.yml
2024-08-26 16:18:10 -04:00
kingbri
9cc0e70098 Actions: Build kobold docs subpage
Signed-off-by: kingbri <bdashore3@proton.me>
2024-08-08 16:40:50 -04:00
kingbri
1aa934664c Issues: Update issue templates
Use forms instead of markdown templates.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-08-03 21:59:02 -04:00
kingbri
8a81fe2eb4 Actions: Add Github Pages deploy
Deploys OpenAPI documentation to pages.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-07-08 15:04:27 -04:00
kingbri
d03752e31b Issues: Fix template
Correct Discord invite link.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-06-23 21:52:01 -04:00
Brian Dashore
643b53e347
Create FUNDING.yml
Add ko-fi link.

Signed-off-by: kingbri <bdashore3@gmail.com>
2024-05-09 19:00:41 +00:00
kingbri
51b289cab2 Actions: Fix workflows
Adopt to new pyproject install method

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-20 15:21:37 -04:00
Brian Dashore
17636ed899 Create pull request template
Asks users to give more information when committing a pull request.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-02-09 14:53:29 -05:00
Brian Dashore
c3601bdd18
Issues: Disable blank issues
Users must follow the appropriate issue templates

Signed-off-by: kingbri <bdashore3@proton.me>
2024-02-09 14:48:03 -05:00
Brian Dashore
aa56ff829f
Add issue templates
Creates templates for issues to help guide users in the right direction when making a bug report or request.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-02-09 14:43:33 -05:00
AlpinDale
fa47f51f85
feat: workflows for formatting/linting (#35)
* add github workflows for pylint and yapf

* yapf

* docstrings for auth

* fix auth.py

* fix generators.py

* fix gen_logging.py

* fix main.py

* fix model.py

* fix templating.py

* fix utils.py

* update formatting.sh to include subdirs for pylint

* fix model_test.py

* fix wheel_test.py

* rename utils to utils_oai

* fix OAI/utils_oai.py

* fix completion.py

* fix token.py

* fix lora.py

* fix common.py

* add pylintrc and fix model.py

* finish up pylint

* fix attribute error

* main.py formatting

* add formatting batch script

* Main: Remove unnecessary global

Linter suggestion.

Signed-off-by: kingbri <bdashore3@proton.me>

* switch to ruff

* Formatting + Linting: Add ruff.toml

Signed-off-by: kingbri <bdashore3@proton.me>

* Formatting + Linting: Switch scripts to use ruff

Also remove the file and recent file change functions from both
scripts.

Signed-off-by: kingbri <bdashore3@proton.me>

* Tree: Format and lint

Signed-off-by: kingbri <bdashore3@proton.me>

* Scripts + Workflows: Format

Signed-off-by: kingbri <bdashore3@proton.me>

* Tree: Remove pylint flags

We use ruff now

Signed-off-by: kingbri <bdashore3@proton.me>

* Tree: Format

Signed-off-by: kingbri <bdashore3@proton.me>

* Formatting: Line length is 88

Use the same value as Black.

Signed-off-by: kingbri <bdashore3@proton.me>

* Tree: Format

Update to new line length rules.

Signed-off-by: kingbri <bdashore3@proton.me>

---------

Authored-by: AlpinDale <52078762+AlpinDale@users.noreply.github.com>
Co-authored-by: kingbri <bdashore3@proton.me>
2023-12-22 16:20:35 +00:00