Skip to content

feat: add aispeech dialog APIs#887

Open
GargantuaX wants to merge 3 commits into
silenceper:v2from
GargantuaX:release-2.0
Open

feat: add aispeech dialog APIs#887
GargantuaX wants to merge 3 commits into
silenceper:v2from
GargantuaX:release-2.0

Conversation

@GargantuaX

Copy link
Copy Markdown
Contributor

No description provided.

@GargantuaX

Copy link
Copy Markdown
Contributor Author

啥时候有空审核,这个是 微信智能对话平台的api,做这个是为了让agent有能力去管理托管在智能对话平台的语料。对用户来说,比针对关键词的自动回复体验好,有一些语义理解能力。

@houseme houseme marked this pull request as ready for review June 16, 2026 18:18

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dd112063e1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread aispeech/dialog/dialog.go
if accessToken == "" {
return "", errEmptyAccessToken
}
response, err := post(ctx, d.Config, path, nil, "application/json", accessToken, "")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Send a JSON object for publish requests

When callers invoke Publish(), this helper sends a zero-length body while declaring application/json. The publish endpoint has no request parameters but still expects a JSON object body, so real API calls can be rejected by JSON parsing before the bot is published. Please send and sign {} for this call instead of nil.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants