Skip to content

fix: clarify variable names in puter.ai.chat method#1213

Merged
KernelDeimos merged 1 commit intomainfrom
fix/issue-1212-ai-chat-variable-names
Mar 24, 2025
Merged

fix: clarify variable names in puter.ai.chat method#1213
KernelDeimos merged 1 commit intomainfrom
fix/issue-1212-ai-chat-variable-names

Conversation

@KernelDeimos
Copy link
Copy Markdown
Contributor

[ai]

Description

This PR addresses issue #1212 by improving the variable naming in the puter.ai.chat method to make it more clear and consistent.

Changes

  • Renamed options to requestParams to clearly indicate parameters sent to the backend driver
  • Renamed settings to userParams to clearly indicate parameters provided by the user
  • Updated comments to be more descriptive about the purpose of each variable

Related Issues

Fixes #1212

Testing

No functional changes were made, only variable renaming for better clarity.

- Renamed 'options' to 'requestParams' to clearly indicate parameters sent to the backend driver\n- Renamed 'settings' to 'userParams' to clearly indicate parameters provided by the user\n- Updated comments to be more descriptive about the purpose of each variable\n\nFixes #1212\n\nai: true
@KernelDeimos KernelDeimos merged commit 6a3b20f into main Mar 24, 2025
4 checks passed
@KernelDeimos KernelDeimos deleted the fix/issue-1212-ai-chat-variable-names branch March 25, 2025 04:07
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.

Variable names for puter.ai.chat in puter.js are confusing

1 participant