Skip to content
Open
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ htmlcov/
output-smoke/
litresearch.toml
.opencode/LESSONS.md
.opencode/PROJECT_STATE.md
23 changes: 0 additions & 23 deletions .opencode/PROJECT_STATE.md

This file was deleted.

14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ authors = [
{ name = "Silas Pignotti", email = "pignottisilas@gmail.com" },
]
license = { text = "MIT" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Information Analysis",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.28.1",
"litellm==1.82.6",
Expand All @@ -24,6 +35,9 @@ dependencies = [
[project.urls]
Homepage = "https://github.com/spignotti/litresearch"
Repository = "https://github.com/spignotti/litresearch"
Documentation = "https://github.com/spignotti/litresearch#readme"
Changelog = "https://github.com/spignotti/litresearch/blob/main/CHANGELOG.md"
Issues = "https://github.com/spignotti/litresearch/issues"

[project.scripts]
litresearch = "litresearch.cli:main"
Expand Down
17 changes: 11 additions & 6 deletions src/litresearch/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
from typing import Literal

from pydantic import computed_field
from pydantic_settings import BaseSettings, SettingsConfigDict, TomlConfigSettingsSource
from pydantic_settings import (
BaseSettings,
PydanticBaseSettingsSource,
SettingsConfigDict,
TomlConfigSettingsSource,
)


class Settings(BaseSettings):
Expand All @@ -19,11 +24,11 @@ class Settings(BaseSettings):
def settings_customise_sources(
cls,
settings_cls: type[BaseSettings],
init_settings,
env_settings,
dotenv_settings,
file_secret_settings,
):
init_settings: PydanticBaseSettingsSource,
env_settings: PydanticBaseSettingsSource,
dotenv_settings: PydanticBaseSettingsSource,
file_secret_settings: PydanticBaseSettingsSource,
) -> tuple[PydanticBaseSettingsSource, ...]:
"""Load settings from init, env, dotenv, TOML, then secrets."""
return (
init_settings,
Expand Down
1 change: 1 addition & 0 deletions src/litresearch/stages/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Pipeline stage modules for litresearch."""
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.