Skip to content

fix: refactor assistant message arguments in OpenAIAugmentedLLM #117

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

Merged

Conversation

softage0
Copy link
Contributor

@softage0 softage0 commented Apr 7, 2025

This change ensures that the code follows the API reference.

  • refactor assistant role arguments of chat completion messages in OpenAIAugmentedLLM to follow OpenAI API reference
    • content and tool_calls are optional but not null
  • fix code format by lint.py

Copy link
Collaborator

@saqadri saqadri left a comment

Choose a reason for hiding this comment

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

Thank you @softage0, appreciate your attention to detail!

@saqadri saqadri merged commit 94fe612 into lastmile-ai:main Apr 8, 2025
4 checks passed
@softage0 softage0 deleted the feature/fix-assistant-message-params branch April 8, 2025 10:37
saqadri pushed a commit that referenced this pull request Apr 17, 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