Skip to content

feat(openai): Make only AzureOpenAI respect Azure env vars, remove class defaults, update withStructuredOutput defaults #4450

feat(openai): Make only AzureOpenAI respect Azure env vars, remove class defaults, update withStructuredOutput defaults

feat(openai): Make only AzureOpenAI respect Azure env vars, remove class defaults, update withStructuredOutput defaults #4450

Triggered via pull request January 24, 2025 23:31
Status Failure
Total duration 11m 16s
Artifacts

examples.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Build
Module '"@langchain/openai"' has no exported member 'OpenAIChat'.
Build
Module '"@langchain/openai"' has no exported member 'OpenAIChat'.
Build
Argument of type '{ temperature: number; modelName: string; streaming: true; azureOpenAIApiKey: string; azureOpenAIApiInstanceName: string; azureOpenAIApiDeploymentName: string; azureOpenAIApiVersion: string; prefixMessages: { ...; }[]; }' is not assignable to parameter of type 'ChatOpenAIFields'.
Build
Module '"@langchain/openai"' has no exported member 'OpenAIChat'.
Build
langchain#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-c4b5ea71/yarn run build:internal exited (1)
Build
langchain#build: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-4128c300/yarn run build exited (1)
Build
Process completed with exit code 1.
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636