文件历史

提交图

23 次代码提交

作者 SHA1 备注 提交日期
Simon Willison febbc04fb6 Run cog -r in PRs, use that to update logging.md with new tables (#616)
* Create cog.yml
* Document attachments and prompt_attachments table schemas

Closes #615

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-06 06:56:19 -08:00
Andrew Wason a466ddf3cd Fix broken tests. Drop python 3.8. (#580)
* Fix broken tests.  Drop python 3.8.
* Test on Python 3.13 too

---------

Co-authored-by: Simon Willison <swillison@gmail.com>
2024-10-27 11:26:47 -07:00
Simon Willison c9fab1150c Update to ruff check . 2024-07-18 12:06:41 -07:00
Simon Willison 8573b8ecc8 Publish releases using pypa/gh-action-pypi-publish@release/v1 2024-05-13 13:42:17 -07:00
Simon Willison 8021e12aaa Windows readline fix, plus run CI against macOS and Windows
Test / test (macos-latest, >=2.0.0, 3.10) (push) Has been cancelled
Test / test (macos-latest, ==1.10.2, 3.9) (push) Has been cancelled
Test / test (macos-latest, >=2.0.0, 3.11) (push) Has been cancelled
Test / test (macos-latest, >=2.0.0, 3.12) (push) Has been cancelled
Test / test (macos-latest, >=2.0.0, 3.8) (push) Has been cancelled
Test / test (macos-latest, >=2.0.0, 3.9) (push) Has been cancelled
Test / test (ubuntu-latest, ==1.10.2, 3.10) (push) Has been cancelled
Test / test (ubuntu-latest, ==1.10.2, 3.11) (push) Has been cancelled
Test / test (ubuntu-latest, ==1.10.2, 3.12) (push) Has been cancelled
Test / test (ubuntu-latest, ==1.10.2, 3.8) (push) Has been cancelled
Test / test (ubuntu-latest, ==1.10.2, 3.9) (push) Has been cancelled
Test / test (ubuntu-latest, >=2.0.0, 3.10) (push) Has been cancelled
Test / test (ubuntu-latest, >=2.0.0, 3.11) (push) Has been cancelled
Test / test (ubuntu-latest, >=2.0.0, 3.12) (push) Has been cancelled
Test / test (ubuntu-latest, >=2.0.0, 3.8) (push) Has been cancelled
Test / test (ubuntu-latest, >=2.0.0, 3.9) (push) Has been cancelled
Test / test (macos-latest, ==1.10.2, 3.10) (push) Has been cancelled
Test / test (macos-latest, ==1.10.2, 3.11) (push) Has been cancelled
Test / test (macos-latest, ==1.10.2, 3.12) (push) Has been cancelled
Test / test (macos-latest, ==1.10.2, 3.8) (push) Has been cancelled
Test / test (windows-latest, ==1.10.2, 3.10) (push) Has been cancelled
Test / test (windows-latest, ==1.10.2, 3.11) (push) Has been cancelled
Test / test (windows-latest, ==1.10.2, 3.12) (push) Has been cancelled
Test / test (windows-latest, ==1.10.2, 3.8) (push) Has been cancelled
Test / test (windows-latest, ==1.10.2, 3.9) (push) Has been cancelled
Test / test (windows-latest, >=2.0.0, 3.10) (push) Has been cancelled
Test / test (windows-latest, >=2.0.0, 3.11) (push) Has been cancelled
Test / test (windows-latest, >=2.0.0, 3.12) (push) Has been cancelled
Test / test (windows-latest, >=2.0.0, 3.8) (push) Has been cancelled
Test / test (windows-latest, >=2.0.0, 3.9) (push) Has been cancelled
* Run CI on Windows and macOS as well as Ubuntu, refs #407
* Use pyreadline3 on win32
* Back to fail-fast since we have a bigger matrix now
* Mark some tests as xfail on windows
2024-01-26 16:24:58 -08:00
Simon Willison 214fcaaf86 Upgrade to run against OpenAI >= 1.0
* strategy: fail-fast: false - to help see all errors
* Apply latest Black

Refs #325
2024-01-25 22:00:44 -08:00
Simon Willison 469644c2af Test using test-llm-load-plugins.sh
* Run test-llm-load-plugins.sh, closes #378
2024-01-25 17:44:34 -08:00
Simon Willison d9d9bb38d7 Drop Python 3.7, add 3.8, fix pkg_resources warning, refs #378 2024-01-25 16:48:49 -08:00
Simon Willison dffbac4f48 Don't update stable docs on preview releases
Test / test (==1.10.2, 3.10) (push) Has been cancelled
Test / test (==1.10.2, 3.11) (push) Has been cancelled
Test / test (==1.10.2, 3.7) (push) Has been cancelled
Test / test (==1.10.2, 3.8) (push) Has been cancelled
Test / test (==1.10.2, 3.9) (push) Has been cancelled
Test / test (>=2.0.0, 3.10) (push) Has been cancelled
Test / test (>=2.0.0, 3.11) (push) Has been cancelled
Test / test (>=2.0.0, 3.7) (push) Has been cancelled
Test / test (>=2.0.0, 3.8) (push) Has been cancelled
Test / test (>=2.0.0, 3.9) (push) Has been cancelled
2023-09-04 23:41:51 -07:00
Simon Willison 3224f82cff Ensure cog runs against docs/*.md as well 2023-09-03 07:37:59 -07:00
Simon Willison b7e6c1675b Show SQL schema for embeddings in docs 2023-09-02 20:48:00 -07:00
Simon Willison 83592f176d Create stable branch from most recent release tag
Refs https://github.com/simonw/simonw-readthedocs-experiments/issues/2
2023-08-20 21:31:49 -07:00
Simon Willison d736a07ddf Stable documentation workflow
Refs https://github.com/simonw/simonw-readthedocs-experiments/issues/1
2023-08-20 21:02:41 -07:00
Simon Willison 7ca923137b Try a different matrix syntax, refs #169 2023-08-19 21:05:17 -07:00
Simon Willison 14a91efbad Fixes for Pydantic 1, including matrix test - refs #169
Also refs #147
2023-08-19 20:59:30 -07:00
Simon Willison 7303bc3e34 Use cog prolog
Refs https://github.com/simonw/llm/issues/151#issuecomment-1675730608
2023-08-11 23:17:50 -07:00
Simon Willison 9f25cde60e Show cog on usage.md to help debug #82 2023-07-10 14:00:21 -07:00
Simon Willison 4a9f7f4908 Lint using Ruff, refs #78 2023-07-02 12:41:40 -07:00
Simon Willison 3ed86e403d Added mypy, plus some fixes to make it happy - refs #77 2023-07-02 12:36:22 -07:00
Simon Willison 9d914bf9cc Include cogapp in pip install -e '.[test]' 2023-07-01 11:56:50 -07:00
Simon Willison 7485e0646e Use pip install -e '.[test]' 2023-07-01 11:32:38 -07:00
Simon Willison 5e21195e93 Improvements to help, closes #40 2023-06-17 09:19:52 +01:00
Simon Willison 3f89cb9609 Initial prototype, refs #1 2023-04-01 14:28:24 -07:00