hex_ai_llm 0.6.1 copy "hex_ai_llm: ^0.6.1" to clipboard
hex_ai_llm: ^0.6.1 copied to clipboard

Hex AI LLM provider layer - unified API for Anthropic, OpenAI, Google, and more

hex_ai_llm #

Hex AI LLM 提供方统一层 - 统一 API 封装 Anthropic、OpenAI、Google、DeepSeek 等模型。

特性 #

  • 统一 LLMProvider 接口,多提供方可插拔
  • 流式/非流式输出(DeepSeek 自动降级为非流式以保证可靠工具调用)
  • 统一 StreamEvent 事件流更新 UI

使用 #

import 'package:hex_ai_llm/hex_ai_llm.dart';

final provider = LLMProviderRegistry().create(...);

或通过 hex_ai_agent 统一入口访问。

0
likes
120
points
358
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Hex AI LLM provider layer - unified API for Anthropic, OpenAI, Google, and more

Repository

License

MIT (license)

Dependencies

collection, flutter, hex_ai_core, http, json_annotation, uuid

More

Packages that depend on hex_ai_llm