Update
This commit is contained in:
1 parent
b780bff850
commit
7b3ea37127
1752 files changed
+1341
-166
No files matched your search
@@ -31,7 +31,7 @@ export class OpenRouterClient {
|
||||
this.logger.debug('Quick gender detection...');
|
||||
|
||||
const response = await this.client.chat.completions.create({
|
||||
model: this.config.openrouter.model,
|
||||
model: this.config.openrouter.imageAnalysisModel,
|
||||
messages: [
|
||||
{
|
||||
role: 'user',
|
||||
@@ -75,7 +75,7 @@ Then provide your analysis:
|
||||
${this.config.openrouter.imageAnalysisPrompt}`;
|
||||
|
||||
const response = await this.client.chat.completions.create({
|
||||
model: this.config.openrouter.model,
|
||||
model: this.config.openrouter.imageAnalysisModel,
|
||||
messages: [
|
||||
{
|
||||
role: 'user',
|
||||
@@ -144,7 +144,7 @@ ${this.config.openrouter.imageAnalysisPrompt}`;
|
||||
}
|
||||
|
||||
const response = await this.client.chat.completions.create({
|
||||
model: this.config.openrouter.model,
|
||||
model: this.config.openrouter.chatModel,
|
||||
messages: [{ role: 'user', content: prompt }],
|
||||
max_tokens: 300,
|
||||
temperature: 0.8, // Add some creativity
|
||||
|
||||
Reference in new issue
Block a user