提交

提交图

  • 278509d824 Warn about prompt injection tools risk, closes #1097 Simon Willison 2025-05-26 18:01:51 -07:00
  • e1f276e576 Use --tool longhand Simon Willison 2025-05-26 15:13:46 -07:00
  • 9bbb37fae0 New default llm_version tool, closes #1096 Simon Willison 2025-05-26 13:30:47 -07:00
  • e23e13e6c7 Test for async toolbox, docs for toolboxes in general Simon Willison 2025-05-26 10:23:03 -07:00
  • 00f44a848a Test that async def methods work on Toolbox Simon Willison 2025-05-26 10:08:31 -07:00
  • 218bd10d6d Include dataclasses in plugin tool docs Simon Willison 2025-05-26 10:05:10 -07:00
  • 35d460c5e3 How to add tool support to model plugins, closes #1000 Simon Willison 2025-05-26 09:57:04 -07:00
  • 6850cbdfa8 Tips for implementing tools section, closes #1093 Simon Willison 2025-05-26 09:44:15 -07:00
  • 7eb8acb767 llm.get_key() is now a documented utility, closes #1094 Simon Willison 2025-05-26 09:39:40 -07:00
  • 5a8d7178c3 Removed some fluff from the changelog Simon Willison 2025-05-26 00:40:47 -07:00
  • 15a497635d Release 0.26a1 0.26a1 Simon Willison 2025-05-25 23:07:52 -07:00
  • a87e4505ff Remove obsolete details: mechanism from ChainResults, closes #1087 Simon Willison 2025-05-25 22:43:39 -07:00
  • bb336d33a0 Toolbox class for class-based tool collections (#1086) Simon Willison 2025-05-25 22:42:52 -07:00
  • abc4f473f4 --td now pretty-prints JSON if possible, closes #1083 Simon Willison 2025-05-25 12:59:48 -07:00
  • 437a116d34 Remove changelog details from README (#1082) Simon Willison 2025-05-24 19:57:11 -07:00
  • 3330b3d87e Don't show changelog headers on homepage/README, refs #1081 Simon Willison 2025-05-24 19:49:51 -07:00
  • d9a6f671d1 Use sphinx-markdown-builder and cog for README, refs #1081 Simon Willison 2025-05-24 19:43:22 -07:00
  • 58543f2206 Better list of features in index.md, refs #1081 Simon Willison 2025-05-24 19:42:44 -07:00
  • 952687527f Refreshed content ond index.md in docs, refs #1081 Simon Willison 2025-05-24 19:25:24 -07:00
  • 7837335eea Remove colon in Token usage header for consistency Simon Willison 2025-05-24 16:55:05 -07:00
  • 89411227e9 Clarify where default model options apply, refs #985 Simon Willison 2025-05-24 14:27:02 -07:00
  • fc44fd6a0d llm chat now respects default model options (#985) André Arko 2025-05-24 14:24:53 -07:00
  • 5d6f96a908 Provide response_json type hint (#1077) Arjan Mossel 2025-05-24 22:46:36 +02:00
  • 713ee9b032 Ignore order in test, refs #1073, #1079 Simon Willison 2025-05-24 13:17:51 -07:00
  • 3d25708acd Instantiate from spec utility function, refs #1059 Simon Willison 2025-05-24 08:21:33 -07:00
  • deafb7e76a Removed unused fixture Simon Willison 2025-05-24 00:03:27 -07:00
  • b6f4838b17 Test for fragments in chat, refs #1044, #1048 Simon Willison 2025-05-23 23:48:48 -07:00
  • a7c51e2871 Don't execute fragments/attachments in !edit sessions, closes #1074 Simon Willison 2025-05-23 23:43:47 -07:00
  • 9dace69af7 bugfix: cast path to str in templates_edit (#1031) Abizer Lokhandwala 2025-05-23 23:34:16 -07:00
  • ccc52265e9 fix typo in tutorial-model-plugin.md (#1043) Benjamin Kirkbride 2025-05-24 02:33:40 -04:00
  • 88d3e11c65 Support fragments in chat through -f, --sf, and !fragments (#1048) Dan Turkel 2025-05-24 02:31:16 -04:00
  • 4281fd5101 Fixed test for #1073 Simon Willison 2025-05-23 23:24:48 -07:00
  • 1d5d73481a Filter IDs with --prefix in llm similar (#1052) Dan Turkel 2025-05-24 01:54:55 -04:00
  • d5f7bf9073 Support supports_tools parameters in openai compatible models (#1068) Mahesh Hegde 2025-05-24 11:00:51 +05:30
  • 70092f2e78 llm logs --tools flag, closes #1072 Simon Willison 2025-05-23 21:58:24 -07:00
  • 8a1fc5a90e llm logs --tool/-T option, closes #1013 Simon Willison 2025-05-23 21:45:58 -07:00
  • 8aeadb7f7b Docs for -c with tools, refs #1020 Simon Willison 2025-05-23 21:17:16 -07:00
  • 36477cf9e5 llm chat -c and llm -c carry forward tools, closes #1020 Simon Willison 2025-05-23 21:10:51 -07:00
  • 0da2072ade docs: Saving reusable schemas in templates, refs #1069 Simon Willison 2025-05-23 18:37:15 -07:00
  • 3cbc37a470 Log tool plugin to database Simon Willison 2025-05-23 15:59:43 -07:00
  • d2886d4692 Record which plugin a tool came from, including in DB - refs #1020 Simon Willison 2025-05-23 15:44:12 -07:00
  • cb94047b46 Removed obsolete code I accidentally added in #1070 Simon Willison 2025-05-23 15:22:32 -07:00
  • f6fefb3816 llm schemas list --json/--nl options, closes #1070 Simon Willison 2025-05-23 15:17:32 -07:00
  • e18eb3a595 Include tools in documented schema Simon Willison 2025-05-22 07:43:12 -07:00
  • 3e3492898c Conversations using tools in Python API Simon Willison 2025-05-21 23:05:16 -07:00
  • 5f44f89de2 Ident + tests for tool logging, closes #1042 Simon Willison 2025-05-21 22:04:12 -07:00
  • e90705ebf1 Respect name= for register_tools, closes #1032 Simon Willison 2025-05-21 21:53:22 -07:00
  • e172e9e52d Clean up one more comment Simon Willison 2025-05-21 21:42:46 -07:00
  • 3cb875fa3d Async tool support (#1063) Simon Willison 2025-05-21 21:42:19 -07:00
  • 0ee1ba3a65 Ditch SimpleEcho entirely for Echo, closes #1061 Simon Willison 2025-05-20 22:02:04 -07:00
  • bd2180df7d llm chat --tool and --functions (#1062) Simon Willison 2025-05-20 21:30:27 -07:00
  • e48a5b9f11 Rename "echo" to "simple-echo", refs #1061 Simon Willison 2025-05-20 20:55:54 -07:00
  • 4be2bbdc0e Ensure test does not fail due to random sort order of plugins Simon Willison 2025-05-19 19:03:26 -04:00
  • a31ae86c20 Refactor in prep for chat tools, refs #1004 Simon Willison 2025-05-20 20:23:48 -07:00
  • a3414ed15d llm install --pre option, closes #1060 Simon Willison 2025-05-20 18:24:48 -07:00
  • f879b816e4 llm plugins --hook X option, closes #1047 Simon Willison 2025-05-18 14:50:34 -04:00
  • f320de1b0c LLM_TOOLS_DEBUG env var, closes #1045 Simon Willison 2025-05-17 22:38:15 -04:00
  • a888efa271 Ran cog, refs #1037 Simon Willison 2025-05-15 10:41:06 -04:00
  • ad7dc2ef71 Enable vision for o3 and o4-mini, closes #1037 Simon Willison 2025-05-15 10:22:13 -04:00
  • 2df619e7d8 --chain-limit option, closes #1025 Simon Willison 2025-05-13 21:52:39 -04:00
  • 114d567da5 Release 0.26a0 0.26a0 Simon Willison 2025-05-13 20:37:22 -04:00
  • 471eb67326 Slim initial python API docs for tools and chains, closes #1022 Simon Willison 2025-05-13 20:18:06 -04:00
  • 92b0c6b99c Basic tool usage docs using --functions Simon Willison 2025-05-13 17:07:11 -07:00
  • c1a66eed60 Tests run on Click < 8.2.0 Simon Willison 2025-05-13 16:52:58 -07:00
  • c81f0560e0 Fixed remaining mypy problems, refs #1023 Simon Willison 2025-05-13 16:47:59 -07:00
  • 96f910bb30 Fix for TypeError: 'coroutine' object is not iterable Simon Willison 2025-05-13 16:39:20 -07:00
  • 511892b30c Fix for Error binding parameter 2: type 'coroutine' is not supported Simon Willison 2025-05-13 16:36:53 -07:00
  • a029e0b70c AsyncModel.chain() raises NotImplementedError, closes #1021 Simon Willison 2025-05-13 16:31:13 -07:00
  • 89c99df39c Ran cog github-actions[bot] 2025-05-13 23:28:28 +00:00
  • bed617cd62 Enable tools for o3, o3-mini, o4-mini, refs #988 Simon Willison 2025-05-13 16:27:55 -07:00
  • c586f389e1 Better display of --tools-debug/--td Simon Willison 2025-05-13 16:25:30 -07:00
  • d986f98416 Better output for --ta/--tools-approve Simon Willison 2025-05-13 16:20:59 -07:00
  • 88b806ae1a Got multi-tool OpenAI chat working, in no-stream mode too Simon Willison 2025-05-13 12:18:26 -07:00
  • 5ae20bd549 Guard against chunk=None from models Simon Willison 2025-05-13 12:12:24 -07:00
  • a880c123bd --tools is now --functions, can be path, can be multiple Simon Willison 2025-05-13 10:18:59 -07:00
  • 1efb14f294 Upgrade condense-json Simon Willison 2025-05-13 09:55:01 -07:00
  • a50de8b57a ChainResponse.log_to_db() method and test, refs #1017, #1003 Simon Willison 2025-05-13 09:41:46 -07:00
  • 5162cabbe1 First test for tools, plus vcr+syrupy, refs #1017 Simon Willison 2025-05-13 07:59:14 -07:00
  • 0ff24b34c4 dict() is now model_dump() Simon Willison 2025-05-13 07:57:24 -07:00
  • 9dae58d05d llm logs tool output, long form, refs #1012 Simon Willison 2025-05-12 21:59:30 -07:00
  • d9629167bd llm logs tools output for --json and --short Simon Willison 2025-05-12 21:49:51 -07:00
  • 7efe51fcb4 Rename --python-tools to --tools, closes #1008 Simon Willison 2025-05-12 21:09:35 -07:00
  • 336948f8fe Better visible error message for cancel Simon Willison 2025-05-12 21:08:03 -07:00
  • 9650c5de10 Removed obsolete details() method, closes #1007 Simon Willison 2025-05-12 21:02:02 -07:00
  • e319069503 Initial implementation of --td and --ta, refs #1005 Simon Willison 2025-05-12 20:57:50 -07:00
  • ea4df34563 New response.excute_tool_calls(), refs #1007 Simon Willison 2025-05-12 20:47:15 -07:00
  • 387f89d88b Load tool stuff from database, refs #1010 Simon Willison 2025-05-12 19:54:32 -07:00
  • db642d3013 Ensure all responses have a ULID Simon Willison 2025-05-12 19:52:33 -07:00
  • 288dcb8d46 llm models --tools filter Simon Willison 2025-05-12 11:51:59 -07:00
  • e8894b19f5 Ran cog github-actions[bot] 2025-05-12 18:50:45 +00:00
  • 9d3bbb05a8 Show tool support on 'llm models --options' Simon Willison 2025-05-12 11:50:13 -07:00
  • f994196b32 tool_calls_or_raise() Simon Willison 2025-05-12 11:46:16 -07:00
  • 32cab986ea Log tool stuff to the database, refs #1003 Simon Willison 2025-05-12 10:02:19 -07:00
  • 4abd6e0faf Made a start on tools.md docs, refs #997 Simon Willison 2025-05-11 20:59:29 -07:00
  • 0f114be5f0 --python-tools option on prompt and tools, closes #995 Simon Willison 2025-05-11 20:44:17 -07:00
  • f486547341 Ran cog github-actions[bot] 2025-05-12 03:30:30 +00:00
  • 8d5fc87028 llm tools and llm tools --json, closes #994 Simon Willison 2025-05-11 20:24:17 -07:00
  • 4ae6d45f3a First working prototype of llm -T toolname Simon Willison 2025-05-11 20:09:31 -07:00
  • 290c0f13f3 register_tools() hook, get_tools() utility Simon Willison 2025-05-11 19:44:02 -07:00
  • 8a3c461e46 model.chain() method, tools=[func1, func2] Simon Willison 2025-05-11 18:53:42 -07:00