Simon Willison
2d73e6c8d1
Test set_alias(..., alias) too, refs #154
2023-08-19 22:02:58 -07:00
Simon Willison
8cdcf1e689
llm.set_alias() function, refs #154
2023-08-19 22:01:29 -07:00
Simon Willison
0cd9333054
llm aliases defaults to llm aliases list, refs #154
...
Refs #167
2023-08-19 21:48:20 -07:00
Simon Willison
adb900be1a
Restore extra=forbid for Template, refs #169
2023-08-19 21:42:32 -07:00
Simon Willison
5bf0f4165f
Removed incomplete model_config feature, refs #169
2023-08-19 21:38:09 -07:00
Simon Willison
a105d98b58
Ignore mypy error, refs #169
2023-08-19 21:35:35 -07:00
Simon Willison
36f8ffc2a1
Test for llm models --options, refs #169
2023-08-19 21:26:23 -07:00
Simon Willison
0537622f40
Fix llm models --options in pydantic 1, refs #169
2023-08-19 21:21:03 -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
Chris Mungall
740a8e8344
Allow for use of Pydantic v1 as well as v2. ( #147 )
...
* Allow for use of Pydantic v1 as well as v2.
Use v1-style configuration. While this is officially
deprecated (https://docs.pydantic.dev/latest/usage/model_config/ ),
it is supported by v2. I would assume this support will remain
for a while, this will help ease the transition to v2
2023-08-19 20:50:59 -07:00
dependabot[bot]
bdae409a92
Bump Furo and Sphinx
...
* Bump the python-packages group with 1 update
Bumps the python-packages group with 1 update: [furo](https://github.com/pradyunsg/furo ).
- [Release notes](https://github.com/pradyunsg/furo/releases )
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md )
- [Commits](https://github.com/pradyunsg/furo/compare/2023.07.26...2023.08.17 )
---
updated-dependencies:
- dependency-name: furo
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: python-packages
...
Signed-off-by: dependabot[bot] <support@github.com>
* sphinx==7.2.2
According to tip here:
- https://github.com/pradyunsg/furo/discussions/693#discussioncomment-6753629
Refs #161
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Simon Willison <swillison@gmail.com>
2023-08-19 20:13:54 -07:00
Simon Willison
0eeb8393ca
llm models and llm templates default to list, closes #167
2023-08-19 20:04:14 -07:00
Simon Willison
9518515de0
Extra header configuration for openrouter.ai, refs #165
2023-08-19 18:53:49 -07:00
Simon Willison
075d9af3b6
Test for migrations fix in #162
2023-08-19 13:17:47 -07:00
Simon Willison
c4dbb62e68
Fix for broken migrations on sqlite-utils 3.35, refs #162
2023-08-19 13:09:41 -07:00
Simon Willison
d31d97e06f
Refactor get_key() with docs and better varible names
...
The actual logic is unchanged, but it is a lot easier to understand what it does now.
Refs #158
2023-08-17 15:03:55 -07:00
Simon Willison
a4f55e9987
--cid/--conversation option, docs for search - refs #160
2023-08-17 14:32:43 -07:00
Simon Willison
a2eab1b0f7
Fixed test failure, refs #160
2023-08-17 14:17:39 -07:00
Simon Willison
79d09936cb
Lose the indentation for log output, refs #160
2023-08-17 14:12:57 -07:00
Simon Willison
113df5dd87
llm logs now defaults to text output, use --json for JSON, use -c X for specific conversation
...
Refs #160
2023-08-17 13:57:18 -07:00
Simon Willison
8bf27b34ee
llm.UnknownModelError docs, closes #155
2023-08-13 14:57:35 -07:00
Simon Willison
4f7629c309
Fixed typo in changelog
2023-08-12 10:20:08 -07:00
nakamichi
a802bfbbb0
Fix a typo ( #148 )
2023-08-12 09:40:14 -07:00
Simon Willison
3bfcfd57d2
Release notes for 0.7
2023-08-12 09:38:58 -07:00
Simon Willison
819d600973
Link to two more blog entries
2023-08-12 09:27:36 -07:00
Simon Willison
6c532103e0
Release 0.7
...
Refs #115 , #132 , #136 , #146 , #151
2023-08-12 09:25:42 -07:00
Simon Willison
6a578c35cf
mypy fix for new aliases code, refs #151
2023-08-12 09:17:29 -07:00
Simon Willison
945ed246da
Updated cog help, refs #151
2023-08-12 09:15:46 -07:00
Simon Willison
458a59a8f4
Actually register aliases from aliases.json, closes #151
2023-08-12 09:15:17 -07:00
Simon Willison
eef2ab0d79
Decided not to allow you to unset aliases from plugins, refs #151
2023-08-12 09:15:00 -07:00
Simon Willison
3aab6cc2c4
Test for llm aliases remove invalid - refs #151
2023-08-12 09:06:38 -07:00
Simon Willison
53289e3767
llm aliases remove command, refs #151
2023-08-12 09:05:02 -07:00
Simon Willison
4a68aa408a
llm aliases path command, refs #151
2023-08-12 09:01:51 -07:00
Simon Willison
8fc9cd1902
llm aliasess set command, refs #151
2023-08-12 09:01:12 -07:00
Simon Willison
b8f8869778
llm aliases list --json option, refs #151
2023-08-12 08:52:57 -07:00
Simon Willison
4db949bae8
Use prolog for cog --check in Justfile
2023-08-11 23:19:56 -07:00
Simon Willison
7207554719
Updated test for new alignment of aliases, refs #151
2023-08-11 23:18:46 -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
50d3b8b25b
Don't include extra-openai-models.yaml when cogging aliases, refs #151
2023-08-11 23:14:44 -07:00
Simon Willison
a8059a24a9
Docs and tests for llm aliases list, refs #151
2023-08-11 23:00:20 -07:00
Simon Willison
4980f5a7c0
llm aliases list command, refs #151
2023-08-11 22:57:30 -07:00
Simon Willison
609e8dead8
--no-cache-dir and --force-reinstall options, closes #146
2023-08-03 21:30:47 -07:00
dependabot[bot]
c5adc59252
Bump the python-packages group with 1 update ( #145 )
...
Bumps the python-packages group with 1 update: [furo](https://github.com/pradyunsg/furo ).
- [Release notes](https://github.com/pradyunsg/furo/releases )
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md )
- [Commits](https://github.com/pradyunsg/furo/compare/2022.06.21...2023.07.26 )
---
updated-dependencies:
- dependency-name: furo
dependency-type: direct:production
dependency-group: python-packages
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 16:51:51 -07:00
Simon Willison
575f66e5f7
Try dependabot.yml configuration
...
https://github.blog/changelog/2023-06-30-grouped-version-updates-for-dependabot-public-beta/
2023-08-03 14:06:48 -07:00
Pavel Král
838484b1f3
Set min/max constraints to float arguments
...
* Add .idea/ to .gitignore
* Set min and max constraints to float parameters
Closes #115
2023-07-26 10:59:09 -07:00
Sherwin Daganato
531d188199
Fix: Prevent TypeError in llm templates list for templates with empty prompts ( #132 )
2023-07-26 10:46:58 -07:00
Simon Willison
65d16663f5
Fix bug in --editable, closes #136
2023-07-25 22:21:20 -07:00
Simon Willison
3c2ef73f78
Remove Tutorial: prefix
2023-07-24 13:05:47 -07:00
Simon Willison
ce21cbd202
.readthedocs.yaml
...
Refs #128
2023-07-24 08:53:48 -07:00