From c630a609aa7dc2f925dc8943c14d02110273e82c Mon Sep 17 00:00:00 2001 From: Aakash Bakhle <48802744+aakashb95@users.noreply.github.com> Date: Wed, 17 Dec 2025 17:25:46 +0530 Subject: [PATCH] Update lib/llm/config_service.rb Co-authored-by: Shivam Mishra --- lib/llm/config_service.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/llm/config_service.rb b/lib/llm/config_service.rb index 1cd140c5b..493932a9b 100644 --- a/lib/llm/config_service.rb +++ b/lib/llm/config_service.rb @@ -32,10 +32,7 @@ module Llm::ConfigService end def default_model_for_feature(feature_key) - feature = features[feature_key.to_s] - return nil unless feature - - feature['default'] + features.dig(feature_key.to_s, 'default') end def model_info(model_name)