Skip to content

Releases: svilupp/PromptingTools.jl

v0.69.1

21 Dec 19:15
045379e
Compare
Choose a tag to compare

PromptingTools v0.69.1

Diff since v0.69.0

Fixed

  • Added assertion in response_to_message for missing :tool_calls key in the response message. It's model failure but it wasn't obvious from the original error.
  • Fixed error for usage information in CamelCase from OpenAI servers (Gemini proxy now sends it in CamelCase).

Commits

Merged pull requests:

Closed issues:

  • Update Gemini Experimental model to 1206 (#253)

v0.69.0

11 Dec 20:03
c7412d6
Compare
Choose a tag to compare

PromptingTools v0.69.0

Diff since v0.68.0

Added

  • Added a new Gemini 2.0 Flash Experimental model (gemini-2.0-flash-exp) and updated the alias gem20f with it.

Commits

Merged pull requests:

v0.68.0

10 Dec 20:40
048003a
Compare
Choose a tag to compare

PromptingTools v0.68.0

Diff since v0.67.0

Added

  • Added a new cache=:all_but_last cache strategy for Anthropic models to enable caching of the entire conversation except for the last user message (useful for longer conversations that you want to re-use, but not continue). See the docstrings for more information on which cache strategy to use. Thank you to @Sixzero for this!

Commits

Merged pull requests:

v0.67.0

07 Dec 15:40
1208290
Compare
Choose a tag to compare

PromptingTools v0.67.0

Diff since v0.66.0

Added

  • Added a new Gemini Experimental model from December 2024 (gemini-exp-1206) and updated the gemexp alias to point to it.

Commits

Merged pull requests:

  • Add Gemini experimental model 1206 and update alias (#252) (@devin-ai-integration[bot])

v0.66.0

06 Dec 19:47
a716149
Compare
Choose a tag to compare

PromptingTools v0.66.0

Diff since v0.65.1

Added

  • Added support for Groq's new Llama3.3 models. Updated gllama370, gl70, glm aliases to llama-3.3-70b-versatile and added gl70s, glms aliases to llama-3.3-70b-specdec (faster with speculative decoding).

Fixed

  • Fixed a bug in extract_docstring where it would not correctly block "empty" docstrings on Julia 1.11.

Commits

Merged pull requests:

v0.65.1

05 Dec 10:01
b95f6c9
Compare
Choose a tag to compare

PromptingTools v0.65.1

Diff since v0.65.0

Fixed

  • Removed unnecessary printing to stdout during precompilation in precompile.jl.
  • Fixed a "bug-waiting-to-happen" in tool use. to_json_type now enforces users to provide concrete types, because abstract types can lead to errors during JSON3 deserialization.
  • Flowed through a bug fix in StreamCallback where the usage information was being included in the response even when usage=nothing. Lower bound of StreamCallbacks was bumped to 0.5.1.

Commits

Merged pull requests:

Closed issues:

  • TTFX optimization of aigenerate("whats the meaning of life"; model) (#236)
  • StreamCallback issue if :usage is nothing in PT. (#247)

v0.65.0

26 Nov 19:59
f73e683
Compare
Choose a tag to compare

PromptingTools v0.65.0

Diff since v0.64.0

Breaking

  • Changed the official ENV variable for MistralAI API from MISTRALAI_API_KEY to MISTRAL_API_KEY to be compatible with the Mistral docs.

Added

  • Added a new Gemini Experimental model from November 2024 (gemini-exp-1121 with alias gemexp).
  • Added a new AnnotationMessage type for keeping human-only information in the message changes. See ?annotate! on how to use it.
  • Added a new ConversationMemory type (exported) to enable long multi-turn conversations with a truncated memory of the conversation history. Truncation works in "batches" to not prevent caching. See ?ConversationMemory and get_last for more information.

Updated

  • Changed the ENV variable for MistralAI API from MISTRALAI_API_KEY to MISTRAL_API_KEY to be compatible with the Mistral docs.

Commits

Merged pull requests:

  • [Breaking] Renamed MISTRALAI to MISTRAL everywhere (#231) (@Sixzero)
  • update Google Gemini model (#237) (@svilupp)
  • feat: Add ConversationMemory and enhance AnnotationMessage (#238) (@devin-ai-integration[bot])
  • Export ConversationMemory (#246) (@svilupp)

v0.64.0

17 Nov 20:50
Compare
Choose a tag to compare

PromptingTools v0.64.0

Diff since v0.63.0

Added

  • Added support for images in aitools to enable passing screenshots via image_path argument (extended to both OpenAI and Anthropic APIs, uses ?UserMessageWithImages internally).
  • Added the latest Gemini Experimental model via OpenAI compatibility mode (gemini-exp-1114 with alias gemexp).

Commits

Merged pull requests:

v0.63.0

12 Nov 21:47
Compare
Choose a tag to compare

PromptingTools v0.63.0

Diff since v0.62.1

Added

  • Added support for Google's Gemini API via OpenAI compatibility mode (GoogleOpenAISchema). Use model aliases gem15p (Gemini 1.5 Pro), gem15f (Gemini 1.5 Flash), and gem15f8 (Gemini 1.5 Flash 8b). Set your ENV api key GOOGLE_API_KEY to use it.
  • Thanks to @Sixzero, added support for Google Flash via OpenRouter and Qwen 72b models.

Commits

Merged pull requests:

  • Gwen 72B and open-router Google Flash added. (#232) (@Sixzero)
  • Add GoogleOpenAISchema with comprehensive test logging (#234) (@devin-ai-integration[bot])

v0.62.1

06 Nov 13:20
Compare
Choose a tag to compare

PromptingTools v0.62.1

Diff since v0.62.0

Fixed

  • Fixed a bug in tool_call_signature where hidden fields were not hidden early enough and would fail if a Dict argument was provided. It used to do the processing after, but Dicts cannot be processed, so we're now masking the fields upfront.

Commits

Merged pull requests: