feat(model): add atlas cloud chat model#816
Conversation
7810f95 to
4b12708
Compare
|
Hi , sorry for the ping. I've submitted this PR to add Atlas Cloud support for Eino. Could you please help to approve the CI workflows so I can see if the tests pass? Any feedback would be greatly appreciated! Thanks.@JonXSnow |
|
@lucaszhu-hue 请关注单测并修复 |
The atlascloud module's go.sum was missing, causing all CI unit-test, unit-benchmark-test, and compliant checks to fail with "missing go.sum entry" errors. Running go mod tidy generates the missing checksums. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- atlascloud_test.go: capture config.BaseURL by value instead of holding a pointer to the config inside the mockey closure (the pointed-to value became invalid after NewChatModel returned, causing SIGBUS under -race); also fix schema.AssistantMessage call to pass the required second arg - examples/basic/main.go: add Apache 2.0 license header and fix import ordering
|
@tangchaojun-bytedance 已修复单测问题。根因是单测里的 mockey 闭包保存了指向 |
…e, IsCallbacksEnabled, option functions and error paths
|
Thanks @tangchaojun-bytedance! Added test coverage for previously uncovered methods ( |
en:
This PR adds support for the Atlas Cloud chat model provider, including necessary API configurations and model definitions.
zh:
本 PR 增加了对 Atlas Cloud 对话模型提供商的支持,包含了必要的 API 配置和模型定义。