Luka Secerovic

Results 14 comments of Luka Secerovic

I'm passing `maxRetries` exactly as in the docs: https://js.langchain.com/docs/modules/model_io/chat/dealing_with_api_errors

Should this line be changed from 0 to 6 to match the documentation: https://github.com/langchain-ai/langchainjs/blob/main/libs/langchain-openai/src/chat_models.ts#L916 ``` const endpoint = getEndpoint(openAIEndpointConfig); const params = { ...this.clientConfig, baseURL: endpoint, timeout: this.timeout, maxRetries: 0,...

@rahilvora thanks you for picking it up. I hope this fix gets shipped soon :) I hope @jacoblee93 will have time to review the PR soon, in the meantime I...

I've created the PR that adds them, please approve @dqbd :) https://github.com/dqbd/tiktoken/pull/109