提交

提交图

  • 619daa6ff2 .chain().details() debug method Simon Willison 2025-05-11 18:28:55 -07:00
  • 7dbf0b8586 Got a tool call to run through OpenAI Simon Willison 2025-05-11 18:01:28 -07:00
  • c0ef4f4da1 Enforce chain limit of 5 Simon Willison 2025-05-11 17:23:43 -07:00
  • 3b37854c26 Initial Conversation.chain() and ChainResponse Simon Willison 2025-05-11 17:14:57 -07:00
  • c990578934 ToolCall.tool_call_id property, refs #937 Simon Willison 2025-05-11 17:14:38 -07:00
  • 290c311ce1 prompt.tools and prompt.tool_results no longer optional Simon Willison 2025-05-10 14:55:53 -07:00
  • 7e574e59b7 Prompt.tool_results property Simon Willison 2025-05-10 12:36:30 -07:00
  • 6ad5e7936f ToolResult dataclass Simon Willison 2025-05-10 12:33:29 -07:00
  • 8b57c2b226 Dropped Tool.output_schema Simon Willison 2025-05-10 12:23:32 -07:00
  • 8c2393f909 Stash function in tool.implementation Simon Willison 2025-05-10 11:54:40 -07:00
  • 5aac6b76f0 response.tool_calls() methods Simon Willison 2025-05-10 11:38:51 -07:00
  • 7bc2f78156 Capture tool calls from OpenAI streaming sync responses Simon Willison 2025-05-10 11:31:12 -07:00
  • 7b450c8215 Response.add_tool_call() method and ToolCall class Simon Willison 2025-05-10 11:06:38 -07:00
  • 84ab4cd409 supports_tools Model property, Tool.function(..., name=) option Simon Willison 2025-05-10 10:29:18 -07:00
  • fc76048b37 Pass tools around a bit Simon Willison 2025-05-10 10:19:30 -07:00
  • 51e2c714d1 WIP Tool definition class Simon Willison 2025-05-10 10:01:50 -07:00
  • d88386e1c7 Slim initial python API docs for tools and chains, closes #1022 tools Simon Willison 2025-05-13 20:18:06 -04:00
  • 474320fcb6 Basic tool usage docs using --functions Simon Willison 2025-05-13 17:07:11 -07:00
  • 61c94b24de Tests run on Click < 8.2.0 Simon Willison 2025-05-13 16:52:58 -07:00
  • a8740b066c Fixed remaining mypy problems, refs #1023 Simon Willison 2025-05-13 16:47:59 -07:00
  • cc99984259 Fix for TypeError: 'coroutine' object is not iterable Simon Willison 2025-05-13 16:39:20 -07:00
  • 917d1e68ce Fix for Error binding parameter 2: type 'coroutine' is not supported Simon Willison 2025-05-13 16:36:53 -07:00
  • 7a32d0daec AsyncModel.chain() raises NotImplementedError, closes #1021 Simon Willison 2025-05-13 16:31:13 -07:00
  • c52da27926 Ran cog github-actions[bot] 2025-05-13 23:28:28 +00:00
  • c9e0b2859f Enable tools for o3, o3-mini, o4-mini, refs #988 Simon Willison 2025-05-13 16:27:55 -07:00
  • 9f3f4fb1e3 Better display of --tools-debug/--td Simon Willison 2025-05-13 16:25:30 -07:00
  • 69c028df44 Better output for --ta/--tools-approve Simon Willison 2025-05-13 16:20:59 -07:00
  • 964d2e5b85 Got multi-tool OpenAI chat working, in no-stream mode too Simon Willison 2025-05-13 12:18:26 -07:00
  • 027ec69ed5 Guard against chunk=None from models Simon Willison 2025-05-13 12:12:24 -07:00
  • 626333b987 --tools is now --functions, can be path, can be multiple Simon Willison 2025-05-13 10:18:59 -07:00
  • 104ef266cb Upgrade condense-json Simon Willison 2025-05-13 09:55:01 -07:00
  • 1ea8f6eb24 ChainResponse.log_to_db() method and test, refs #1017, #1003 Simon Willison 2025-05-13 09:41:46 -07:00
  • 0bdefd10c9 First test for tools, plus vcr+syrupy, refs #1017 Simon Willison 2025-05-13 07:59:14 -07:00
  • 7e0130c274 dict() is now model_dump() Simon Willison 2025-05-13 07:57:24 -07:00
  • 30125f8b24 llm logs tool output, long form, refs #1012 Simon Willison 2025-05-12 21:59:30 -07:00
  • 03345956e3 llm logs tools output for --json and --short Simon Willison 2025-05-12 21:49:51 -07:00
  • 36113fb759 Rename --python-tools to --tools, closes #1008 Simon Willison 2025-05-12 21:09:35 -07:00
  • e9bcb51ebd Better visible error message for cancel Simon Willison 2025-05-12 21:08:03 -07:00
  • 0273e0ff69 Removed obsolete details() method, closes #1007 Simon Willison 2025-05-12 21:02:02 -07:00
  • 9e7d463ef4 Initial implementation of --td and --ta, refs #1005 Simon Willison 2025-05-12 20:57:50 -07:00
  • 95b8150b5b New response.excute_tool_calls(), refs #1007 Simon Willison 2025-05-12 20:47:15 -07:00
  • 98249710f9 Fix typo (#1002) Sergio Garcia 2025-05-13 04:55:32 +02:00
  • 4d64410ca3 Load tool stuff from database, refs #1010 Simon Willison 2025-05-12 19:54:32 -07:00
  • 0c85b30bdf Ensure all responses have a ULID Simon Willison 2025-05-12 19:52:33 -07:00
  • b10506b85d llm models --tools filter Simon Willison 2025-05-12 11:51:59 -07:00
  • 4b57f72ced Ran cog github-actions[bot] 2025-05-12 18:50:45 +00:00
  • c058e6708c Show tool support on 'llm models --options' Simon Willison 2025-05-12 11:50:13 -07:00
  • 2cee1d2946 tool_calls_or_raise() Simon Willison 2025-05-12 11:46:16 -07:00
  • e1b06d31f7 Log tool stuff to the database, refs #1003 Simon Willison 2025-05-12 10:02:19 -07:00
  • e47bdfe3b9 Made a start on tools.md docs, refs #997 Simon Willison 2025-05-11 20:59:29 -07:00
  • 21096f2527 --python-tools option on prompt and tools, closes #995 Simon Willison 2025-05-11 20:44:17 -07:00
  • 518b8b2863 Ran cog github-actions[bot] 2025-05-12 03:30:30 +00:00
  • b25427a08d llm tools and llm tools --json, closes #994 Simon Willison 2025-05-11 20:24:17 -07:00
  • 60861eddc3 First working prototype of llm -T toolname Simon Willison 2025-05-11 20:09:31 -07:00
  • f515ac0248 register_tools() hook, get_tools() utility Simon Willison 2025-05-11 19:44:02 -07:00
  • 9263f37658 model.chain() method, tools=[func1, func2] Simon Willison 2025-05-11 18:53:42 -07:00
  • dd95f23e0c .chain().details() debug method Simon Willison 2025-05-11 18:28:55 -07:00
  • 8f9ca0b4b7 Got a tool call to run through OpenAI Simon Willison 2025-05-11 18:01:28 -07:00
  • dae4ad6bcc Enforce chain limit of 5 Simon Willison 2025-05-11 17:23:43 -07:00
  • 5e2190162b Initial Conversation.chain() and ChainResponse Simon Willison 2025-05-11 17:14:57 -07:00
  • 2b082e6062 ToolCall.tool_call_id property, refs #937 Simon Willison 2025-05-11 17:14:38 -07:00
  • d58ad5f65b prompt.tools and prompt.tool_results no longer optional Simon Willison 2025-05-10 14:55:53 -07:00
  • 1b0dd34a32 Prompt.tool_results property Simon Willison 2025-05-10 12:36:30 -07:00
  • 614941dbe5 ToolResult dataclass Simon Willison 2025-05-10 12:33:29 -07:00
  • ab9cea9858 Dropped Tool.output_schema Simon Willison 2025-05-10 12:23:32 -07:00
  • ca4a08e90b Stash function in tool.implementation Simon Willison 2025-05-10 11:54:40 -07:00
  • f8cd7be600 response.tool_calls() methods Simon Willison 2025-05-10 11:38:51 -07:00
  • 735f726a1e Capture tool calls from OpenAI streaming sync responses Simon Willison 2025-05-10 11:31:12 -07:00
  • d2da482111 Response.add_tool_call() method and ToolCall class Simon Willison 2025-05-10 11:06:38 -07:00
  • 0d94576706 supports_tools Model property, Tool.function(..., name=) option Simon Willison 2025-05-10 10:29:18 -07:00
  • 08054a022d Pass tools around a bit Simon Willison 2025-05-10 10:19:30 -07:00
  • 86ccce4e5e WIP Tool definition class Simon Willison 2025-05-10 10:01:50 -07:00
  • cb3f67cb63 Experimental --since parameter for llm logs logs-since Simon Willison 2025-05-10 09:10:42 -07:00
  • 7f49cc254b FUNDING.yml Simon Willison 2025-05-09 20:24:55 -07:00
  • cb1ea231dc Example docstrings for fragment loaders Simon Willison 2025-05-08 19:05:50 -07:00
  • f07655715e llm-video-frames Simon Willison 2025-05-04 20:47:14 -07:00
  • 84f65e93e6 Better link 0.25 Simon Willison 2025-05-04 20:30:22 -07:00
  • 755662ee77 Fix link in changelog Simon Willison 2025-05-04 20:27:46 -07:00
  • 8df839383f Release 0.25 Simon Willison 2025-05-04 20:23:30 -07:00
  • 8e68c5e2d9 o4-mini, closes #976 Simon Willison 2025-05-04 16:04:28 -07:00
  • 5d0a2bba59 llm/default_plugins: add o3 model (#945) Kevin Burke 2025-05-04 16:01:55 -07:00
  • 8c7d33ee52 Fixes --continue bug and adds --database argument to llm chat Sukhbinder Singh 2025-05-05 04:27:13 +05:30
  • 00e5ee6b5a Add llm-fragments-pypi to plugin directory (#929) Samuel Dion-Girardeau 2025-05-04 18:34:52 -04:00
  • 16a58f231b Add model_name parameter to OpenAI extra models documentation (#950) Dan Guido 2025-05-04 17:56:28 -04:00
  • e02863c1ca Fragment plugins can now optionally return attachments (#974) Simon Willison 2025-05-04 14:50:27 -07:00
  • 768a1789a2 llm fragments list should order fragments by date Simon Willison 2025-05-04 12:45:28 -07:00
  • 07ccfbcee5 Improved docs for extra-openai-models.yaml (#957) Rahim Nathwani 2025-05-04 10:30:37 -07:00
  • 0b37123a38 Add GPT-4.1 model family to default OpenAI plugin (#965) Abizer Lokhandwala 2025-05-04 10:27:12 -07:00
  • 7dcfa31143 Add '!edit' command to modify prompts in chat sessions using default editor (#969) Benedikt Willi 2025-05-04 19:19:48 +02:00
  • 16770611ca Fixed bug with model default options and aliases, closes #968 Simon Willison 2025-05-04 09:30:44 -07:00
  • 9a39af82cd Tip about lazy loading dependencies, closes #949 Simon Willison 2025-04-23 10:55:06 -07:00
  • 963d85325d Files not file Simon Willison 2025-04-23 07:52:17 -07:00
  • 8973cde1ac Initial prototype of better token timing, refs #943 timing Simon Willison 2025-04-20 14:12:33 -07:00
  • fa34d7d452 Match example output to reality Simon Willison 2025-04-20 08:01:58 -07:00
  • c9f64096c9 llm fragments loaders, closes #941 Simon Willison 2025-04-20 07:56:06 -07:00
  • e78e1fceb2 LLM_MODEL and LLM_EMBEDDING_MODEL environment vars, closes #932 Simon Willison 2025-04-19 20:41:24 -07:00
  • 3f25bb8bc9 Document difference between templates and fragments, cloess #918 Simon Willison 2025-04-13 20:49:55 -07:00
  • 4279df23a4 Allow -t and --system to be used together, refs #916 Simon Willison 2025-04-13 20:27:41 -07:00
  • 6273bc79ff Release 0.25a0 0.25a0 Simon Willison 2025-04-10 17:28:36 -07:00
  • e9b002d997 py.typed marker file Simon Willison 2025-04-10 17:19:36 -07:00