All Issues
24,993 verified issues
"lib/IsolatedGPT35TurboMutation/deleteFineTuneModel: AbortController is not defined"
Confirm this is a Node library issue and not an underlying OpenAI API issue - [X] This is an issue with the Node library Describe the bug What is this error? It works fine locally, but when deploying I get this error..: "lib/IsolatedGPT35TurboMutation/deleteFineTuneModel: AbortController is not defined" To Reproduce if (job.model_id) { if (!src.openAiKey) throw new Error('OpenAiKey not found'); const openai = new OpenAI({ apiKey: src.openAiKey }); const model = await openai.models.del(job.model_id); Code snippets _No response_ OS macOS Node version Node 18 Library version openai 4.0.8
Internal Server Error when sending multiple PDFs in conversation
Description When attempting to have a conversation that includes multiple PDF documents with Claude, the API returns a 500 Internal Server Error. The error occurs specifically when trying to send a second PDF after receiving a response for the first one. Steps to Reproduce 1. Initialize a conversation with Claude API 2. Send first message containing: - PDF document (base64 encoded) - Text prompt ("1μ€ μμ½") 3. Receive assistant's response 4. Send second message with: - Different PDF document (base64 encoded) - Text prompt ("1μ€μμ½") 5. API returns 500 Internal Server Error Code Example [code block] Error Message [code block] Environment - Python SDK Version: (version number) - Claude Model: claude-3-5-sonnet-20241022 - Beta Features: ["pdfs-2024-09-25"] Expected Behavior The API should handle multiple PDF documents in a conversation, allowing for sequential analysis of different documents. Additional Context - The first PDF upload and response works correctly - The error occurs specifically when trying to send a second PDF in the conversation - Using the latest beta PDF feature as indicated in the `betas` parameter Questions 1. Is there a limitation on the number of PDFs that can be processed in a single conversation? 2. Is there a specific way to handle multiple PDF documents in a conversation that I'm missing? 3. Could this be related to the beta status of the PDF feature?
VS Code fails to start/open when offline
- VSCode Version: 1.2.0 - OS Version: Windows 8 Steps to Reproduce: 1. Install VS Code 1.2.0 and open first time while connected to internet 2. Turn off data connection 3. Try to restart VS Code (it does not open at all, either from shortcuts or exe)
[ESLint] Feedback for 'exhaustive-deps' lint rule
Common Answers π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘ We analyzed the comments on this post to provide some guidance: https://github.com/facebook/react/issues/14920#issuecomment-471070149. π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘ ---- What is this This is a new ESLint rule that verifies the list of dependencies for Hooks like `useEffect` and similar, protecting against the stale closure pitfalls. For most cases it has an autofix. We'll add more documentation over the next weeks. Installation [code block] ESLint config: [code block] Simple test case to verify the rule works: [code block] The lint rule complains but my code is fine! If this new `react-hooks/exhaustive-deps` lint rule fires for you but you think your code is correct, please post in this issue. ---- BEFORE YOU POST A COMMENT Please include these three things: 1. A CodeSandbox demonstrating a minimal code example that still expresses your intent (not "foo bar" but actual UI pattern you're implementing). 2. An explanation of the steps a user does and what you expect to see on the screen. 3. An explanation of the intended API of your Hook/component. But my case is simple, I don't want to include those things! It might be simple to you β but itβs not at all simple to us. If your comment doesn't include either of them (e.g. no CodeSandbox link), we will hide your comment because itβs very hard to track the discussion otherwise. Thank you for respecting everyoneβs time by including them.
Add `trpc.useContext().setQueryData()` callback
When updating values in the query cache which rely upon the old value, an updater callback comes handy, e.g.: [code block] Instead of: [code block] This overload should be made available through `trpc.useContext().setQueryData`.
xhr.abort on disconnect not sending connection close to server on beforeunload event
Is any body else running into this issue? Here is the scenario: 1. We are running node/socket.io on a separate server with its own DNS/domainname (Don't ask why) and our application server is on a different host/DNS/domainname. 2. The socket.io.js file is rendered from the node server. 3. When a user navigates away from a page we would like to send a disconnect event to the server from client. (Should be pretty easy right?) 4. Upon debugging we found that on line 3436 in socket.io.js an xhr.abort command is issued which should tell the server to initiate a disconnect event. (But no dice). 5. The disconnect finally fires but not from the unload event, but from the connection timeout. 6. Seems pretty simple, anyone else having these issues? Thanks.
Add support for caching
Support for caching would be an awesome addition. Something along the lines of nginx location ~\* .(jpg|png|gif|jpeg|css|js|mp3|wav|swf|mov|doc|pdf|xls|ppt|docx|pptx|xlsx)$ { proxy_buffering on; proxy_cache_valid 200 120m; expires 864000; }
AsyncQueue is already failed: The transaction was aborted, so the request cannot be fulfilled.
Describe your environment Operating System version: Android, so the version varies Browser version: Usually latest Chrome (73.0.3683.90) Firebase SDK version: 5.9.3 Firebase Product: Firestore Describe the problem We're seeing the following error more and more lately (via our error reporting service): [code block] This error is of a critical nature, as it entirely breaks the DB layer. ~~Data stops getting written to the database, and it can be somewhat difficult to detect when the DB gets into this state, as the error is only thrown once. You can then call all the DB functions, and everything appears to work as normal, except no data ends up in the cloud (nor the persistence layer).~~ (This was incorrect. Our error collection service just aggregated the data) Steps to reproduce: Apologies, but it's entirely periodic. It could be related to IndexedDB reaching a certain size, as clearing it out seems to postpone the problem for a few weeks. I have no theories as to what causes the "transaction to be aborted". We were hoping the new garbage collection feature would take care of the problem, but so far it doesn't seem like it. The devices running this are of the model "Samsung T580". Any other info you need, let me know.
kubernetes-e2e-gci-gke-multizone: broken test run
Failed: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-multizone/1128/ Run so broken it didn't make JUnit output!
ci-kubernetes-e2e-gci-gke-serial: broken test run
Failed: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke-serial/93/ Run so broken it didn't make JUnit output!
Changing headers should be an option
changing the headers "location" & "origin" when proxying websocket request should be an option, because this is important to make the proxying behave like "not happened".
npm ERR! cb() never called!
I want to install create-react-app but bump along with this bug, i have tried many solutions/articles and in stack overflow like, cache verify, cache cleaning, and many stuffs but still making this error, any help for this problem ? 2020-10-07T11_11_07_015Z-debug.log node -v v12.19.0 npm -v 6.14.8
kubernetes-e2e-gci-gke-flaky: broken test run
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-flaky/31/ Multiple broken tests: Failed: [k8s.io] NodeOutOfDisk [Serial] [Flaky] [Disruptive] runs out of disk space {Kubernetes e2e suite} [code block] Failed: [k8s.io] PersistentVolumes create a PV and a pre-bound PVC: test write access [Flaky] {Kubernetes e2e suite} [code block] Failed: [k8s.io] PersistentVolumes create a PVC and a pre-bound PV: test write access [Flaky] {Kubernetes e2e suite} [code block] Failed: Test {e2e.go} [code block] Issues about this test specifically: #33361 Failed: [k8s.io] PersistentVolumes create a PVC and non-pre-bound PV: test write access [Flaky] {Kubernetes e2e suite} [code block] Failed: [k8s.io] PersistentVolumes should create a non-pre-bound PV and PVC: test write access [Flaky] {Kubernetes e2e suite} [code block]
Support Hybi10 binaryType
Just landed in Chromium: http://code.google.com/p/chromium/issues/detail?id=93652 Allows sending Blob or ArrayBuffer (binary data).
ci-kubernetes-e2e-gci-gke-reboot: broken test run
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke-reboot/346/ Multiple broken tests: Failed: [k8s.io] Reboot [Disruptive] [Feature:Reboot] each node by dropping all inbound packets for a while and ensure they function afterwards {Kubernetes e2e suite} [code block] Issues about this test specifically: #33405 Failed: [k8s.io] Reboot [Disruptive] [Feature:Reboot] each node by switching off the network interface and ensure they function upon switch on {Kubernetes e2e suite} [code block] Issues about this test specifically: #33407 #33623 Failed: [k8s.io] Reboot [Disruptive] [Feature:Reboot] each node by ordering clean reboot and ensure they function upon restart {Kubernetes e2e suite} [code block] Issues about this test specifically: #33874 Failed: [k8s.io] Reboot [Disruptive] [Feature:Reboot] each node by ordering unclean reboot and ensure they function upon restart {Kubernetes e2e suite} [code block] Issues about this test specifically: #33882 #35316 Failed: [k8s.io] Reboot [Disruptive] [Feature:Reboot] each node by dropping all outbound packets for a while and ensure they function afterwards {Kubernetes e2e suite} [code block] Issues about this test specifically: #33703 #36230 Failed: [k8s.io] Reboot [Disruptive] [Feature:Reboot] each node by triggering kernel panic and ensure they function upon restart {Kubernetes e2e suite} [code block] Issues about this test specifically: #34123 #35398 Previous issues for this suite: #37
count parameter needs to be able to interpolate variables from modules.
I've been trying to extend my Terraform examples to support multiple AZs by default. As such, I have an _az_count_ variable output by my module to detect the AZs you have available: https://github.com/terraform-community-modules/tf_aws_availability_zones#outputs And I then want to reuse it for instances, for example here: https://github.com/bobtfish/terraform-vpc/blob/master/main.tf#L37 My example (https://github.com/bobtfish/terraform-example-vpc/tree/master/eucentral1-demo) crashes out with the error: - aws_instance.nat: resource count can't reference module variable: module.vpc.az_count and if I remove this error from the source (hope springs eternal!), I run into: - strconv.ParseInt: parsing "${module.azs.az_count}": invalid syntax This inability to interpolate count variables is a blocker for me being able to write region independent modules - as (for example) I want to be able to allocate one subnet per AZ, writing code like: [code block] Even better, I'd like to be able to interpolate variables out of one module, and into the user variables of another, for example: [code block]
Pass variables inside fig.yml on runtime
Is it possible to configure a fig.yml in such way that you can pass on execution time variables instead of hard-wiring them inside the fig.yml? I think a generic variable injection during execution would be quite useful for various use cases. e.g: <pre> jenkins: image: aespinosa/jenkins:latest ports: - "8080" hostname: ${HOSTNAME} </pre> HOSTNAME=ci fig up That could inject the variable HOSTNAME inside the fig.yml during execution and execute a docker run with hostname `ci`. ps. This is different than passing environment variables inside docker which is already supported (http://www.fig.sh/yml.html#environment)
Can't build NextJS project with openai library. Getting: Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher.
Confirm this is a Node library issue and not an underlying OpenAI API issue - [X] This is an issue with the Node library Describe the bug Getting this kind of error on build time on NextJS 14 and I don't know why this is my tsconfig.json [code block] Thanks for help. To Reproduce 1) Install and use library on nextjs 2) import something like `import typoe { Message } from 'openai/resources/beta/threads/messages';` Code snippets _No response_ OS macOS Node version v22.3.0 Library version 4.52.3
Dial in Twillio functions keeps calling multiple times
Steps to Reproduce Using the following [code block]` Both numbers get called as expected. The issue is that if I cancel a call on first phone, it starts ringing again until i cancel the call on both or accept on one or timeout happens. Is there a way to prevent that? The statusCallback function is the following, just used to log some extra stuff. [code block]`
io configure - socket io v1.X
What is the example configuration for do this in socket io v1.X.X ? [code block]