You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit daf2c75
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(core): update version injection fallback mechanism and improve type safety
The version injection mechanism has been updated to provide better fallback
support when the build-time version is not available. The implementation now
includes proper ESM compatibility and error handling for direct execution
scenarios.
Additionally, import ordering has been standardized across multiple files
and type safety has been improved by updating parameter names and interface
definitions to align with current API specifications.
The OpenAI protocol handler has been updated to handle both args_delta and
argsDelta naming conventions for tool call chunks, ensuring compatibility
with different client implementations.
BREAKING CHANGE: The waitUntilReadyOrFailed method now uses 'callback'
parameter instead of 'beforeCheck' for consistency.
更新了版本注入机制,提供了更好的回退支持,当构建时版本不可用时。
实现现在包括适当的ESM兼容性和直接执行场景的错误处理。
此外,多个文件的导入顺序已标准化,通过更新参数名称和接口定义
以与当前API规范保持一致来提高类型安全性。
OpenAI协议处理程序已更新以处理工具调用块的args_delta和argsDelta
命名约定,确保与不同客户端实现的兼容性。
重大变更: waitUntilReadyOrFailed方法现在使用'callback'参数
而不是'beforeCheck'以保持一致性。
Change-Id: Ibd2d266346f9e9f717ce15ad40bb0f79b3fa1741
Signed-off-by: OhYee <oyohyee@oyohyee.com>
0 commit comments