You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# GPT-4o mini (faster, but results are not as accurate)
34
34
holmes ask "what pods are failing?" --model="gpt-4o-mini"
35
+
36
+
# GPT-5
37
+
holmes ask "what pods are failing?" --model="gpt-5"
35
38
```
36
39
40
+
## GPT-5 Reasoning Effort
41
+
42
+
When using GPT-5 models, you can control the reasoning effort level by setting the `REASONING_EFFORT` environment variable. This allows you to balance between response quality and processing time/cost.
43
+
44
+
```bash
45
+
# Use minimal reasoning effort for faster responses
46
+
export REASONING_EFFORT="minimal"
47
+
holmes ask "what pods are failing?" --model="gpt-5"
48
+
49
+
# Use default reasoning effort
50
+
export REASONING_EFFORT="medium"
51
+
holmes ask "what pods are failing?" --model="gpt-5"
52
+
53
+
# Use high reasoning effort for complex investigations
54
+
export REASONING_EFFORT="high"
55
+
holmes ask "what pods are failing?" --model="gpt-5"
56
+
```
57
+
58
+
Available reasoning effort levels:
59
+
60
+
-`minimal` - Fastest responses, suitable for simple queries
61
+
-`low` - Balance between speed and quality
62
+
-`medium` - Standard reasoning depth (default)
63
+
-`high` - Deeper reasoning for complex problems
64
+
65
+
For more details on reasoning effort levels, refer to the [OpenAI documentation](https://platform.openai.com/docs/).
66
+
37
67
## Additional Resources
38
68
39
69
HolmesGPT uses the LiteLLM API to support OpenAI provider. Refer to [LiteLLM OpenAI docs](https://litellm.vercel.app/docs/providers/openai){:target="_blank"} for more details.
error_msg=f"Tried to use AzureAI (model: {classifier_model}) because AZURE_API_BASE was set - and failed. Check AZURE_API_BASE, AZURE_API_KEY, AZURE_API_VERSION, or unset them to use OpenAI. Exception: {type(e).__name__}: {str(e)}"
239
+
error_msg=f"Exception: {type(e).__name__}: {str(e)} - Tried to use AzureAI (model: {classifier_model}) because AZURE_API_BASE was set. Check AZURE_API_BASE, AZURE_API_KEY, AZURE_API_VERSION, or unset them to use OpenAI."
240
240
241
241
else:
242
-
error_msg=f"Tried to use OpenAI (model: {classifier_model}) Check OPENAI_API_KEY or set AZURE_API_BASE to use Azure AI. Exception: {type(e).__name__}: {str(e)}"
242
+
error_msg=f"Exception: {type(e).__name__}: {str(e)} - Tried to use OpenAI (model: {classifier_model}). Check OPENAI_API_KEY or set AZURE_API_BASE to use Azure AI."
0 commit comments