Skip to content

drop match for compatibiliy with py <= 3.9#180

Closed
Konfekt wants to merge 1 commit intomadox2:mainfrom
Konfekt:patch-7
Closed

drop match for compatibiliy with py <= 3.9#180
Konfekt wants to merge 1 commit intomadox2:mainfrom
Konfekt:patch-7

Conversation

@Konfekt
Copy link
Contributor

@Konfekt Konfekt commented Aug 8, 2025

addresses #179

@Konfekt
Copy link
Contributor Author

Konfekt commented Aug 8, 2025

Not sure why messages output is doubled, say at https://github.com/madox2/vim-ai/actions/runs/16824826055/job/47658767417#step:5:49 . Likely somewhere around

                if current_type in ('assistant', 'system', 'user'):
                    messages[-1]['content'][-1]['text'] += '\n' + line

})
current_type = 'tool_response'
case '<<< info':
# can be used to ask user for confirmation (by running :AIChat again)
Copy link
Owner

Choose a reason for hiding this comment

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

What is the motivation to remove original comments?

@madox2 madox2 closed this in 26efb0a Aug 8, 2025
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