Open jcrodriguez1989 opened 1 month ago
I have reviewed the GitHub PR diff and found the following issues:
In the file R/ask_chatgpt.R
, on line 6, the parameter session_id
and openai_api_key
have been removed from the ask_chatgpt
function definition without updating the associated documentation. It seems like these parameters are no longer used in the function, so the documentation should be updated accordingly or removed.
In the file R/chatgpt-package.R
, on line 6, the assignment of chat_session_messages
on startup seems to be changed to include a specific message. This change might unexpectedly overwrite any initial values set for chat_session_messages
.
Those are the issues I identified during the code review.
I have reviewed the GitHub PR diff provided:
Issues Found:
In
R/ask_chatgpt.R
file, the parametersession_id
andopenai_api_key
were removed from theask_chatgpt
function without updating the function documentation accordingly.R/ask_chatgpt.R
In
R/ask_chatgpt.R
file, the functionreset_chat_session
is called without thesession_id
parameter, which was removed from the function signature.R/ask_chatgpt.R
In
R/reset_chat_session.R
file, thesystem_role
parameter in thereset_chat_session
function is not actually used within the function.R/reset_chat_session.R
Note:
Let me know if you need any further assistance.