pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/stack-chan/stack-chan/pull/365

eet" href="https://github.githubassets.com/assets/actions-109fb3a41bacb1c2.css" /> step 3/6: chat UIホットパス最適化 by meganetaaan · Pull Request #365 · stack-chan/stack-chan · GitHub
Skip to content

step 3/6: chat UIホットパス最適化#365

Open
meganetaaan wants to merge 2 commits intostep-pr/02-chat-foundationfrom
step-pr/03-chat-ui-hotpath
Open

step 3/6: chat UIホットパス最適化#365
meganetaaan wants to merge 2 commits intostep-pr/02-chat-foundationfrom
step-pr/03-chat-ui-hotpath

Conversation

@meganetaaan
Copy link
Collaborator

Summary

  • Optimize transcript balloon update path
  • Optimize mouth-open update hot path

Scope

  • Base: step-pr/02-chat-foundation
  • Head: step-pr/03-chat-ui-hotpath
  • This is step 3 of 6.

Notes

  • Functional behavior should remain the same; focus is allocation/repaint pressure reduction.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 28, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch step-pr/03-chat-ui-hotpath

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: db759121f8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const chatConfig = {
...config.chat,
instructions: 'あなたは丁寧なアシスタントロボットです。',
specifier: 'openAIRealtime',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve configured chat provider specifier

Hard-coding specifier: 'openAIRealtime' after spreading config.chat overrides any provider selected in mc/config, so deployments configured for deepgramAgent/elevenLabsAgent/etc. will now instantiate the wrong backend and fail at runtime. This also makes the subsequent if (!chatConfig?.specifier) guard effectively unreachable, masking missing-config detection.

Useful? React with 👍 / 👎.

Comment on lines +312 to +314
// onInputTranscript: (text, more) => {
// onTranscript(text, more)
// },

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore forwarding of input transcript updates

Commenting out onInputTranscript stops user-side transcript events from reaching onTranscript, so the balloon no longer reflects recognized input while the user is speaking and only output transcript updates are shown. This is a behavior regression in the chat UI path and removes real-time feedback needed to verify ASR recognition.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy