Skip to content

docs: add guide for using custom model names with acts_as helpers #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 21, 2025

Conversation

matheuscumpian
Copy link
Contributor

While integrating RubyLLM with an existing Rails application that already had a Chat model, I discovered that the framework supports using custom model names with the acts_as helpers. This isn't explicitly documented, but is a valuable feature for real-world Rails applications where naming conflicts or existing conventions might exist.

Let me know if I'm missing something on this behaviour

Extend the Rails guide to explain how to customize model names when using
the acts_as_chat, acts_as_message, and acts_as_tool_call helpers.
@matheuscumpian
Copy link
Contributor Author

closes #183

Copy link
Owner

@crmne crmne left a comment

Choose a reason for hiding this comment

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

Thanks @matheuscumpian. Only a couple changes needed before merging.

@crmne
Copy link
Owner

crmne commented Jul 16, 2025

@matheuscumpian want to resolve the requested changes?

@crmne crmne added the documentation Improvements or additions to documentation label Jul 16, 2025
@matheuscumpian
Copy link
Contributor Author

@crmne thanks for the review and sorry for the lateness, I've just addressed the comments on a new commit

@crmne crmne merged commit c87f6c3 into crmne:main Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants