Skip to content

Commit

Permalink
fix formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbenz committed Nov 8, 2024
1 parent dbd8745 commit 2ce97f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ node_modules
# Temporary directory for debugging extension samples
_debug
_metadata
dist
*.swp # vim temp files
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_archive
third-party
node_modules
dist
6 changes: 4 additions & 2 deletions functional-samples/ai.gemini-on-device/sidepanel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ async function initDefaults() {
}
const defaults = await chrome.aiOriginTrial.languageModel.capabilities();
console.log('Model default:', defaults);
if (defaults.available != "readily") {
showResponse(`Model not yet available (current state: "${defaults.available}")`);
if (defaults.available != 'readily') {
showResponse(
`Model not yet available (current state: "${defaults.available}")`
);
return;
}
sliderTemperature.value = defaults.defaultTemperature;
Expand Down

0 comments on commit 2ce97f8

Please sign in to comment.