makecindy / makecindy/cindy

Codex 订阅在 Claude Code Agent 中显示错误上下文,Pi Agent 空回复

Open
#2,318 1 comment 0 reactions 0 assignees View on GitHub
bug pi
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: Ma Marg
**客户端版本**: 0.1.38

---

## 现象

在 Cindy 中使用 GPT Pro 20x 的 Codex 订阅时,遇到两个可稳定复现的问题:

- 使用 Claude Code Agent 时,模型详情显示为 1.1M 上下文,预期应为 276K。
- 使用同一 Codex 订阅切换到 Pi Agent 后,发送消息会直接空回复,Agent 无法使用。

两个现象均为 100% 复现。

## 复现步骤

1. 在 Cindy 中配置并使用 GPT Pro 20x 的 Codex 订阅。
2. 选择 Claude Code Agent,并查看模型详情中的上下文长度。
3. 可以看到上下文显示为 1.1M,而不是 276K。
4. 保持使用同一 Codex 订阅,切换到 Pi Agent。
5. 向 Pi Agent 发送任意消息。
6. Pi Agent 返回空内容,没有正常响应。

## 期望行为

- Claude Code Agent 中应显示正确的 276K 上下文长度。
- Pi Agent 应能通过 Codex 订阅正常返回内容。

## 实际行为

- Claude Code Agent 显示 1.1M 上下文。
- Pi Agent 直接空回复,无法使用。
---
**OS**: win32 x64 (10.0.22621)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Start with the Codex subscription handling used by the Claude Code Agent and Pi Agent, then trace how model context details and agent responses are produced. Reproduce both reported cases with the GPT Pro 20x Codex subscription: the context should show 276K, and Pi Agent should return non-empty content.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.