@@ -16,16 +16,16 @@ class SimplifiedLLMInputs(__SimplifiedLLMInputsRequired, total=False):
1616 max_llm_calls : Annotated [int , StepTypeConfig (is_config = True )]
1717 model : Annotated [str , StepTypeConfig (is_config = True )]
1818 openai_api_key : Annotated [
19- str , StepTypeConfig (is_config = True , or_op = ["patched_api_key" , "google_api_key" , "anthropic_api_key" ])
19+ str , StepTypeConfig (is_config = True , or_op = ["patched_api_key" , "google_api_key" , "client_is_gcp" , " anthropic_api_key" ])
2020 ]
2121 anthropic_api_key : Annotated [
22- str , StepTypeConfig (is_config = True , or_op = ["patched_api_key" , "google_api_key" , "openai_api_key" ])
22+ str , StepTypeConfig (is_config = True , or_op = ["patched_api_key" , "google_api_key" , "client_is_gcp" , " openai_api_key" ])
2323 ]
2424 patched_api_key : Annotated [
2525 str ,
2626 StepTypeConfig (
2727 is_config = True ,
28- or_op = ["openai_api_key" , "google_api_key" , "anthropic_api_key" ],
28+ or_op = ["openai_api_key" , "google_api_key" , "client_is_gcp" , " anthropic_api_key" ],
2929 msg = f"""\
3030 Model API key not found.
3131Please login at: "{ TOKEN_URL } "
@@ -36,7 +36,10 @@ class SimplifiedLLMInputs(__SimplifiedLLMInputsRequired, total=False):
3636 ),
3737 ]
3838 google_api_key : Annotated [
39- str , StepTypeConfig (is_config = True , or_op = ["patched_api_key" , "openai_api_key" , "anthropic_api_key" ])
39+ str , StepTypeConfig (is_config = True , or_op = ["patched_api_key" , "openai_api_key" , "anthropic_api_key" , "client_is_gcp" ])
40+ ]
41+ client_is_gcp : Annotated [
42+ str , StepTypeConfig (is_config = True , or_op = ["patched_api_key" , "openai_api_key" , "anthropic_api_key" , "google_api_key" ])
4043 ]
4144 json : Annotated [bool , StepTypeConfig (is_config = True )]
4245 json_example_schema : Annotated [str , StepTypeConfig (is_config = True )]
0 commit comments