You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(getting-started): optimize model initialization and usage
Refactor the example code to use a cached model reference instead of
recreating the model instance on each command invocation. This change
improves performance by avoiding expensive reinitialization.
Update both basic and config-based examples to demonstrate proper
usage of `ComputedRef<ChatLunaChatModel>` and include null checks
for safer access to the model instance.
0 commit comments