Skip to content

apfel v0.8.1

Choose a tag to compare

@Arthur-Ficial Arthur-Ficial released this 05 Apr 07:36

What's New

MCP auto-execution in server mode (fixes #35)

When running apfel --serve --mcp <server>, the server now auto-executes MCP tool calls and returns the final text answer - matching CLI behavior. Client-provided tools are still returned as tool_calls per the OpenAI spec.

Arrow key navigation in chat mode (fixes #34)

Chat mode (apfel --chat) now uses libedit for line editing. Arrow keys, history recall (up/down), and inline editing all work.

Model name validation

The server now rejects unknown model names with a 400 error. Only apple-foundationmodel is accepted.

Improved tool call detection

Better parsing of tool call JSON in malformed code blocks (unclosed backticks, trailing text).

Test Coverage

  • 122 unit tests
  • 121 integration tests (22 new MCP server tests)

Install / Update

brew upgrade apfel
# or
brew install Arthur-Ficial/tap/apfel