-
Notifications
You must be signed in to change notification settings - Fork 105
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
Fix: Shiny Chat app crashes when clicking on options button #190
Conversation
Merge branch 'main' of https://github.com/MichelNivard/gptstudio into bug-options-btn # Conflicts: # R/mod_settings.R # R/models.R
|
||
list_available_models.anthropic <- function(service) { | ||
c( | ||
"claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240229", |
Check notice
Code scanning / lintr
Lines should not be more than 80 characters. This line is 84 characters. Note
|
||
list_available_models.openai <- function(service) { | ||
models <- | ||
request_base("models") %>% |
Check warning
Code scanning / lintr
no visible global function definition for 'request_base' Warning
|
||
list_available_models.openai <- function(service) { | ||
models <- | ||
request_base("models") %>% |
Check warning
Code scanning / lintr
no visible global function definition for '%>%' Warning
|
||
list_available_models.openai <- function(service) { | ||
models <- | ||
request_base("models") %>% |
Check warning
Code scanning / lintr
no visible global function definition for '%>%' Warning
|
||
list_available_models.openai <- function(service) { | ||
models <- | ||
request_base("models") %>% |
Check warning
Code scanning / lintr
no visible global function definition for '%>%' Warning
|
||
list_available_models.ollama <- function(service) { | ||
if (!ollama_is_available()) stop("Couldn't find ollama in your system") | ||
ollama_list() %>% |
Check warning
Code scanning / lintr
no visible global function definition for '%>%' Warning
|
||
list_available_models.ollama <- function(service) { | ||
if (!ollama_is_available()) stop("Couldn't find ollama in your system") | ||
ollama_list() %>% |
Check warning
Code scanning / lintr
no visible global function definition for '%>%' Warning
} | ||
|
||
list_available_models.google <- function(service) { | ||
get_available_models_google() |
Check warning
Code scanning / lintr
no visible global function definition for 'get_available_models_google' Warning
list_available_models.google <- function(service) { | ||
get_available_models_google() | ||
} | ||
|
Check notice
Code scanning / lintr
Trailing blank lines are superfluous. Note
get_available_models_google() | ||
} | ||
|
||
|
Check notice
Code scanning / lintr
Trailing blank lines are superfluous. Note
It looks like the error wasn't actually related to |
These PR tracks the fix of #181 and will allow users to install the patch with
{pak}
.We still need to confirm that it actually achieves fixing the issue.