Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mentell",
"private": true,
"version": "1.16.8",
"version": "1.16.9",
"type": "module",
"scripts": {
"sync:assets": "node scripts/sync-assets.mjs",
Expand Down
2 changes: 1 addition & 1 deletion worker/src/riskAssessment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type RequestBody = {
}

const GUARD_MODEL = '@cf/meta/llama-guard-3-8b'
const RESPONSE_MODEL = '@cf/meta/llama-3.3-70b-instruct-fp8-fast'
const RESPONSE_MODEL = '@cf/meta/llama-4-scout-17b-16e-instruct'
const SENTIMENT_MODEL = '@cf/huggingface/distilbert-sst-2-int8'
const POSITIVE_ENCOURAGEMENT_THRESHOLD = -0.85
const POSITIVE_EXCE_THRESHOLD = 4
Expand Down
2 changes: 1 addition & 1 deletion worker/src/weeklySummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type RequestBody = {

const HOUR_LIMIT = 24
const DAY_LIMIT = 80
const MODEL = '@cf/meta/llama-3.3-70b-instruct-fp8-fast'
const MODEL = '@cf/meta/llama-4-scout-17b-16e-instruct'

export async function handleWeeklySummary(request: Request, env: Env): Promise<Response> {
const origin = request.headers.get('Origin')
Expand Down