o1, slow response timeout: Error connecting to server, try refreshing the page. #4176
Unanswered
akshat-122402
asked this question in
Troubleshooting
Replies: 1 comment
-
Please read this comment: #4111 (reply in thread) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
If I try to use o1-mini with a larger prompt, it throws an "Error connecting to server; try refreshing the page." error. I tried the same prompt in CursorAI and ChatGPT, and in both cases I got the proper answer.
It has happened in the past too. I have noticed that this happens when I use large prompts with o1-mini or o1-preview.
Steps to Reproduce
Here is the prompt I provided:
Problem Statement:
You are given an array of ( n ) positive integers denoted as ( a_1, a_2, \ldots, a_n ).
In one operation, you can do the following:
Your task is to determine the minimum number of operations required to sort the array in non-decreasing order (ascending order).
Input Format:
Output Format:
Constraints:
Examples:
Input:
3
3 3 2
Output:
1
Explanation: In this test case, you can choose ( x = 3 ) for the operation. After this operation, the resulting array will be [0, 0, 2], which is sorted in non-decreasing order.
Additional Note:
The objective is to perform the minimum number of operations while ensuring that the resulting array is sorted. Consider the distinct integers in the array and how many can be eliminated in a single operation.
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Screenshots
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions