Commit Graph

494 Commits

Author SHA1 Message Date
6a840069e1 Fix llama.cpp link in troubleshooting docs 2025-10-26 15:35:51 +01:00
7509722dfa Clarify port and api key assignments 2025-10-26 15:32:40 +01:00
a5e9e01ff4 Update screenshots 2025-10-26 15:25:53 +01:00
7063e83cd2 Improve OpenAPI docs styling 2025-10-26 15:00:30 +01:00
781921fc5a Refactor documentation headings 2025-10-26 14:50:42 +01:00
85e21596d9 Auto generate mkdocs api reference from swagger 2025-10-26 14:43:27 +01:00
975c740272 Add API key security definitions to Swagger documentation 2025-10-26 14:42:55 +01:00
e387280405 Update docs path in contributiong 2025-10-26 14:41:59 +01:00
58c8899fd9 Update import path for API documentation 2025-10-26 14:08:48 +01:00
f98b09ea78 Move apidocs to docs folder 2025-10-26 14:04:53 +01:00
90b65cad79 Update docs navigation 2025-10-26 13:57:16 +01:00
9e88b63fca Flatten the docs structure 2025-10-26 13:55:05 +01:00
52d8c2a082 Simplify README.md 2025-10-26 13:43:44 +01:00
108a977a9c Merge pull request #72 from lordmathis/refactor/handlers
refactor: Extract common helper functions in API handlers
2025-10-26 12:07:42 +01:00
969fee837f Fix instance name retrieval 2025-10-26 11:34:45 +01:00
4e587953d8 Refactor llama server command handlers to use a common execution function 2025-10-26 11:00:10 +01:00
356c5be2c6 Improve comments 2025-10-26 10:34:36 +01:00
836e918fc5 Rename ProxyToInstance to InstanceProxy for clarity in routing 2025-10-26 10:22:37 +01:00
a7593e9a58 Split LlamaCppProxy handler 2025-10-26 10:21:40 +01:00
9259763054 Add getInstance method to handlers 2025-10-26 09:54:24 +01:00
94dce4c9bb Implement helper response handling functions 2025-10-26 00:12:33 +02:00
a3f9213f04 Implement ensureInstanceRunning helper 2025-10-25 23:44:21 +02:00
de5a38e7fd Refactor command parsing 2025-10-25 20:23:08 +02:00
ea6c76cc96 Update multi valued flags in backends 2025-10-25 19:02:46 +02:00
bd6436840e Implement common ParseCommand interface 2025-10-25 18:41:46 +02:00
0a7420c9f9 Merge pull request #71 from lordmathis/refactor/proxy
refactor: Move all proxy handling to instance package
2025-10-25 16:32:32 +02:00
c038aac91b Remove redundant UpdateLast RequestTime calls 2025-10-25 16:09:57 +02:00
7d9b983f93 Don't strip remote llama-cpp proxy prefix 2025-10-25 16:02:09 +02:00
889df3cb79 Add API key header for remote instances in proxy build 2025-10-25 14:14:39 +02:00
ff719f3ef9 Remove remote instance proxy handling from handlers 2025-10-25 14:07:11 +02:00
6a973fae2d Fix tests 2025-10-25 00:14:42 +02:00
58f8861d17 Switch manager to global app config 2025-10-25 00:14:12 +02:00
eff59a86fd Remove proxy, logger and process init from UnmarshalJSON 2025-10-24 23:41:33 +02:00
174d1772d6 Implement remote proxy handling in instance 2025-10-24 23:16:45 +02:00
4bbf45f0b9 Merge pull request #70 from lordmathis/refactor/manager
refactor: Split instance manager into single focus structs
2025-10-22 20:21:15 +02:00
a9fb0d613d Validate instance name in openai proxy 2025-10-22 18:55:57 +02:00
3b8bc658e3 Add name validation to backend handlers 2025-10-22 18:50:51 +02:00
c6053f6afd Remove old validation tests 2025-10-22 18:50:38 +02:00
c794e4f98b Move instance name validation to handlers 2025-10-22 18:40:39 +02:00
0f2c14d3ed Validate instance names to prevent injection attacks 2025-10-22 00:02:23 +02:00
13f3bed5fe Add URL encoding for instance name in API calls in webui 2025-10-21 23:36:26 +02:00
7c2c02ab2f Use url escape instead for instance name param 2025-10-21 23:24:27 +02:00
e0289ff42f Add instance name validation for URL safety and corresponding tests 2025-10-21 23:16:20 +02:00
bc025bbe28 Fix instance name validation 2025-10-21 22:57:23 +02:00
c6ebe47511 Fix path validation false positive 2025-10-21 22:47:41 +02:00
9bb106a1ce Remove deprecated operation mutex in instanceManager 2025-10-21 22:38:00 +02:00
bac18b5626 Unexport factory functions 2025-10-21 22:37:10 +02:00
2b51b4a47f Simplify manager tests 2025-10-21 22:30:08 +02:00
c44712e813 Remove redundant instance manager tests 2025-10-21 22:15:12 +02:00
6afe120a0e Implement more manager tests 2025-10-21 22:07:10 +02:00