0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/discourse-ai/lib/completions
Sam d89e57c55f
FEATURE: richer API for working with custom tools (#37050)
1. add discourse.baseUrl into tool (makes it easier to share tools)
2. generate with (prompt, { json: true}) will generate json for easier
parsing
3. setTags to allow setting of tags on a topic (with optional append)
4. editPost api to allow editing of posts
2026-01-12 18:49:38 +11:00
..
dialects FIX: properly terminate chains of tool calls across multiple providers (#36750) 2025-12-19 07:00:51 +11:00
endpoints FEATURE: richer API for working with custom tools (#37050) 2026-01-12 18:49:38 +11:00
anthropic_message_processor.rb FEATURE: add support for tracking write tokens and anthropic caching and Gemini Pro 3 (#36113) 2025-11-21 07:42:54 +11:00
cancel_manager.rb
json_stream_decoder.rb
json_streaming_parser.rb
json_streaming_tracker.rb FEATURE: Use evals to compare LLMs and Personas' prompts (#36027) 2025-11-18 10:39:52 -03:00
llm.rb FEATURE: native support for attachments in llms (#36415) 2025-12-09 17:28:52 +11:00
llm_metric.rb FEATURE: Add Prometheus metrics for LLM API calls (#35636) 2025-10-28 14:10:42 -03:00
nova_message_processor.rb
open_ai_message_processor.rb FEATURE: add support for tracking write tokens and anthropic caching and Gemini Pro 3 (#36113) 2025-11-21 07:42:54 +11:00
open_ai_responses_message_processor.rb FIX: properly terminate chains of tool calls across multiple providers (#36750) 2025-12-19 07:00:51 +11:00
prompt.rb FIX: properly terminate chains of tool calls across multiple providers (#36750) 2025-12-19 07:00:51 +11:00
prompt_messages_builder.rb FEATURE: add support for tracking write tokens and anthropic caching and Gemini Pro 3 (#36113) 2025-11-21 07:42:54 +11:00
report.rb DEV: Adjustments in usage page for LLM's with credit allocations (#36566) 2025-12-09 09:55:29 -08:00
structured_output.rb FEATURE: support thinking summary on responses API (#36013) 2025-11-18 07:54:14 +11:00
thinking.rb FEATURE: support thinking summary on responses API (#36013) 2025-11-18 07:54:14 +11:00
tool_call.rb FEATURE: add support for tracking write tokens and anthropic caching and Gemini Pro 3 (#36113) 2025-11-21 07:42:54 +11:00
tool_definition.rb
tool_result.rb FIX: properly terminate chains of tool calls across multiple providers (#36750) 2025-12-19 07:00:51 +11:00
upload_encoder.rb FEATURE: native support for attachments in llms (#36415) 2025-12-09 17:28:52 +11:00
xml_tag_stripper.rb
xml_tool_processor.rb