Skip to content

Conversation

@rob-mosher
Copy link
Contributor

This PR refactors the getName function to utilize the dynamically selected model stored in activeModel. The function was previously hardcoded to use llama2, limiting flexibility. Now, it will fall back to llama2 only if activeModel is not set or is empty, enhancing the function's adaptability and allowing it to respect the user's model choice.

Copy link
Owner

@richawo richawo left a comment

Choose a reason for hiding this comment

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

Brilliant, thanks for this!

@richawo richawo merged commit ee1b498 into richawo:main Sep 20, 2024
@rob-mosher
Copy link
Contributor Author

@richawo My pleasure, thanks for building this app! Happy to contribute.

@rob-mosher rob-mosher deleted the dynamic-model-selection branch September 20, 2024 17:33
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.

2 participants