Files
ragflow/internal/entity/models
bitloi 2eed0d4679 refactor(go-models): add unsupported model driver defaults (#15431)
### What problem does this PR solve?

Adds a shared safe default implementation for unsupported Go
model-driver capability methods and migrates the confirmed panic-stub
providers to use it.

The Go `ModelDriver` interface requires providers to implement many
capability methods even when the provider does not support them. XunFei
had unsupported capability methods implemented as `panic("implement
me")`, Mistral still had a panic in `ParseFile`, and HuaweiCloud carried
an unreachable `panic("implement me")` after a normal chat return.

### Type of change

- [x] Refactoring


Co-authored-by: Haruko386 <tryeverypossible@163.com>
2026-06-03 19:16:28 +08:00
..
2026-06-03 16:33:58 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 16:33:58 +08:00
2026-06-03 16:33:58 +08:00
2026-04-27 14:53:33 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 16:33:58 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 16:33:58 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 16:33:58 +08:00
2026-06-03 16:33:58 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 16:33:58 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 13:23:20 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 14:09:07 +08:00
2026-06-03 14:09:07 +08:00