[PR #1] [MERGED] Enhancements without breaking changes #3

Closed
opened 2026-02-16 06:17:47 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-sdk-go/pull/1
Author: @l33oo
Created: 2/5/2024
Status: Merged
Merged: 9/9/2024
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (10+)

  • f9d07b3 chore: format codes
  • ea99c43 chore: update package name
  • 0325b59 fix: client timeout
  • 09e8b8e fix: support concurrency
  • 5895443 chore: hide useless methods
  • 628ade4 feat: support dynamic api secret
  • f900d81 chore: Api => API
  • 95dde64 opt: add DefaultAPISecret config
  • 7713f8f opt: organize folder structure
  • 11a1dae fix: lost the first message in streaming mode

📊 Changes

10 files changed (+467 additions, -550 deletions)

View changed files

📝 api.go (+27 -440)
api_chat.go (+35 -0)
api_chat_stream.go (+88 -0)
api_conversations.go (+81 -0)
api_messages.go (+103 -0)
api_parameters.go (+57 -0)
📝 client.go (+48 -78)
📝 config.go (+6 -5)
📝 go.mod (+1 -1)
📝 test/api_test.go (+21 -26)

📄 Description

Fix bugs and make some optimizations.

  • Fix the bug that lost the first message in streaming mode
  • Fix concurrent race read and write issue
  • Fix package name
  • Fix client timeout config
  • Support dynamic api secret
  • Format code

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-sdk-go/pull/1 **Author:** [@l33oo](https://github.com/l33oo) **Created:** 2/5/2024 **Status:** ✅ Merged **Merged:** 9/9/2024 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`f9d07b3`](https://github.com/langgenius/dify-sdk-go/commit/f9d07b338660f01387e9321155912a7776d9d355) chore: format codes - [`ea99c43`](https://github.com/langgenius/dify-sdk-go/commit/ea99c43b43e36ba87e2b8d040d5e719f6812322d) chore: update package name - [`0325b59`](https://github.com/langgenius/dify-sdk-go/commit/0325b59dd74b73348f00e141220da23fa12725bc) fix: client timeout - [`09e8b8e`](https://github.com/langgenius/dify-sdk-go/commit/09e8b8e85ffa70b2c293aaac8906aa25b9ed27e1) fix: support concurrency - [`5895443`](https://github.com/langgenius/dify-sdk-go/commit/58954434587e1fbc26eda15c546e80c5efc60469) chore: hide useless methods - [`628ade4`](https://github.com/langgenius/dify-sdk-go/commit/628ade459528b12372232ffc99133145800d44e1) feat: support dynamic api secret - [`f900d81`](https://github.com/langgenius/dify-sdk-go/commit/f900d812e1d5cc1f5039fd7906617736d7eceb3c) chore: Api => API - [`95dde64`](https://github.com/langgenius/dify-sdk-go/commit/95dde64bf51a811b9224a682e1ebaa5a9762f685) opt: add DefaultAPISecret config - [`7713f8f`](https://github.com/langgenius/dify-sdk-go/commit/7713f8fbc5f9d01fda54ca0311cd8e2636fbe72f) opt: organize folder structure - [`11a1dae`](https://github.com/langgenius/dify-sdk-go/commit/11a1daee12053f2c7f2b9ccc9227b12e7181eb88) fix: lost the first message in streaming mode ### 📊 Changes **10 files changed** (+467 additions, -550 deletions) <details> <summary>View changed files</summary> 📝 `api.go` (+27 -440) ➕ `api_chat.go` (+35 -0) ➕ `api_chat_stream.go` (+88 -0) ➕ `api_conversations.go` (+81 -0) ➕ `api_messages.go` (+103 -0) ➕ `api_parameters.go` (+57 -0) 📝 `client.go` (+48 -78) 📝 `config.go` (+6 -5) 📝 `go.mod` (+1 -1) 📝 `test/api_test.go` (+21 -26) </details> ### 📄 Description Fix bugs and make some optimizations. - Fix the bug that lost the first message in streaming mode - Fix concurrent race read and write issue - Fix package name - Fix client timeout config - Support dynamic api secret - Format code --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 06:17:47 -05:00
yindo closed this issue 2026-02-16 06:17:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-sdk-go#3