Skip to content

Commit f02f261

Browse files
committed
removed unncessary assert in function
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
1 parent e605f43 commit f02f261

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mcpgateway/toolops/toolops_altk_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ def custom_mcp_cf_execute_prompt(prompt, client=None, gen_mode=None, parameters=
102102
logger.info("LLM Inference call using MCP-CF LLM provider")
103103
# To suppress pylint errors creating dummy altk params and asserting
104104
altk_dummy_params = {"client": client, "gen_mode": gen_mode, "parameters": parameters, "max_new_tokens": max_new_tokens, "stop_sequences": stop_sequences}
105-
assert altk_dummy_params is not None
106105
chat_llm_instance, _ = get_llm_instance(model_type="chat")
107106
llm_response = chat_llm_instance.invoke(prompt)
108107
response = llm_response.content

0 commit comments

Comments
 (0)