emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.84k stars 444 forks source link

feat(desktop): moonshot llm api support on copilot #1707

Closed ysfscream closed 3 months ago

ysfscream commented 3 months ago

PR Checklist

If you have any questions, you can refer to the Contributing Guide

What is the current behavior?

Users in China are unable to use the Copilot capabilities quickly.

Issue Number

Example: #1542

What is the new behavior?

Based on the custom API and model capabilities provided by #1660, it expands interaction and provides built-in API models and endpoints with Moonshot.

image image image image

Please describe the new behavior or provide screenshots.

Does this PR introduce a breaking change?

Specific Instructions

Are there any specific instructions or things that should be known prior to review?

Other information

ysfscream commented 3 months ago

@ni00 I think Moonshot is a good choice for the LLM API. Welcome to review.