Commit bcfa1a10 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.langchain-openai: disable text that fails Pydantic validation

Langchain is rewriting their pydantic-related code an it's still a WIP. This disables a flaky test.
parent c4d5ad04
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -94,6 +94,12 @@ buildPythonPackage rec {
    "test_openai_get_num_tokens"
  ];

  disabledTestPaths = [
    # TODO recheck on next update. Langchain has been working on Pydantic errors.
    # ValidationError from pydantic
    "tests/unit_tests/chat_models/test_responses_stream.py"
  ];

  pythonImportsCheck = [ "langchain_openai" ];

  passthru.updateScript = gitUpdater {