Adjust AI model settings and improve video metadata update functionality
Modify AI service to remove temperature setting and update storage logic to allow all metadata updates for admin edits in BunnyStorage. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/LY6xmBI
This commit is contained in:
@@ -57,7 +57,6 @@ Odgovori samo z opisom, brez dodatnih pojasnil.`;
|
||||
}
|
||||
],
|
||||
max_completion_tokens: Math.ceil(maxCharacters / 2), // Rough estimate: 2 characters per token
|
||||
temperature: 0.7,
|
||||
});
|
||||
|
||||
const description = response.choices[0].message.content?.trim() || "";
|
||||
|
||||
Reference in New Issue
Block a user