664 Commits

Author SHA1 Message Date
Alex O'Connell
5f627cae5b make readme not bland 2026-01-04 10:29:37 -05:00
Alex O'Connell
a281da3098 Merge branch 'main' into develop 2026-01-04 10:06:28 -05:00
Alex O'Connell
529a72a1bb Merge pull request #338 from acon96/release/v0.4.6
Release v0.4.6
v0.4.6
2026-01-04 10:03:51 -05:00
Alex O'Connell
77fd4b63bb readme/localization fixes 2026-01-04 10:03:00 -05:00
Alex O'Connell
0c6b0d229a Release v0.4.6 2026-01-04 09:48:38 -05:00
Alex O'Connell
67de000326 todo cleanup 2026-01-04 09:46:33 -05:00
Alex O'Connell
136a25f91b code cleanup to remove explicit constant name references to openai and anthropic 2026-01-04 09:10:29 -05:00
Alex O'Connell
35f8a337da Merge pull request #334 from Thomas-Busch-Waterloo/feature/anthropic-backend
Add Anthropic API backend support
2026-01-04 08:35:33 -05:00
Alex O'Connell
59dbed0994 Merge pull request #337 from evschlenz/annotate_dataset_generation_scripts
Annotate dataset generation scripts
2026-01-04 08:34:24 -05:00
Evian Schlenz
f96ded3abb Annotate generate_system_prompt 2025-12-31 01:48:47 +01:00
Evian Schlenz
5a3d37c56a Annotate format_example_sharegpt 2025-12-31 01:48:44 +01:00
Evian Schlenz
5ceff59c65 move PileOfTypes to utils 2025-12-31 01:35:36 +01:00
Evian Schlenz
242655af84 annotate random vars and small funcs 2025-12-31 01:21:27 +01:00
Evian Schlenz
c1b5d912d2 Annotate generate_random_parameter and get_random_response 2025-12-31 01:12:22 +01:00
Evian Schlenz
b3df3d5346 correctly type example generation functions 2025-12-31 00:58:22 +01:00
Evian Schlenz
44b296e6df correctly type get_random_state 2025-12-31 00:57:12 +01:00
Evian Schlenz
80669b6522 Rename pile types to not confuse with other type classes 2025-12-30 23:51:27 +01:00
Evian Schlenz
c26ef953c6 Do not use mutable objects as default 2025-12-30 23:47:54 +01:00
Evian Schlenz
b955897c18 make TypedDict types for piles 2025-12-30 18:31:47 +01:00
Thomas
ec741fdf6b Simplify backend label to 'Anthropic API' 2025-12-29 22:54:07 -05:00
Thomas
489c1fa1e0 Address PR feedback for Anthropic backend
- Remove cloud-first defaults, require base URL to be specified
- Use CONF_OPENAI_API_KEY instead of separate CONF_ANTHROPIC_API_KEY
- Merge anthropic_connection_schema into remote_connection_schema
- Use existing get_file_contents_base64 utility from utils
- Use Anthropic models list endpoint instead of hardcoded list
- Update anthropic SDK version requirement to >=0.75.0
- Remove trademark reference from UI labels
2025-12-29 22:43:53 -05:00
Thomas
202bc4aade Remove debug logging 2025-12-28 23:15:45 -05:00
Thomas
1c8f50e5f0 Fix: merge entry.data with options so API key and base_url are available 2025-12-28 23:08:03 -05:00
Thomas
c00e357b33 Add debug logging for model fetching 2025-12-28 23:07:14 -05:00
Thomas
fd0a1d4926 Fetch available models from API for compatible endpoints 2025-12-28 23:03:30 -05:00
Thomas
55248216b6 Fix auth headers for z.ai - remove Bearer prefix 2025-12-28 22:59:32 -05:00
Thomas
21b71d86a7 Fix auth for compatible APIs - use both Bearer and x-api-key headers 2025-12-28 22:48:14 -05:00
Thomas
c90676e081 Add Bearer auth header for Anthropic-compatible APIs 2025-12-28 22:43:36 -05:00
Thomas
738671d6b8 Add better error logging for Anthropic connection validation 2025-12-28 22:38:12 -05:00
Thomas
3c2257d9a6 Fix blocking SSL call by creating Anthropic client in executor 2025-12-28 22:23:40 -05:00
Thomas
e84e4c21f8 Add Anthropic API backend support
Adds a new backend for Anthropic API alongside existing backends
(Ollama, OpenAI, llama.cpp, etc.).

Features:
- Support for official Anthropic API (api.anthropic.com)
- Custom base URL support for Anthropic-compatible servers
- Streaming responses via Messages API
- Tool calling support with Home Assistant integration
- Vision support for image attachments

Files changed:
- backends/anthropic.py: New AnthropicAPIClient implementation
- const.py: Added backend type and configuration constants
- __init__.py: Registered new backend
- config_flow.py: Added connection schema and options
- manifest.json: Added anthropic>=0.40.0 dependency
- translations/en.json: Added UI labels
2025-12-28 21:51:23 -05:00
Alex O'Connell
831ef9bfca clean up training guide 2025-12-23 21:03:07 -05:00
Alex O'Connell
1a8c2e6152 Merge pull request #328 from acon96/feature/dataset-new-apis
Rewrite Dataset Generation & Training Pipeline
2025-12-23 21:01:06 -05:00
Alex O'Connell
12ba6d649d clean up readme and add new model 2025-12-21 23:03:44 -05:00
Alex O'Connell
1811a907f7 manually set roles to train on 2025-12-21 22:09:18 -05:00
Alex O'Connell
cf01fd29ae synthesize new data, update training job/configs 2025-12-21 14:14:31 -05:00
Alex O'Connell
4407aefdf5 more synthesizing scenarios + clean up example formatting 2025-12-21 13:31:43 -05:00
copilot-swe-agent[bot]
ecf9586b5a chore: localize new dataset piles
Co-authored-by: acon96 <35843486+acon96@users.noreply.github.com>
2025-12-21 04:32:25 +00:00
copilot-swe-agent[bot]
6e667b17cc fix: address dataset generation review feedback
Co-authored-by: acon96 <35843486+acon96@users.noreply.github.com>
2025-12-21 04:28:33 +00:00
copilot-swe-agent[bot]
eee2a6ed11 feat: add failure and refusal dataset examples
Co-authored-by: acon96 <35843486+acon96@users.noreply.github.com>
2025-12-21 04:26:09 +00:00
copilot-swe-agent[bot]
3846057bb2 Initial plan 2025-12-21 04:13:16 +00:00
Alex O'Connell
ee5d8c4a67 clean up training folder + update TODO 2025-12-20 23:10:00 -05:00
Alex O'Connell
0b776c0a23 add defaults for functiongemma 2025-12-20 22:41:26 -05:00
Alex O'Connell
0e4031ef43 wire up options to support functiongemma properly 2025-12-20 22:25:03 -05:00
Alex O'Connell
29d839eea8 mostly working gemma implementation 2025-12-20 20:29:09 -05:00
Alex O'Connell
672a9de65c extract tool calls from multiple keys 2025-12-20 18:07:27 -05:00
Alex O'Connell
ee2d2e7640 lets try functiongemma instead 2025-12-20 10:24:08 -05:00
Alex O'Connell
04e9bc1ee6 Merge branch 'develop' into feature/dataset-new-apis 2025-12-14 20:43:52 -05:00
Alex O'Connell
c8e0945264 Merge branch 'main' into develop 2025-12-14 20:23:47 -05:00
Alex O'Connell
8e68227971 Merge pull request #326 from acon96/release/v0.4.5
Release v0.4.5
v0.4.5
2025-12-14 20:23:27 -05:00