Skip to content

chatlas 0.11.0

Choose a tag to compare

@cpsievert cpsievert released this 27 Aug 14:56
· 128 commits to main since this release

New features

  • The Chat class gains a new .list_models() method for obtaining a list of model ids/names, pricing info, and more. (#155)
  • Chat's .register_tool() method gains an annotations parameter, which is useful for describing the tool and its behavior. This information is attached to ContentToolRequest() and ContentToolResult() (via the .request parameter) objects when tool calls occur. To include these objects in streaming content, make sure to set .stream(content="all"). (#156)

Improvements

  • Tools registered via MCP (e.g., .register_mcp_tools_http_stream_async()) now automatically pick up on tool annotations. (#156)

Changes