Fix ESLint issues

This commit is contained in:
Stijnus
2025-01-28 11:39:12 +01:00
parent 58d3853cd6
commit c4c73622f5
44 changed files with 4193 additions and 3291 deletions

View File

@@ -19,7 +19,12 @@ export default class GroqProvider extends BaseProvider {
{ name: 'llama-3.2-3b-preview', label: 'Llama 3.2 3b (Groq)', provider: 'Groq', maxTokenAllowed: 8000 },
{ name: 'llama-3.2-1b-preview', label: 'Llama 3.2 1b (Groq)', provider: 'Groq', maxTokenAllowed: 8000 },
{ name: 'llama-3.3-70b-versatile', label: 'Llama 3.3 70b (Groq)', provider: 'Groq', maxTokenAllowed: 8000 },
{ name: 'deepseek-r1-distill-llama-70b', label: 'Deepseek R1 Distill Llama 70b (Groq)', provider: 'Groq', maxTokenAllowed: 131072 },
{
name: 'deepseek-r1-distill-llama-70b',
label: 'Deepseek R1 Distill Llama 70b (Groq)',
provider: 'Groq',
maxTokenAllowed: 131072,
},
];
getModelInstance(options: {

View File

@@ -536,7 +536,7 @@ export class WorkbenchStore {
sha: newCommit.sha,
});
alert(`Repository created and code pushed: ${repo.html_url}`);
return repo.html_url; // Return the URL instead of showing alert
} catch (error) {
console.error('Error pushing to GitHub:', error);
throw error; // Rethrow the error for further handling