mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-24 17:15:50 +00:00
feat: 全部类型问题解决
This commit is contained in:
@@ -180,7 +180,7 @@ function mapMessages(
|
||||
if (typeof _ === 'string') {
|
||||
return f(_)
|
||||
}
|
||||
return _.map(_ => {
|
||||
return _!.map(_ => {
|
||||
switch (_.type) {
|
||||
case 'tool_result':
|
||||
if (typeof _.content === 'string') {
|
||||
|
||||
Reference in New Issue
Block a user