Skip to content

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

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 #3680

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

unit-tests-langchain.yml

on: pull_request
Matrix: Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Unit Tests (ubuntu-latest, 20.x)
langchain#build: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-0e5f34fb/yarn run build exited (1)
Unit Tests (ubuntu-latest, 20.x)
Module '"@langchain/openai"' has no exported member 'OpenAIChat'.
Unit Tests (ubuntu-latest, 20.x)
Module '"@langchain/openai"' has no exported member 'OpenAIChat'.
Unit Tests (ubuntu-latest, 20.x)
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'.
Unit Tests (ubuntu-latest, 20.x)
Module '"@langchain/openai"' has no exported member 'OpenAIChat'.
Unit Tests (ubuntu-latest, 20.x)
langchain#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-0de733cf/yarn run build:internal exited (1)
Unit Tests (ubuntu-latest, 20.x)
Process completed with exit code 1.
Unit Tests (ubuntu-latest, 18.x)
The job was canceled because "ubuntu-latest_20_x" failed.
Unit Tests (ubuntu-latest, 18.x)
The operation was canceled.
Unit Tests (ubuntu-latest, 20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636