Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: client-discord chat_with_attachment action remove hard coded model, allow any tiktoken model #1408

Merged
merged 6 commits into from
Dec 26, 2024

Conversation

harperaa
Copy link
Contributor

Relates to:

#1223

Risks

Background

What does this PR do?

Removes hard wired model name in summarizeAction and instead uses the selected model, with fallback to gpt-4o-mini.

What kind of change is this?

Improvements (misc. changes to existing features)

Documentation changes needed?

My changes do not require a change to the project documentation.

Testing

pnpm build passed, no linting issues.

Where should a reviewer start?

Detailed testing steps

@harperaa harperaa changed the title fix: resolve TODO in to make model more dynamic and generic fix: resolve TODO to make model more dynamic and generic Dec 23, 2024
@harperaa
Copy link
Contributor Author

harperaa commented Dec 23, 2024

Feedback is welcome on my first PR. Let me know how I can improve, going forward.

@twilwa
Copy link
Collaborator

twilwa commented Dec 23, 2024

LGTM, nice work! Can you please change the upstream for this to the 'develop' branch? Can merge it in there. :)

@harperaa
Copy link
Contributor Author

LGTM, nice work! Can you please change the upstream for this to the 'develop' branch? Can merge it in there. :)

Hi, if that was for me, I am sorry, don't know how to do that... can you share commands?

@harperaa harperaa closed this Dec 23, 2024
@harperaa harperaa deleted the 1223-fix-todos branch December 23, 2024 23:11
@harperaa harperaa restored the 1223-fix-todos branch December 23, 2024 23:17
@harperaa
Copy link
Contributor Author

sorry, tried to change it on my end and it closed the PR... is there a way for me to do that?

@harperaa harperaa reopened this Dec 23, 2024
@harperaa
Copy link
Contributor Author

Sorry, new here... is there a way for me to change the branch name on my end, without it automatically closing the PR?

@harperaa harperaa changed the base branch from main to develop December 24, 2024 01:14
@harperaa
Copy link
Contributor Author

figured it out...learning.

@twilwa
Copy link
Collaborator

twilwa commented Dec 24, 2024 via email

@shakkernerd shakkernerd merged commit e60449d into elizaOS:develop Dec 26, 2024
3 checks passed
@odilitime odilitime changed the title fix: resolve TODO to make model more dynamic and generic fix: client-discord chat_with_attachment action remove hard coded model, allow any tiktoken model Dec 28, 2024
1to3for5vi7ate9x pushed a commit to 1to3for5vi7ate9x/eliza that referenced this pull request Jan 26, 2025
fix: resolve TODO to make model more dynamic and generic
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants