mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 03:05:45 +08:00
- Add `image_urls` array parameter to all image generation
presets (OpenAI, Gemini, Flux Together, Flux 2 BFL) to
support image editing mode
- Return `{ url: short_url }` instead of generic success
messages from image generation scripts so the LLM can
reference the generated image
- Add `item_type` support for array parameters in the tool
editor UI (string, number, boolean) and ensure the JSON
schema always includes `items` for array types, defaulting
to string
- Sort tools alphabetically in the admin tools list and
personas meta endpoint
- Replace empty-state CTA with a DMenu preset dropdown
matching the non-empty state behavior
- Fix stale locale key references for parameter_required
and parameter_enum
This enables... this:
<img width="1651" height="1918" alt="image"
src="https://github.com/user-attachments/assets/31f85941-3e5f-44c5-b589-07d3e9957220"
/>
|
||
|---|---|---|
| .. | ||
| image_generation | ||
| browse_web_jina.js | ||
| empty_tool.js | ||
| exchange_rate.js | ||
| stock_quote.js | ||