Release 3.2.0
What's new
This release focuses on improving the command-line interface (especially handling piped input/output), enhancing language model interactions (switching defaults, better caching, Ollama support), and increasing overall stability through numerous bug fixes and testing improvements.
✨ Features
- Added arguments to set specific keyword arguments (
kwargs
) for language models (--model_kwargs
,--query_eval_model_kwargs
) ([1392553]). - Introduced
WDOC_LLM_REQUEST_TIMEOUT
environment variable for LLM request timeouts (default 600s), useful for Ollama ([ec3c0c5]). - Switched default models from Claude Sonnet/Haiku to Gemini 1.5 Pro/Flash ([82ef10d]).
- Unified LLM handling to primarily use
ChatLiteLLM
, removing directChatOpenAI
usage ([30a0f0c]). - Enabled cost tracking for queries, storing the cost in the output ([e7753af]).
- Added automatic download of
nltk punkt
tokenizer during post-installation ([44f5bf8]). - Overhauled Command Line Interface (CLI) argument parsing for
wdoc
andwdoc parse
usingfire
([7c51ed2], [2f4748d]). - Removed the
--pipe
argument, relying on automatic stdin/stdout detection ([b03e79a], [2e6c1dd], [838f164]). - Removed the separate
wdoc_parse_file
entry point; usewdoc parse
instead ([2e878d2]). - Added a new script
media_url_finder.py
([beaf8fa]).
🐛 Fixes
- LLM PLACEHOLDER Caching:
- Resolved issues with LLM caching, including invalidation when
kwargs
change and LangChain's SQLite cache ([cb785da], [3e3e753]). - Fixed edge cases in thinking block parsing for models like Gemini and updated tags (
<thinking>
-><think>
) ([e111bdb], [d0ae21a], [ca9245b], [99ed332]). - Corrected underflow errors in cost calculation due to low LLM prices ([3f18f5d], [95a1984]).
- Addressed issues specific to Ollama: API key requirement relaxation, price assumption (zero),
litellm
naming (ollama_chat
->ollama
), and context window estimation ([d2f92a3], [5784b25], [43c6340], [c3c15e1]). - Fixed handling of
testing/testing
models and associated parameters ([b995197], [91b5e67], [7cf840c], [9a7b95b]). - Fixed
query_retrievers
parsing ([02d7412]). - Pinned
litellm
version for stability ([1b17c78]).
- Resolved issues with LLM caching, including invalidation when
- CLI PLACEHOLDER Piping:
- Improved detection and handling of piped input/output ([2e6c1dd], [509626a], [db2fa0f]).
- Fixed crashes and hangs when using pipes, especially with long inputs or specific test commands ([f59f34b], [414de8d], [b95b125], [826e7aa], [b6f7fd7], [177be6b]).
- Corrected argument parsing issues affecting the
--help
command ([c909337]). - Ensured logs are not colorized and Markdown rendering is disabled when outputting to a pipe ([f1d63cd], [fe2665c]).
- Fixed issues where debug prints or warnings were incorrectly suppressed or handled ([64fcd60], [a7724ff]).
- General:
- Fixed various bugs in task execution, parameter handling, and attribute declarations ([27a8d35], [91d8df3], [a0eaf51], [a6effc0], [5dce2f3], [4623fcc], [b17f567], [8cc9190], [e91ed3b], [c3649ab]).
- Corrected import path in
__main__
([0ef5e4d]). - Suppressed excessive INFO logs from
faiss
([a17a8d1]). - Handled
BrokenPipeError
gracefully ([b40832b]).
🧪 Testing
- Improved test setup for caching, using separate directories and disabling cache where necessary ([9104f86], [89f4859], [085a87e], [6935fe7]).
- Added tests for OpenRouter/default models, piping functionality, summary/query tasks with testing models, and environment variable handling ([06e35b0], [bbb8371], [caae34c], [cb9d237], [eaafafd], [1f835eb]).
- Refactored pipe tests to use
subprocess
explicitly and fixed related issues (stderr redirection, pytest capture, shell usage) ([38a3571], [7f3249a], [573acf9]). (Note: Some pipe tests were later commented out ([45cf419])).
⚡ Enhancements
- Reworked logic for detecting and modifying model parameters based on the task ([564c4f9]).
- Improved
load_media
function to handle online media more robustly by finding and clicking appropriate buttons ([049c9cb], [67772f8], [c5828d3]). - Added checks to prevent exceeding total token limits during summarization ([9bdcabc]).
- Refined logging levels and Markdown printing logic ([edfec82], [4ca394c], [895a60f]).
📚 Documentation
- Updated examples for Ollama arguments, model usage (Gemma -> Qwen2), and general clarity ([0087117], [49437ec], [4083dda], [404bbe4]).
- Clarified behavior related to LLM caching and model
kwargs
in help documentation ([c3e0219], [3e3e753], [1392553], [7db844f]). - Updated README and help files reflecting changes in default models, CLI arguments, and entry points ([82ef10d], [b03e79a], [2e878d2], [a30bccf]).
⚙️ Build PLACEHOLDER Chore
- Bumped version to 3.2.0 ([7d69d79]).
- Added
nltk
to dependencies ([44f5bf8]). - Updated
.gitignore
([84aa559], [5374ee1], [39e4106], [a25e3d4]). - Renamed
embed_kwargs
toembed_model_kwargs
([431efcb]).
Commits details since the last release
- [7d69d79] by @thiswillbeyourgithub, 77 seconds ago:
bump version 3.1.0 -> 3.2.0
bumpver.toml
docs/source/conf.py
setup.py
wdoc/wdoc.py
- [30a0f0c] by @thiswillbeyourgithub, 24 minutes ago:
new: stop using both ChatOpenAI and ChatLiteLLM
ChatLiteLLM seems to now work reliably
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
wdoc/docs/help.md
wdoc/utils/llm.py
wdoc/utils/retrievers.py
wdoc/utils/tasks/query.py
- [9104f86] by @thiswillbeyourgithub, 41 minutes ago:
fix: in the pytest we should delete the cache dir regularly
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/conftest.py
- [e111bdb] by @thiswillbeyourgithub, 46 minutes ago:
fix: fix edge case for gemini models that only end their thinking block
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [84aa559] by @thiswillbeyourgithub, 78 minutes ago:
test: ignore cache dir
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
.gitignore
- [89f4859] by @thiswillbeyourgithub, 79 minutes ago:
test: use a separate user dir for the cache when running the tests
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
wdoc/utils/misc.py
- [3f18f5d] by @thiswillbeyourgithub, 79 minutes ago:
fix: underflow error in cost
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/tasks/summarize.py
wdoc/wdoc.py
- [27a8d35] by @thiswillbeyourgithub, 2 hours ago:
fix: latest cost attribute was not declared
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [c3c15e1] by @thiswillbeyourgithub, 2 hours ago:
enh: if ollama is used, lower the estimate of the context window
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/llm.py
- [91d8df3] by @thiswillbeyourgithub, 2 hours ago:
fix: wrong indentation in an if
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [a0eaf51] by @thiswillbeyourgithub, 2 hours ago:
fix: wrong deepcopy for eval llm
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [29c9c4e] by @thiswillbeyourgithub, 2 hours ago:
fix: test
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [cb785da] by @thiswillbeyourgithub, 2 hours ago:
fix: make the sqlite cache already patched for langchain s stupid cache
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/customs/fix_llm_caching.py
- [3e3e753] by @thiswillbeyourgithub, 2 hours ago:
fix: try to make it so that changing the kwargs does not reuse the cache
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/help.md
wdoc/utils/llm.py
- [c3e0219] by @thiswillbeyourgithub, 2 hours ago:
doc: explain that changing the kwargs will not invalidate the cache
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/help.md
- [827d563] by @thiswillbeyourgithub, 2 hours ago:
test: improved test to also test caching
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [e7753af] by @thiswillbeyourgithub, 2 hours ago:
new: store the cost of the query in the output now
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [d0ae21a] by @thiswillbeyourgithub, 2 hours ago:
fix: reworked and improved how thinking_answer_parser works
some weak models could fail despite usable results
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [ca9245b] by @thiswillbeyourgithub, 3 hours ago:
fix: dont make the thinking block parser greedy
I'm sure some models can nest thoughts
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [99ed332] by @thiswillbeyourgithub, 3 hours ago:
fix: most models nowadays use not
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
wdoc/utils/prompts.py
wdoc/utils/tasks/query.py
- [085a87e] by @thiswillbeyourgithub, 3 hours ago:
test: disable the embedding cache
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [6935fe7] by @thiswillbeyourgithub, 3 hours ago:
test: always disable the cache in the test
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [06e35b0] by @thiswillbeyourgithub, 3 hours ago:
test: add new tests for openrouter and default models
instead of just using openai
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [f88cb69] by @thiswillbeyourgithub, 3 hours ago:
minor: move some tests
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [95a1984] by @thiswillbeyourgithub, 4 hours ago:
fix: cost computation had an underflow error because LLMs are so cheap now!
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/tasks/summarize.py
- [249991e] by @thiswillbeyourgithub, 4 hours ago:
fix: debug prints
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/llm.py
wdoc/wdoc.py
- [a6effc0] by @thiswillbeyourgithub, 4 hours ago:
fix: stop setting specific parameters depending on the task
some models break down and it's best to leave it to the user and the
defaults
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [33f4655] by @thiswillbeyourgithub, 4 hours ago:
new: restart using langfuse_callback directly in chatlitellm
they seem to have fixed it
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/llm.py
- [404bbe4] by @thiswillbeyourgithub, 4 hours ago:
fix: an example
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/examples.md
- [4083dda] by @thiswillbeyourgithub, 4 hours ago:
doc: slightly better examples
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/examples.md
- [49437ec] by @thiswillbeyourgithub, 4 hours ago:
doc: switch example from using gemma to qwen3
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/examples.md
- [0087117] by @thiswillbeyourgithub, 4 hours ago:
doc: add example for how to pass arguments for ollama to help with small context sizes
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/examples.md
- [564c4f9] by @thiswillbeyourgithub, 4 hours ago:
enh: reworked the way we detect and modify model params for tasks
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [5dce2f3] by @thiswillbeyourgithub, 4 hours ago:
fix: do not override user kwargs for llm params in queries
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [4623fcc] by @thiswillbeyourgithub, 4 hours ago:
fix: do not override user kwargs for llm params in summaries
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [b17f567] by @thiswillbeyourgithub, 4 hours ago:
fix: handling of openrouter parameter parsing
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [1392553] by @thiswillbeyourgithub, 4 hours ago:
feat: add arguments to set kwargs for the model or query_eval_model
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/help.md
wdoc/wdoc.py
- [431efcb] by @thiswillbeyourgithub, 5 hours ago:
minor: rename embed_kwargs to embed_model_kwargs
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/help.md
wdoc/wdoc.py
- [6bf4fb8] by @thiswillbeyourgithub, 5 hours ago:
add some debug prints
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/llm.py
- [c20bfe3] by @thiswillbeyourgithub, 5 hours ago:
minor
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/llm.py
- [ec3c0c5] by @thiswillbeyourgithub (aider), 2 days ago:
feat: Add WDOC_LLM_REQUEST_TIMEOUT env var with default value of 600
useful for ollama
wdoc/docs/help.md
wdoc/utils/env.py
wdoc/utils/tasks/summarize.py
wdoc/wdoc.py
- [d2f92a3] by @thiswillbeyourgithub, 2 days ago:
fix: don't crash if missing api key for ollama backend
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/llm.py
- [5784b25] by @thiswillbeyourgithub, 2 days ago:
fix: ollama models should always assume the price is 0
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [43c6340] by @thiswillbeyourgithub, 2 days ago:
fix: litellm renamed ollama_chat to ollama
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/examples.md
- [fe8911a] by @thiswillbeyourgithub, 2 days ago:
add more todo
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
README.md
- [45cf419] by @thiswillbeyourgithub, 2 days ago:
comment out the pipe tests
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [38a3571] by @thiswillbeyourgithub (aider), 2 days ago:
Refactor: Use subprocess for explicit piping in test_cli_pipe_summarize
tests/test_wdoc.py
- [7f3249a] by @thiswillbeyourgithub (aider), 2 days ago:
refactor: Use subprocess for pipe query test, remove shell=True
tests/test_wdoc.py
- [d4c4c69] by @thiswillbeyourgithub, 2 days ago:
trying to fix the pipe test
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [94d3b6c] by @thiswillbeyourgithub, 2 days ago:
minor: don't loop the query task if the output is a pipe
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [414de8d] by @thiswillbeyourgithub (aider), 2 days ago:
fix: Redirect stderr to stdout in pipe query test command
tests/test_wdoc.py
- [573acf9] by @thiswillbeyourgithub (aider), 2 days ago:
fix: Disable pytest capture for subprocesses in pipe query/summarize
tests/test_wdoc.py
- [eb75063] by @thiswillbeyourgithub, 2 days ago:
minor: moved a test up
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [ff2acb2] by @thiswillbeyourgithub, 2 days ago:
test: no need for 2>1& in test
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [98a55ff] by @thiswillbeyourgithub, 2 days ago:
fix: forgot to remove the --pipe arg
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [8853842] by @thiswillbeyourgithub, 2 days ago:
untested: output of parser
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [3aa8db7] by @thiswillbeyourgithub, 2 days ago:
fix: by default we should assume the input argument of str is a .txt
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [a70775a] by @thiswillbeyourgithub, 2 days ago:
minor: add type checking to cli entry points
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [18c10d8] by @thiswillbeyourgithub, 2 days ago:
minor
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [f59f34b] by @thiswillbeyourgithub, 2 days ago:
fix: crash when long text in input pipe
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [8cc9190] by @thiswillbeyourgithub, 2 days ago:
fix: had mistaken summarize and summary
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
wdoc/main.py
wdoc/utils/misc.py
wdoc/wdoc.py
- [c909337] by @thiswillbeyourgithub, 2 days ago:
fix: new arg parsing broke the help
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [82ef10d] by @thiswillbeyourgithub, 2 days ago:
new: switch default model from claude sonnet and haiku to gemini 2.5 and flash
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
README.md
wdoc/utils/env.py
- [2f4748d] by @thiswillbeyourgithub (aider), 2 days ago:
feat: Add parse_args_fire to suppress fire.Fire output in CLI parsing
wdoc/main.py
- [7c51ed2] by @thiswillbeyourgithub, 2 days ago:
new: completely rewrote how we parse the arguments for parse and wdoc fore fire
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
wdoc/wdoc.py
- [0947672] by @thiswillbeyourgithub, 2 days ago:
minor: define the log level as early as possible
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/init.py
- [fc28c23] by @thiswillbeyourgithub, 2 days ago:
fix: print the detection of pipes after the log level was defined
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/env.py
wdoc/utils/logger.py
- [8cdeef5] by @thiswillbeyourgithub, 2 days ago:
minor: set the default logging for wdoc in init.py
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/init.py
- [04fb884] by @thiswillbeyourgithub, 2 days ago:
minor: define a list of valid tasks in misc
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
wdoc/wdoc.py
- [838f164] by @thiswillbeyourgithub, 2 days ago:
minor: add debug print to tell wether we detected an input or output pipe
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/env.py
- [4398409] by @thiswillbeyourgithub, 2 days ago:
minor: better error when used in pipes
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [2e878d2] by @thiswillbeyourgithub, 2 days ago:
new: remove entry point wdoc_parse_file, instead we should use 'wdoc parse'
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
README.md
setup.py
wdoc/main.py
- [64fcd60] by @thiswillbeyourgithub, 2 days ago:
fix: some debugs prints were ignored
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [b03e79a] by @thiswillbeyourgithub, 2 days ago:
new: remove confusing --pipe argument
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
README.md
wdoc/main.py
- [2e6c1dd] by @thiswillbeyourgithub (aider), 2 days ago:
refactor: Handle piped input with URL, path, JSON, TOML detection
wdoc/main.py
- [6c64fb2] by @thiswillbeyourgithub, 2 days ago:
Revert "Refactor: Move piped input logic from misc to cli_launcher in main"
This reverts commit 0cf8697.
wdoc/main.py
wdoc/utils/misc.py
- [db1d46f] by @thiswillbeyourgithub, 2 days ago:
Revert "test: remove unused test to get piped input"
This reverts commit 516348f.
tests/test_wdoc.py
- [caae34c] by @thiswillbeyourgithub (aider), 2 days ago:
feat: Add test_cli_pipe_summary using wdoc parse and summarize
tests/test_wdoc.py
- [516348f] by @thiswillbeyourgithub, 2 days ago:
test: remove unused test to get piped input
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [0cf8697] by @thiswillbeyourgithub (aider), 2 days ago:
Refactor: Move piped input logic from misc to cli_launcher in main
wdoc/main.py
wdoc/utils/misc.py
- [b95b125] by @thiswillbeyourgithub (aider), 2 days ago:
fix: Redirect stderr to stdout in piped wdoc query test command
tests/test_wdoc.py
- [826e7aa] by @thiswillbeyourgithub (aider), 2 days ago:
fix: Use shell=True for test_cli_pipe_query to fix piping issue
tests/test_wdoc.py
- [085faf4] by @thiswillbeyourgithub, 2 days ago:
test
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [b6f7fd7] by @thiswillbeyourgithub (aider), 2 days ago:
fix: Capture stderr in test_cli_pipe_query to check full output
tests/test_wdoc.py
- [177be6b] by @thiswillbeyourgithub (aider), 2 days ago:
fix: Add --oneoff and timeout to pipe query test to prevent hanging
tests/test_wdoc.py
- [a7724ff] by @thiswillbeyourgithub, 2 days ago:
fix: some warning were disabled when import_mode used
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [bbb8371] by @thiswillbeyourgithub (aider), 2 days ago:
feat: Add tests for piping input to wdoc CLI and utils function
tests/test_wdoc.py
- [cb9d237] by @thiswillbeyourgithub (aider), 2 days ago:
test: Add test for summary task with testing model
tests/test_wdoc.py
- [eaafafd] by @thiswillbeyourgithub (aider), 2 days ago:
test: Add test for query task with testing model and fixed assertion
tests/test_wdoc.py
- [259097e] by @thiswillbeyourgithub, 2 days ago:
minor
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [0507cd9] by @thiswillbeyourgithub, 2 days ago:
minor
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/llm.py
- [7cf840c] by @thiswillbeyourgithub, 2 days ago:
fix: when using testing models we need the query_relevancy to be set to -1.0
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [9a7b95b] by @thiswillbeyourgithub, 2 days ago:
fix: the testing query_eval_model should answer 10 not 1
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [a2d3465] by @thiswillbeyourgithub, 2 days ago:
fix: forgot to remove an extra arg for md_printer
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [7db844f] by @thiswillbeyourgithub, 2 days ago:
doc: explicitely tell that setting model to testing/testing also sets query_eval_model to testing/testing
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/help.md
- [744e94e] by @thiswillbeyourgithub, 2 days ago:
fix: wrong type hint for fake llm
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [02d7412] by @thiswillbeyourgithub, 2 days ago:
fix: query_retrievers parsing
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [b995197] by @thiswillbeyourgithub, 2 days ago:
fix: testing/testing models were not correctly parsed
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/llm.py
wdoc/utils/misc.py
wdoc/wdoc.py
- [91b5e67] by @thiswillbeyourgithub, 2 days ago:
fix: detecting testing model
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [8134514] by @thiswillbeyourgithub, 2 days ago:
stop disabling input pipe when pytest is imported
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [509626a] by @thiswillbeyourgithub, 2 days ago:
slight difference when looking for piped input
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
wdoc/utils/misc.py
- [1f835eb] by @thiswillbeyourgithub, 2 days ago:
test: enh in testing unexpected env var
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
tests/test_wdoc.py
- [4ca394c] by @thiswillbeyourgithub, 3 days ago:
better logging levels
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [895a60f] by @thiswillbeyourgithub, 3 days ago:
better logging levels
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/batch_file_loader.py
- [db2fa0f] by @thiswillbeyourgithub, 3 days ago:
fix: print help depending on if piped
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [beaf8fa] by @thiswillbeyourgithub, 6 days ago:
new script: media_url_finder.py
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
README.md
scripts/MediaURLFinder/README.md
scripts/MediaURLFinder/media_url_finder.py
- [c5828d3] by @thiswillbeyourgithub (aider), 6 days ago:
Refactor: Combine play button selector loops for efficiency
wdoc/utils/loaders.py
- [9d0de49] by @thiswillbeyourgithub, 6 days ago:
minor
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/loaders.py
- [e4bdd54] by @thiswillbeyourgithub, 6 days ago:
add debug print
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/loaders.py
- [049c9cb] by @thiswillbeyourgithub, 6 days ago:
add more buttons to click on for load_media
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/loaders.py
- [67772f8] by @thiswillbeyourgithub, 6 days ago:
enh: only click on clickable buttons in online_media
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/loaders.py
- [642e637] by @thiswillbeyourgithub, 6 days ago:
fix: add a timeout error to ignore when finding online media
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/loaders.py
- [415b03c] by @thiswillbeyourgithub, 6 days ago:
set an info print to debug
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/logger.py
- [3f7ec2c] by @thiswillbeyourgithub, 6 days ago:
turn a warning into a debug print
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/env.py
- [1b17c78] by @thiswillbeyourgithub, 6 days ago:
fix: pin the litellm version
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
setup.py
- [a17a8d1] by @thiswillbeyourgithub (aider), 6 days ago:
fix: Suppress faiss INFO logs by setting log level to WARNING.
wdoc/init.py
- [b40832b] by @thiswillbeyourgithub, 6 days ago:
fix: dont talk if broken pipe
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [44f5bf8] by @thiswillbeyourgithub (aider), 6 days ago:
feat: Download nltk punkt_tab during post-install and add nltk dependency.
setup.py
- [e91ed3b] by @thiswillbeyourgithub, 6 days ago:
minor: better parser
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [03426e9] by @thiswillbeyourgithub, 6 days ago:
minor: fix a doc counter in parser
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [bed27b3] by @thiswillbeyourgithub, 6 days ago:
turn a warning into a debug print
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [7bb8afa] by @thiswillbeyourgithub, 2 weeks ago:
minor
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [edfec82] by @thiswillbeyourgithub, 2 weeks ago:
enh: hopefully better way to handle the md prints
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/logger.py
wdoc/wdoc.py
- [bd601af] by @thiswillbeyourgithub, 2 weeks ago:
minor: the md print should happen after the logger
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/logger.py
- [c3649ab] by @thiswillbeyourgithub, 2 weeks ago:
fix: price estimation of summary
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [0ef5e4d] by @thiswillbeyourgithub, 2 weeks ago:
fix: import from main
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
- [9bdcabc] by @thiswillbeyourgithub, 2 weeks ago:
new: add checks that the total token count is okay
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/tasks/summarize.py
- [a30bccf] by @thiswillbeyourgithub, 2 weeks ago:
doc: remove obsolete mention of userToolsOutput for open-webui
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
README.md
- [e709495] by @thiswillbeyourgithub, 2 weeks ago:
minor: set an error log level to some md_print
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/logger.py
wdoc/wdoc.py
- [5374ee1] by @thiswillbeyourgithub, 2 weeks ago:
ignore a script
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
.gitignore
- [f1d63cd] by @thiswillbeyourgithub, 2 weeks ago:
fix: dont colorize logs if we are in an output pipe
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/logger.py
- [fe2665c] by @thiswillbeyourgithub, 2 weeks ago:
fix: don't use md rendering if we are in a pipe
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/logger.py
- [2d56d09] by @thiswillbeyourgithub, 2 weeks ago:
minor: remove unused attribute
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [39e4106] by @thiswillbeyourgithub, 2 weeks ago:
ignore release notes
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
.gitignore
- [a25e3d4] by @thiswillbeyourgithub, 2 weeks ago:
gitignore
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
.gitignore