-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deepseek-reasoner does not support successive user or assistant messages (messages[20] and messages[21] in your input) #2960
Comments
full history: README.md eventCreator.js pokeToWordPress.js Added CommonFunctions.js to the chat Add appsscript.json to the chat? (Y)es/(N)o/(D)on't ask again [Yes]: y ^C again to exit Added appsscript.json to the chat I'll help implement Google Calendar integration. Here are the required changes: 1 First add this scope to appsscript.json: { 2 Create new pokeToGCal.js: const CALENDAR_ID = '[email protected]'; function createCalendarEvent(eventName, startTime, eventType) { // Calculate end time based on event type const event = calendar.createEvent(eventName, startTime, endTime, { return event.getId(); 3 Update eventCreator.js in two places: First add this at the top with other imports: // Add at top of file Then modify the createNewEvent function: function createNewEvent(eventType, eventName, eventDate) {
} catch (error) { Key implementation details: • Event durations: Testing steps: 1 Create a test event using the dialog Would you like me to explain any part in more detail or adjust the duration logic? Tokens: 13k sent, 700 received. Cost: $0.0088 message, $0.03 session. 1 First, let's update appsscript.json: appsscript.json <<<<<<< SEARCH
|
This looks like a dup of #2925. Please see the comments there for more information, and feel free to continue the discussion within that issue. I'm going to close this issue for now. But please let me know if you think this is actually a distinct issue and I will reopen this issue. |
Issue
Hey Paul,
Anyone have a sense about this?
Cheers,
-Tim
This maintains a clean 1:1 relationship between WordPress events and calendar entries while handling cancellation cleanup automatically.
Tokens: 14k sent, 587 received. Cost: $0.0091 message, $0.04 session.
Add pokeToGCal.js to the chat? (Y)es/(N)o/(D)on't ask again [Yes]: n
Edit the files? (Y)es/(N)o [Yes]:
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
CommonFunctions.js EveryoneFunctions.js MarkAttendance.js README.md appsscript.json eventCreator.js eventSpaceManager.js pokeToWordPress.js
architect> /add pokeToGCal.js
Added pokeToGCal.js to the chat
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
CommonFunctions.js EveryoneFunctions.js MarkAttendance.js README.md appsscript.json eventCreator.js eventSpaceManager.js pokeToGCal.js pokeToWordPress.js
architect> and if the event is cancelled - it should remove the calendar event. Perhaps the calendar event ID should be stored as a meta field in the product ID so they stay in sync? Or Something else? Can you ma
ke sure the creation of the google events works well too - because there could be a race condition - so it must make sure it work well.
litellm.BadRequestError: DeepseekException - Error code: 400 - {'error': {'message': 'deepseek-reasoner does not support successive user or assistant messages (messages[20] and messages[21] in your input). You
should interleave the user/assistant messages in the message sequence.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}}
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
CommonFunctions.js EveryoneFunctions.js MarkAttendance.js README.md appsscript.json eventCreator.js eventSpaceManager.js pokeToGCal.js pokeToWordPress.js
architect> and if the event is cancelled - it should remove the calendar event. Perhaps the calendar event ID should be stored as a meta field in the product ID so they stay in sync? Or Something else? Can you ma
ke sure the creation of the google events works well too - because there could be a race condition - so it must make sure it work well.
litellm.BadRequestError: DeepseekException - Error code: 400 - {'error': {'message': 'deepseek-reasoner does not support successive user or assistant messages (messages[20] and messages[21] in your input). You
should interleave the user/assistant messages in the message sequence.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}}
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
CommonFunctions.js EveryoneFunctions.js MarkAttendance.js README.md appsscript.json eventCreator.js eventSpaceManager.js pokeToGCal.js pokeToWordPress.js
architect> if the event is cancelled - it should remove the calendar event. Perhaps the calendar event ID should be stored as a meta field in the product ID so they stay in sync? Or Something else? Can you make s
ure the creation of the google events works well too - because there could be a race condition - so it must make sure it work well.
litellm.BadRequestError: DeepseekException - Error code: 400 - {'error': {'message': 'deepseek-reasoner does not support successive user or assistant messages (messages[20] and messages[21] in your input). You
should interleave the user/assistant messages in the message sequence.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}}
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
CommonFunctions.js EveryoneFunctions.js MarkAttendance.js README.md appsscript.json eventCreator.js eventSpaceManager.js pokeToGCal.js pokeToWordPress.js
architect> /code if the event is cancelled - it should remove the calendar event. Perhaps the calendar event ID should be stored as a meta field in the product ID so they stay in sync? Or Something else? Can you
make sure the creation of the google events works well too - because there could be a race condition - so it must make sure it work well.
litellm.BadRequestError: DeepseekException - Error code: 400 - {'error': {'message': 'deepseek-reasoner does not support successive user or assistant messages (messages[20] and messages[21] in your input). You
should interleave the user/assistant messages in the message sequence.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}}
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
CommonFunctions.js EveryoneFunctions.js MarkAttendance.js README.md appsscript.json eventCreator.js eventSpaceManager.js pokeToGCal.js pokeToWordPress.js
architect>
Version and model info
tdobson@tragicomix:~/dev/cavingcrew-all-event-matrix$ aider --model deepseek/deepseek-reasoner --editor-model deepseek/deepseek-chat --auto-lint --no-attribute-committer --no-attribute-author --cache-prompts --architect --lint-cmd "../magicLinter.sh" --test-cmd="npm run test"
Aider v0.72.1
Main model: deepseek/deepseek-reasoner with architect edit format, prompt cache, infinite output
Editor model: deepseek/deepseek-chat with editor-diff edit format
Weak model: deepseek/deepseek-chat
Git repo: .git with 23 files
Repo-map: using 4096 tokens, files refresh
The text was updated successfully, but these errors were encountered: