diff --git a/ols/constants.py b/ols/constants.py index 6e26fcdd3..ac1e34409 100644 --- a/ols/constants.py +++ b/ols/constants.py @@ -60,7 +60,7 @@ class GenericLLMParameters: # Max Iteration for tool calling -MAX_ITERATIONS = 5 +MAX_ITERATIONS = 3 # Token related constants diff --git a/ols/customize/ols/prompts.py b/ols/customize/ols/prompts.py index f36be34ce..735dfa5b5 100644 --- a/ols/customize/ols/prompts.py +++ b/ols/customize/ols/prompts.py @@ -41,6 +41,8 @@ - User is asking about general information about Openshift/Kubernetes. - User is asking "how-to" kind of queries for which you can refer retrieved documents. Refer tool response / output before providing your response. +Do not call a function twice with the same arguments. Never repeat your function calls. +Call a function if it is relevant. Never make up functions. """ # Currently only additional instructions are concatenated to original