Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 committed Jun 3, 2024
1 parent 6f3d28c commit 359fe89
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion recipes/llm-voice-assistant/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"rollup": "^4.18.0",
"rollup-plugin-typescript2": "^0.36.0",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
"typescript": "~5.3.3"
}
}
16 changes: 8 additions & 8 deletions recipes/llm-voice-assistant/web/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ const init = async (
accessKey: string,
picollmModel: PicoLLMModel,
{
onDetection,
onEndpoint,
onTranscript,
onText,
onStream,
onComplete,
}: PvCallback): Promise<void> => {
onDetection,
onEndpoint,
onTranscript,
onText,
onStream,
onComplete,
}: PvCallback): Promise<void> => {
if (object !== null) {
return;
}
Expand Down Expand Up @@ -101,7 +101,7 @@ const init = async (
'</s>', // Llama-2, Mistral
'<end_of_turn>', // Gemma
'<|endoftext|>', // Phi-2
'<|eot_id|>', // Llama-3
'<|eot_id|>', // Llama-3
];

const onCheetahFlushed = async (): Promise<void> => {
Expand Down
8 changes: 4 additions & 4 deletions recipes/llm-voice-assistant/web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3366,10 +3366,10 @@ typed-array-length@^1.0.6:
is-typed-array "^1.1.13"
possible-typed-array-names "^1.0.0"

typescript@^5.4.5:
version "5.4.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611"
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==
typescript@~5.3.3:
version "5.3.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==

unbox-primitive@^1.0.2:
version "1.0.2"
Expand Down

0 comments on commit 359fe89

Please sign in to comment.