@@ -478,7 +478,7 @@ BEGIN
478478 COALESCE((p_config- > ' graph' - >> ' execution_timeout_ms' )::bigint , (graph).execution_timeout_ms),
479479 COALESCE((p_config- > ' graph' - >> ' max_token_usage' )::integer , (graph).max_token_usage),
480480 ROW(
481- COALESCE(p_config- > ' graph' - > ' model' - >> ' provider' , ((graph).model).model_provider),
481+ COALESCE(p_config- > ' graph' - > ' model' - >> ' model_provider ' , p_config - > ' graph ' - > ' model ' - >> ' provider' , ((graph).model).model_provider),
482482 COALESCE(p_config- > ' graph' - > ' model' - >> ' model_name' , ((graph).model).model_name),
483483 COALESCE((p_config- > ' graph' - > ' model' - >> ' temperature' )::numeric (3 ,2 ), ((graph).model).temperature),
484484 COALESCE((p_config- > ' graph' - > ' model' - >> ' max_tokens' )::integer , ((graph).model).max_tokens)
@@ -700,7 +700,7 @@ BEGIN
700700 (p_config- > ' graph' - >> ' execution_timeout_ms' )::bigint ,
701701 (p_config- > ' graph' - >> ' max_token_usage' )::integer ,
702702 ROW(
703- p_config- > ' graph' - > ' model' - >> ' provider' ,
703+ COALESCE( p_config- > ' graph' - > ' model' - >> ' model_provider ' , p_config - > ' graph ' - > ' model ' - >> ' provider' ) ,
704704 p_config- > ' graph' - > ' model' - >> ' model_name' ,
705705 (p_config- > ' graph' - > ' model' - >> ' temperature' )::numeric (3 ,2 ),
706706 (p_config- > ' graph' - > ' model' - >> ' max_tokens' )::integer
0 commit comments