Haruko386
c575164695
Go: add tools for a lot of providers ( #17341 )
...
### Summary
As title
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-07-24 19:33:38 +08:00
Haruko386
efe6bca5b3
refactor: the request body build ( #17286 )
...
### Summary
As title
2026-07-23 19:12:58 +08:00
Jin Hai
d19a036cda
Go: add context to lots of interface ( #17253 )
...
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-22 22:30:57 +08:00
Jin Hai
b8d06d02e6
Go: add stats ( #17061 )
...
### Summary
Add LLM token stats framework
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-18 21:02:07 +08:00
JPette1783
daa3811165
feat(models): add shared HTTP client, SSE parser, and stub helpers for Go model drivers ( #15821 )
...
### What problem does this PR solve?
The Go model-driver layer () has ~38,700 lines across 109 files. Roughly
74% of that is boilerplate duplicated into every driver: identical HTTP
client setup, the same 65-line SSE scanner loop, and 10-11 one-line "not
supported" stub methods per driver. Any fix must be manually propagated
to every file. Closes #15820 .
This PR establishes the three shared utility files that form the
foundation for incremental driver migration:
---
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- [x] Refactoring
---------
Co-authored-by: Haruko386 <tryeverypossible@163.com >
2026-06-11 19:20:12 +08:00
Haruko386
9c30557ef7
Go: add dimensions for list models and fix some embed-bug in providers ( #15940 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [x] Refactoring
2026-06-11 19:18:49 +08:00
Haruko386
84edf539e7
Go: Refactor list-models func ( #15900 )
...
### What problem does this PR solve?
As title
Issue: #15853
### Type of change
- [x] Refactoring
2026-06-11 13:32:50 +08:00
Jin Hai
719ce15c95
Go CLI: update list supported models ( #15845 )
...
### What problem does this PR solve?
Now list supported models will show more info.
```
RAGFlow(api/default)> list supported models from 'gitee' 'test';
+-----------+------------+-------------+----------------------------------------------------------+---------------------------------------------+
| dimension | max_tokens | model_types | name | thinking |
+-----------+------------+-------------+----------------------------------------------------------+---------------------------------------------+
| | | | Wan2.7 | |
| | | | HappyHorse-1.0 | |
| | | | Qwen3.6-27B@Qwen | |
| | | | Qwen3.6-35B-A3B@Qwen | |
| | 1048576 | [chat] | DeepSeek-V4-Flash@deepseek-ai | map[clear_thinking:true default_value:true] |
| | 1048576 | [chat] | DeepSeek-V4-Pro@deepseek-ai | map[clear_thinking:true default_value:true] |
+-----------+------------+-------------+----------------------------------------------------------+---------------------------------------------+
```
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-06-09 19:01:00 +08:00
Haruko386
baeb0c0431
Refactor[Go Model Provider]: refactor baseURL and modelConfig ( #15627 )
...
### What problem does this PR solve?
As Title
### Type of change
- [x] Refactoring
2026-06-04 17:50:22 +08:00
Haruko386
3f02ca7ba1
Go: implement embed, rerank, tts for AstraFlow ( #15135 )
...
### What problem does this PR solve?
implement embed, rerank, tts for AstraFlow
**Verify from CLI**
```
# Astraflow
RAGFlow(user)> tts with 'IndexTeam/IndexTTS-2@test3@astraflow' text 'hello? show yourself' play format 'wav' param '{"voice": "jack_cheng"}'
SUCCESS
RAGFlow(user)> rerank query 'what is rag' document 'rag is retrieval augment generation' 'rag need llm' 'famous rag project includes ragflow' with 'bge-reranker-v2-m3@test3@astraflow' top 3;
+-------+---------------------+
| index | relevance_score |
+-------+---------------------+
| 0 | 0.9837390184402466 |
| 2 | 0.06322699040174484 |
| 1 | 0.04663187265396118 |
+-------+---------------------+
RAGFlow(user)> embed text 'walkerwhat' 'jumperwho' with 'text-embedding-3-large@test3@astraflow' dimension 16
+-----------+-------+
| dimension | index |
+-----------+-------+
| 3072 | 0 |
| 3072 | 1 |
+-----------+-------+
# Xinference
```
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- [x] Refactoring
2026-05-22 18:02:01 +08:00
dripsmvcp
d5ba14a128
feat(go): implement provider Astraflow ( #15062 ) ( #15064 )
...
- Adds an `Astraflow` Go driver so the new API server can route
Astraflow (UCloud ModelVerse) chat instances, matching the existing
Python `AstraflowChat` (`rag/llm/chat_model.py:1237`). Follows the same
SaaS-driver shape used for Avian, Novita, TogetherAI, Replicate,
DeepInfra, Upstage, and LongCat.
Closes #15062
---------
Co-authored-by: Jin Hai <haijin.chn@gmail.com >
2026-05-21 15:32:56 +08:00