mirror of
https://github.com/run-llama/crossposter.git
synced 2026-07-01 21:24:04 -04:00
Bluesky LLM fix
This commit is contained in:
@@ -428,7 +428,7 @@ export async function GET(request: Request) {
|
||||
|
||||
// bluesky needs to be rephrased if it's over 300 characters
|
||||
if (drafts.bluesky.length > 300) {
|
||||
const response = await Settings.llm.complete({
|
||||
const response = await llm.complete({
|
||||
prompt: `
|
||||
This bluesky draft is too long. Rephrase it be at 300 characters or less.
|
||||
As much as possible, maintain @-mentions. The post likely ends with a URL,
|
||||
|
||||
Reference in New Issue
Block a user