feat: add matterai provider #1393
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add MatterAI Provider with Axon models. MatterAI launched it's 3 new models, Axon, Axon Mini and Axon Code. More details on the website: https://www.matterai.so and docs: https://docs.matterai.so
Manual Test
Request
Response
{ "id": "chatcmpl-fbb1fd78-35d1-4c4e-9cde-6f101972f4bf", "choices": [ { "finish_reason": "stop", "index": 0, "logprobs": null, "matched_stop": 151645, "message": { "content": "Hello! How can I assist you today?", "reasoning_content": null, "role": "assistant", "tool_calls": null } } ], "created": 1761537529, "model": "axon-code", "object": "chat.completion", "usage": { "prompt_tokens": 12, "completion_tokens": 73, "total_tokens": 85, "completion_tokens_details": { "reasoning_tokens": 63 }, "prompt_tokens_details": { "cached_tokens": 0 } } }Motivation
Type of Change
How Has This Been Tested?
Screenshots (if applicable)
Checklist