Commit Graph
260 Commits
Author SHA1 Message Date
KernelDeimos 5746c7156a dev: migrate Mistral to new controller 2024-11-25 12:10:22 -05:00
KernelDeimos e6928cf6c7 sync: add llama-3.1-70b-specdec 2024-11-25 12:10:22 -05:00
KernelDeimos 4015c531f5 dev: migrate Groq to new controller 2024-11-25 12:10:22 -05:00
KernelDeimos 2c3eb93d22 sync: model info 2024-11-25 12:10:22 -05:00
KernelDeimos 7fa11a4ca0 dev: apply openai moderation to claude and xai 2024-11-24 18:14:50 -05:00
KernelDeimos ef7047ede4 dev: allow extensions to audit prompts 2024-11-24 18:14:50 -05:00
KernelDeimos df42d433c9 ops: don't allow no origin 2024-11-24 18:14:50 -05:00
jelveh 66016b9db6 feat: record signup metadata for abuse prevention
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2024-11-24 13:00:43 -08:00
KernelDeimos e0df5429ce dev: add validator middleware 2024-11-24 14:27:37 -05:00
KernelDeimos 78da140cd6 dev: add server id 2024-11-24 13:37:13 -05:00
KernelDeimos 86bf08ccc0 dev: add metadata column 2024-11-24 13:34:54 -05:00
jelveh 3cedd17b8e fix: app query should return app metadata 2024-11-23 19:08:40 -08:00
jelveh 0980f7c585 tweak: trim description in the output html for homepage 2024-11-23 11:03:54 -08:00
jelveh b6a9d957aa tweak: clean up some dead imports 2024-11-23 10:44:45 -08:00
jelveh a2c7b379f8 fix: safe parsing of app metadata 2024-11-23 08:48:14 -08:00
jelveh be36d31509 feat: allow developers to set social media images for their apps
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2024-11-22 17:59:00 -08:00
KernelDeimos 791c6f11f4 dev: max tokens for claude 2024-11-22 17:42:01 -05:00
KernelDeimos aa3dcea462 refactor: central controller for all LLM services
Adds AIChatService, an implementor of puter-chat-completion which can
delegate to other implementors (implementors that have registered with
AIChatService at initialization) based on details of the request.

Makes AIChatService the test implementation. AIChatService then
delegates to FakeChatService when in test mode.

Adds `models()` method to puter-chat-completion. This method, instead of
returning only the names of supported models, includes other details
such as the cost and maximum output size.

Implements `models()` on Claude and XAI.

Registers Claude and XAI with AIChatService.
2024-11-22 15:52:37 -05:00
KernelDeimos 791f7748c7 fix: configuration for browser launch
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
Makes browser launch on startup configurable. Also, by default, users of
Arch Linux will not be subjected to this behavior (they won't like it).
2024-11-22 13:58:33 -05:00
KernelDeimos 960a9ec9ee dev: set claude back 2024-11-22 11:28:44 -05:00
KernelDeimos ee7bedd558 fix: previous fix 2024-11-22 10:37:00 -05:00
KernelDeimos 56710e17f3 fix: always adapt model for ClaudeEnough 2024-11-22 10:34:21 -05:00
KernelDeimos 1e15696096 Eh, Claude enough...
Replaces Claude with Grok pretending to be Claude. This is in lieu of a
proper fallback system which will be implemented later.

Grok will always say it's pretending to be Claude rather than
identifying itself as Claude.
2024-11-22 10:13:49 -05:00
jelveh f500fb4706 fix: automatically open browser when starting only if in dev env 2024-11-22 07:11:05 -08:00
KernelDeimos f533dca1a6 fix: image generation supports test mode 2024-11-22 09:22:24 -05:00
jelveh 2d4312972a feat: automatically open the browser when starting Puter
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2024-11-21 22:51:43 -08:00
Nariman Jelveh 971aa4cd0a Revert "Added installation instructions for public hosting to readme" 2024-11-21 16:02:27 -08:00
Nariman Jelveh 3f34301fc5 Merge pull request #715 from decipher2k/main
Added installation instructions for public hosting to readme
2024-11-21 16:02:08 -08:00
KernelDeimos 7f30ec46e7 test: add more thumbnailer tests 2024-11-21 15:45:37 -05:00
KernelDeimos 03817cd5c7 dev: thumbnail tests and readings 2024-11-21 14:09:56 -05:00
KernelDeimos d93fd419e4 dev: add human_readable_age to /whoami 2024-11-21 11:03:40 -05:00
KernelDeimos 16257a7b54 fix: permission grants in open_item 2024-11-20 21:00:03 -05:00
KernelDeimos 5e463e1db8 dev: validate metadata 2024-11-20 17:17:23 -05:00
KernelDeimos e6986d5216 dev: add share metadata and messages 2024-11-20 17:01:32 -05:00
KernelDeimos c7419d18df dev: add /acl/set-user-user 2024-11-20 15:36:00 -05:00
KernelDeimos 70d8e837af dev: prevent sharing a file to the same user twice 2024-11-20 15:23:46 -05:00
KernelDeimos 4396630453 dev: add /acl/stat-user-user
This new endpoint shows permissions granted by the current user to the
specified user in the scope of a specified filesystem node, including
permissions on the affecting parent nodes.

This is related to two future tasks:
- prevent users from sharing a file with the same user twice
- add an endpoint to modify the access mode of a shared file
2024-11-20 14:57:20 -05:00
KernelDeimos d911754e2b dev: fix test_mode flag 2024-11-20 12:03:39 -05:00
KernelDeimos 36ca7f63aa dev: update referral and share notifs 2024-11-19 16:47:41 -05:00
KernelDeimos 0fa3be9d43 clean: cleanup backend logs 2024-11-19 15:00:04 -05:00
KernelDeimos dca7892fca sync: update CoreModule 2024-11-19 14:39:17 -05:00
KernelDeimos e0f4c527f4 dev: migrate referral service and use user.email-confirmed event 2024-11-19 14:31:33 -05:00
KernelDeimos 01725ffebf fix: potential null-or-undefined in DriverService 2024-11-19 13:08:58 -05:00
KernelDeimos 7ed557f375 dev: add fake chat service, for testing 2024-11-19 13:08:39 -05:00
KernelDeimos 86789920c4 dev: apply all relevant shares on verified email 2024-11-19 12:40:03 -05:00
KernelDeimos 0fd3b1e611 fix: usage bug 2024-11-19 11:08:54 -05:00
KernelDeimos 7e7234b2f3 fix: update share email 2024-11-19 10:28:42 -05:00
KernelDeimos 59fa600f2b dev: edge rate limit for email share
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2024-11-16 20:04:23 -05:00
KernelDeimos e0128aa88c fix: prevent permission cycles
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2024-11-15 18:47:47 -05:00
KernelDeimos 08779ac455 dev: make share feature flag reflect user state 2024-11-15 13:40:24 -05:00