Releases: yomorun/yomo
Releases · yomorun/yomo
v1.20.10
v1.20.9
What's Changed
- chore(deps): bump github.com/quic-go/quic-go from 0.52.0 to 0.55.0 by @dependabot[bot] in #1148
- chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.4.0 by @dependabot[bot] in #1139
- add zipper default port parse by @venjiang in #1151
- build: bump to go1.25 by @woorui in #1152
Full Changelog: v1.20.8...v1.20.9
v1.20.8
fix(llm-bridge): use finish_reason to determine function calling (#1149)
This pull request refactors the chat completion handling logic in
`pkg/bridge/ai/chat.go` to improve streaming function call support and
clarify response processing. The main changes include updating the
`chatResponse` interface and its implementations, enhancing the
streaming response handling, and adjusting related test expectations.
**Chat response interface and implementation improvements:**
* The `checkFunctionCall` method of the `chatResponse` interface now
accepts an `EventResponseWriter` and `chatContext`, allowing for more
flexible response handling during streaming and non-streaming calls. All
implementations of this method were updated accordingly.
[[1]](diffhunk://#diff-e71e367c6ce3678d59b1edf614d34eebab075b2fcef4094e8461e42bcbb095c9L21-R22)
[[2]](diffhunk://#diff-e71e367c6ce3678d59b1edf614d34eebab075b2fcef4094e8461e42bcbb095c9L224-R230)
[[3]](diffhunk://#diff-e71e367c6ce3678d59b1edf614d34eebab075b2fcef4094e8461e42bcbb095c9L383-R424)
* The `streamChatResp` struct was refactored to better manage streaming
function call responses, including new fields for tracking buffered
chunks and tool call deltas, and improved logic for detecting and
processing function calls in a stream.
* The `getToolCalls` method in `streamChatResp` now sorts tool calls by
their index for consistency and correctness, using the new
`slices.SortFunc` utility.
**Test updates:**
* Updated test expectations in `pkg/bridge/test/llm_server_test.go` and
`pkg/bridge/test/service_test.go` to match the new, simplified response
content ("How can I assist you today?").
[[1]](diffhunk://#diff-7cf5047c4d1e5bbcb5c69762b88b717c281a7cf56eb83599aa7968d6484469c1L95-R95)
[[2]](diffhunk://#diff-7cf5047c4d1e5bbcb5c69762b88b717c281a7cf56eb83599aa7968d6484469c1L111-R111)
[[3]](diffhunk://#diff-446f1951a3258c7bf56256ed2316bf6961314ed536089924c55e7f8946d1f756L497-R497)
**Other minor improvements:**
* Added the `slices` package import for sorting functionality.
* Minor struct and method signature cleanups, such as explicit field
assignments and additional context tracking in `chatContext`.
These changes collectively improve the reliability and clarity of chat
completion handling, especially for function call scenarios in streaming
responses.
---------
Co-authored-by: C.C <[email protected]>
Co-authored-by: Copilot <[email protected]>
v1.20.7
What's Changed
- fix(llm-bridge): stream=true check function call bug by @woorui in #1111
- fix(llm-bridge): reasoning is not function calling by @woorui in #1112
- doc: fix ollama doc by @woorui in #1116
- feat: cli doc by @venjiang in #1115
- chore(deps): bump github.com/mark3labs/mcp-go from 0.30.0 to 0.32.0 by @dependabot[bot] in #1102
- refactor: export ParseAIFunctionDefinition by @woorui in #1124
- fix(llm-bridge): update token usage bug by @woorui in #1125
- fix(cli): improve .gitignore when yomo init by @fanweixiao in #1135
Full Changelog: v1.20.6...v1.20.7
yomo v1.20.6
What's Changed
- feat(llm-bridge): chat completions with multi-turn function calling by @woorui in #1106
- feat(llm-bridge): google cloud vertex ai support global location by @fanweixiao in #1109
- fix: test-prompt by @venjiang in #1100
Full Changelog: v1.20.5...v1.20.6
yomo v1.20.5
What's Changed
Full Changelog: v1.20.4...v1.20.5
yomo v1.20.4
What's Changed
- feat: check reserved tag on server side by @woorui in #1090
- refactor(cli): remove wasm by @venjiang in #1091
- feat(cli): implement
yomo run --productionto skip compile step by @fanweixiao in #1093 - refactor(cli): #1092
Full Changelog: v1.20.3...v1.20.4
yomo v1.20.3
What's Changed
- feat(mcp): mcp streamable http supports by @venjiang in #1077
- feat(cli): enhance TypeScript compilation prefer tsgo than tsc by @fanweixiao in #1084
Full Changelog: v1.20.2...v1.20.3
v1.20.2
What's Changed
- feat(bridge): add function call trace by @woorui in #1070
- docs: add sfn spec by @fanweixiao in #1071
- fix(cli): copy files other than .ts from src/ to dist/src/ by @fanweixiao in #1075
- chore: update deps by @venjiang in #1076
Full Changelog: v1.20.1...v1.20.2
v1.20.1
What's Changed
- fix: unmarshal response_format=json_schema bug by @woorui in #1056
- feat: add requst log in debug level by @woorui in #1060
- refactor: register provider from config by @woorui in #1065
- fix(mcp-bridge): use mem conn to communicate with zipper by @woorui in #1066
Full Changelog: v1.20.0...v1.20.1