Allow display name of custom Anthropic models to be customized (#16376)
Also added some docs for our settings. Release Notes: - N/A
This commit is contained in:
parent
ae9e6a9daa
commit
907d76208d
4 changed files with 30 additions and 7 deletions
|
@ -94,12 +94,14 @@ impl AnthropicSettingsContent {
|
|||
.filter_map(|model| match model {
|
||||
anthropic::Model::Custom {
|
||||
name,
|
||||
display_name,
|
||||
max_tokens,
|
||||
tool_override,
|
||||
cache_configuration,
|
||||
max_output_tokens,
|
||||
} => Some(provider::anthropic::AvailableModel {
|
||||
name,
|
||||
display_name,
|
||||
max_tokens,
|
||||
tool_override,
|
||||
cache_configuration: cache_configuration.as_ref().map(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue