Releases: svilupp/PromptingTools.jl
Releases · svilupp/PromptingTools.jl
v0.69.1
PromptingTools v0.69.1
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
PromptingTools v0.69.0
Added
- Added a new Gemini 2.0 Flash Experimental model (
gemini-2.0-flash-exp
) and updated the aliasgem20f
with it.
Commits
Merged pull requests:
v0.68.0
PromptingTools v0.68.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
PromptingTools v0.67.0
Added
- Added a new Gemini Experimental model from December 2024 (
gemini-exp-1206
) and updated thegemexp
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
PromptingTools v0.66.0
Added
- Added support for Groq's new Llama3.3 models. Updated
gllama370
,gl70
,glm
aliases tollama-3.3-70b-versatile
and addedgl70s
,glms
aliases tollama-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
PromptingTools v0.65.1
Fixed
- Removed unnecessary printing to
stdout
during precompilation inprecompile.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 whenusage=nothing
. Lower bound ofStreamCallbacks
was bumped to0.5.1
.
Commits
Merged pull requests:
Closed issues:
v0.65.0
PromptingTools v0.65.0
Breaking
- Changed the official ENV variable for MistralAI API from
MISTRALAI_API_KEY
toMISTRAL_API_KEY
to be compatible with the Mistral docs.
Added
- Added a new Gemini Experimental model from November 2024 (
gemini-exp-1121
with aliasgemexp
). - 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
andget_last
for more information.
Updated
- Changed the ENV variable for MistralAI API from
MISTRALAI_API_KEY
toMISTRAL_API_KEY
to be compatible with the Mistral docs.
Commits
Merged pull requests:
v0.64.0
PromptingTools v0.64.0
Added
- Added support for images in
aitools
to enable passing screenshots viaimage_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 aliasgemexp
).
Commits
Merged pull requests:
v0.63.0
PromptingTools v0.63.0
Added
- Added support for Google's Gemini API via OpenAI compatibility mode (
GoogleOpenAISchema
). Use model aliasesgem15p
(Gemini 1.5 Pro),gem15f
(Gemini 1.5 Flash), andgem15f8
(Gemini 1.5 Flash 8b). Set your ENV api keyGOOGLE_API_KEY
to use it. - Thanks to @Sixzero, added support for Google Flash via OpenRouter and Qwen 72b models.
Commits
Merged pull requests:
v0.62.1
PromptingTools v0.62.1
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: