Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions stacklets/docs/bot/archivist.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ async def start(self) -> None:
if self.openai_url:
self._classifier = Classifier.from_endpoint(
self.openai_url, self.openai_key, bot_name=self.name,
language=self.language,
capabilities=ModelCapabilities(
path=self._session_dir / "model-capabilities.json",
),
Expand Down
1 change: 1 addition & 0 deletions stacklets/docs/bot/cli_entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ async def main(argv: list[str]) -> int:
classifier = Classifier.from_endpoint(
os.environ.get("OPENAI_URL", ""),
os.environ.get("OPENAI_KEY", ""),
language=os.environ.get("LANGUAGE", "en"),
)
return await fn(paperless, classifier, rest)

Expand Down
Loading
Loading