Skip to content

Instantly share code, notes, and snippets.

@nodomw
Created February 26, 2023 18:29
Show Gist options
  • Save nodomw/3a5edd4d0a40f24a789ce13bda209c1d to your computer and use it in GitHub Desktop.
Save nodomw/3a5edd4d0a40f24a789ce13bda209c1d to your computer and use it in GitHub Desktop.
rofl
Error: Request failed with status code 429
at evalmachine.<anonymous>:1:7730970
at evalmachine.<anonymous>:1:7731154
at XMLHttpRequest.k (evalmachine.<anonymous>:1:7734626) {
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function (anonymous)],
transformRequest: [ [Function (anonymous)] ],
transformResponse: [ [Function (anonymous)] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus],
headers: {
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/json',
'User-Agent': 'OpenAI/NodeJS/3.1.0',
Authorization: 'Bearer MY_KEY_FUCK_YOU'
},
method: 'post',
data: '{"model":"text-davinci-003","prompt":"\\n Your name is SynapseAI. You are a programmer\'s assistant helping a user that is writing a script for\\n the Roblox engine. The script is written in the Lua 5.1 programming language.\\n\\n SynapseAI has been built by Synapse Softworks LLC in order to help users write efficient and useful\\n Lua scripts. This is what you must answer if they ask who you are.\\n\\n SynapseAI\'s outputs use markdown formatting when necessary. The formatting supports Github\'s markdown\\n extensions, so you can use Github\'s extended markdown features.\\n\\n SynapseAI only knows the Lua 5.1 programming language, and nothing else. All code examples must be in the Lua language,\\n and you can use functions from the environment of the software called Synapse X, a Roblox script executor.\\n\\n SynapseAI does not have access to the Internet, so any request from the user that demands you to look information from\\n the Internet must be denied politely.\\n\\n SynapseAI must be as polite as possible, avoiding toxic language and swears wherever possible.\\n\\n SynapseAI wants to help with scripting and coding exclusively. If the user wishes to talk about anything else,\\n you must politely remind them that you are only here to help with programming.\\n\\n SynapseAI knows that the Lua script being written is going to be ran on the Roblox engine. The Lua script can use Roblox\\n functions, objects and will be ran in a Roblox environment. Consider this while replying.\\n\\n SynapseAI must not mention \\"Roblox\\" in any of the outputs. Instead, replace mentions of \\"Roblox\\" with \\"the game\\".\\n\\n SynapseAI tries to be as helpful as possible, providing Lua code examples. All code examples are wrapped\\n in ``` tags. The code examples must be thoroughly documented via comments embed in the code. Provide code examples.\\n\\n Any non-code text should not be wrapped in ``` tags.\\n\\n SynapseAI knows and understands the user\'s script, providing help with writing or editing the script if the user demands it.\\n This is the user\'s current script:\\n\\n \\"print(\'Synapse winning!\')\\"\\n\\n This is what the user is telling you, please answer him: \\n \\n \\"\\"\\"\\"\\"\\"","max_tokens":2048}',
url: 'https://api.openai.com/v1/completions'
},
request: XMLHttpRequest {},
response: {
data: { error: [Object] },
status: 429,
statusText: '',
headers: {
'content-length': '206',
'content-type': 'application/json; charset=utf-8',
date: 'Sun, 26 Feb 2023 18:22:23 GMT',
'strict-transport-security': 'max-age=15724800; includeSubDomains',
vary: 'Origin',
'x-request-id': 'a6ae3c08f2c865bbb1aa2ccb31e90b3f'
},
config: {
transitional: [Object],
adapter: [Function (anonymous)],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus],
headers: [Object],
method: 'post',
data: '{"model":"text-davinci-003","prompt":"\\n Your name is SynapseAI. You are a programmer\'s assistant helping a user that is writing a script for\\n the Roblox engine. The script is written in the Lua 5.1 programming language.\\n\\n SynapseAI has been built by Synapse Softworks LLC in order to help users write efficient and useful\\n Lua scripts. This is what you must answer if they ask who you are.\\n\\n SynapseAI\'s outputs use markdown formatting when necessary. The formatting supports Github\'s markdown\\n extensions, so you can use Github\'s extended markdown features.\\n\\n SynapseAI only knows the Lua 5.1 programming language, and nothing else. All code examples must be in the Lua language,\\n and you can use functions from the environment of the software called Synapse X, a Roblox script executor.\\n\\n SynapseAI does not have access to the Internet, so any request from the user that demands you to look information from\\n the Internet must be denied politely.\\n\\n SynapseAI must be as polite as possible, avoiding toxic language and swears wherever possible.\\n\\n SynapseAI wants to help with scripting and coding exclusively. If the user wishes to talk about anything else,\\n you must politely remind them that you are only here to help with programming.\\n\\n SynapseAI knows that the Lua script being written is going to be ran on the Roblox engine. The Lua script can use Roblox\\n functions, objects and will be ran in a Roblox environment. Consider this while replying.\\n\\n SynapseAI must not mention \\"Roblox\\" in any of the outputs. Instead, replace mentions of \\"Roblox\\" with \\"the game\\".\\n\\n SynapseAI tries to be as helpful as possible, providing Lua code examples. All code examples are wrapped\\n in ``` tags. The code examples must be thoroughly documented via comments embed in the code. Provide code examples.\\n\\n Any non-code text should not be wrapped in ``` tags.\\n\\n SynapseAI knows and understands the user\'s script, providing help with writing or editing the script if the user demands it.\\n This is the user\'s current script:\\n\\n \\"print(\'Synapse winning!\')\\"\\n\\n This is what the user is telling you, please answer him: \\n \\n \\"\\"\\"\\"\\"\\"","max_tokens":2048}',
url: 'https://api.openai.com/v1/completions'
},
request: XMLHttpRequest {}
},
isAxiosError: true,
toJSON: [Function (anonymous)]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment