mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 10:34:06 +02:00
Redesign Python AI engine (#5991)
# Description of Changes Redesign the Python AI engine to be properly agentic and make use of `pydantic-ai` instead of `langchain` for correctness and ergonomics. This should be a good foundation for us to build our AI engine on going forwards.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
from pytest import Config
|
||||
|
||||
|
||||
def pytest_configure(config: Config) -> None:
|
||||
# Set required env vars in case there is no .env file
|
||||
os.environ.setdefault("STIRLING_OPENAI_API_KEY", "test")
|
||||
os.environ.setdefault("STIRLING_POSTHOG_API_KEY", "test")
|
||||
Reference in New Issue
Block a user