Se7en
Se7en
## Description Since [Alertmanager 0.26.0 version](https://github.com/prometheus/alertmanager/blob/ce6efba023b0397cb522d64e910684e48d12455f/CHANGELOG.md#0260--2023-08-23), a new label `reason` was added in the `alertmanager_notifications_failed_total` metric to indicate the type of error of the alert delivery. As a result, the...
The Interoperator metrics doc is outdated. Update the doc to match the correct label names: - [interoperator_service_instances_metrics_state](https://github.com/cloudfoundry/service-fabrik-broker/blob/v0.26.0/interoperator/controllers/multiclusterdeploy/sfserviceinstancemetrics/sfserviceinstancemetrics_controller.go#L45-L55) - [interoperator_service_bindings_metrics_state](https://github.com/cloudfoundry/service-fabrik-broker/blob/v0.26.0/interoperator/controllers/multiclusterdeploy/sfservicebindingmetrics/sfservicebindingmetrics_controller.go#L45-L54)
The URLs are not enclosed by bracket "()". -->
### Ⅰ. Describe what this PR did 配置示例: ```yaml provider: type: qwen apiTokens: - "api-token-1" - "api-token-2" - "api-token-3" modelMapping: 'gpt-3': "qwen-turbo" 'gpt-4-turbo': "qwen-max" '*': "qwen-turbo" failover: enabled: true failureThreshold:...
## 背景 在使用 AI 服务时,可能会遇到 apiTokens 不可用的时候,比如 apiToken 被封禁、apiToken 超过调用次数限制等。为了提升服务的可用性和稳定性,可以配置 apiToken 的 failover 策略,主动定期对 apiToken 进行健康检测,当 apiToken 不可用时,将其移出 apiToken 列表。 ## 功能说明 在 failure 配置中,可以设置触发 apiToken failover 的条件,包括匹配的 HTTP 状态码、HTTP...
### Ⅰ. Describe what this PR did 将处理 SSE 消息的逻辑抽离出来,开发 provider 时只需要处理消息本身的内容即可。 ```bash // 开发者只需要将处理消息内容的函数(本例中是 streamResponseClaude2OpenAI)传递给 processStreamEvent 函数即可。 // processStreamEvent 函数会负责 SSE 消息的处理与缓存 modifiedResponseChunk := processStreamEvent(ctx, chunk, isLastChunk, log, c.streamResponseClaude2OpenAI)...
自定义应答不生效
### Discussed in https://github.com/alibaba/higress/discussions/1772 Originally posted by **aLIEzu** February 17, 2025    开始开启了也不生效,后来突然生效了,但是又无法关闭
### Ⅰ. Describe what this PR did Currently, ai-token-ratelimit does not rely on ai-statistics plugin, remove ai-statistics from the documentation. ### Ⅱ. Does this pull request fix one issue? fixes:...
| 任务 | PR | 进度 | | ---| --- | --- | | 从 ai-proxy 插件中抽离 provider 逻辑,以便其他插件进行复用 | | ⏳未开始 | | 支持请求失败时,对本次请求立即进行重试 | https://github.com/alibaba/higress/pull/1590 | 完成 ✅...