AskMiku / index.js

Commit History

  1. Fix var name.

    RecapAnon
    05d267c
  2. Fix SyntaxError.

    RecapAnon
    8cc82ba
  3. Delete unused.

    RecapAnon
    3d04257
  4. Update chunk list.

    RecapAnon
    056abac
  5. Update prompt.

    RecapAnon
    dc681b3
  6. Fix user and system message order.

    RecapAnon
    1f91e7e
  7. Remove createStreamingMessageContainer and use createMessageBubble directly in generateResponse.

    RecapAnon
    604bc93
  8. Replace embeddings model with "onnx-community/harrier-oss-v1-0.6b-ONNX".

    RecapAnon
    392abba

  1. Render model output using Showdown.js v2.1.0 instead of <pre> tags.

    RecapAnon
    3884647
  2. Attempt to curb the emoji.

    RecapAnon
    ca4ecd4
  3. Stop setting past_key_values to prevent crashes.

    RecapAnon
    248db27

  1. Load embeddings from HuggingFace dataset.

    RecapAnon
    10124e4
  2. Increase max_new_tokens to 2048.

    RecapAnon
    c825b13
  3. Add deferred model loading with 'Load model' button.

    RecapAnon
    f210955
  4. Update model to E4B.

    RecapAnon
    bdb7b0c
  5. Update prompts.

    RecapAnon
    0b640b7
  6. Add automatic first assistant message after initialization.

    RecapAnon
    c376fe2

  1. Move vector DB context to temporary system message in generateResponse.

    RecapAnon
    e0bc921
  2. Load model and processor in parallel and fix progress_callback glitching.

    RecapAnon
    e4af149
  3. Bring back past_key_values_cache.

    RecapAnon
    debe7aa
  4. Fix rgb error.

    RecapAnon
    b76d0e7
  5. Fix import url.

    RecapAnon
    b5186e7
  6. Use AutoProcessor and Gemma4ForConditionalGeneration to fix chat_template not set.

    RecapAnon
    00e9a7a
  7. Replace Qwen 3 with Gemma-4-E2B-it.

    RecapAnon
    21087b0
  8. Update transformers.js version to 4.0.1.

    RecapAnon
    098ac12

  1. Remove redundant model ID from TextGenerationPipeline.getInstance call.

    RecapAnon
    3dd3b56
  2. Replace enhanced user message with original in conversation history after generation.

    RecapAnon
    aa98e8e
  3. Revert back to plain Miku.sh prompt.

    RecapAnon
    89480b6
  4. Update tokenizer.batch_decode call to slice the sequences so only generated tokens are decoded.

    RecapAnon
    ad43a26
  5. Update model loading to use AutoModelForCausalLM and apply_chat_template to disable thinking.

    RecapAnon
    37e8504

  1. Remove useless importDatabaseFromString.

    RecapAnon
    b8ee0ee
  2. Update model to Qwen3-4B.

    RecapAnon
    e1426f8
  3. Initialize db from chunked files to fix file limit on Chrome.

    RecapAnon
    18960c7
  4. Fix database import on Firefox by loading the json file in chunks.

    RecapAnon
    f0c3543

  1. Switch to webgpu and add device checks.

    RecapAnon
    de2014a
  2. Bring back getNativeDB();

    RecapAnon
    cd3f3fd
  3. Fix missing comma.

    RecapAnon
    2405497
  4. Update system prompt from character card and remove soft CoT.

    RecapAnon
    64582fd
  5. Fix indexeddb-export-import import again.

    RecapAnon
    45ec7ad

  1. Replace system prompt with Miku.sh prompt

    RecapAnon
    d5fa973
  2. Wrap message text in pre tags for proper markdown line break display⁠

    RecapAnon
    e7d7941
  3. Replace emoji avatars with image avatars for chat participants⁠

    RecapAnon
    589d9e7

  1. Delete getNativeDB().

    RecapAnon
    d256c08
  2. Strip out thinking.

    RecapAnon
    b6b3e59
  3. Bring back importDatabaseFromString.

    RecapAnon
    09768ab
  4. Delete unused methods.

    RecapAnon
    9616ab4
  5. More cleanup.

    RecapAnon
    1eb53a0
  6. Only load from database.json if not already loaded (to prevent duplication)

    RecapAnon
    b60b326
  7. Remove more useless comments.

    RecapAnon
    d74eb19
  8. Clean up.

    RecapAnon
    35982a7