Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Refactor LLMs #37

Merged
merged 47 commits into from
Jan 24, 2025
Merged

Refactor LLMs #37

merged 47 commits into from
Jan 24, 2025

Conversation

maykcaldas
Copy link
Collaborator

No description provided.

@maykcaldas maykcaldas marked this pull request as ready for review January 21, 2025 17:01
@maykcaldas maykcaldas requested a review from a team January 21, 2025 17:05
assert results.text

# @pytest.mark.vcr(match_on=[*VCR_DEFAULT_MATCH_ON, "body"])
assert isinstance(results, list)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we consolidate any tests now?

This also renamed achat to acompletion to align better with litellm interface
It seems some entries had the old 'platform_system' marker due my old uv version. Now it is updated to 'sys_platform'
gpt-4o-mini was renamed to OPENAI_TEST, gpt-4o to GPT_4O, and gpt-3.5-turbo to GPT_35. As support to gpt-3.5-turbo-instruct was dropped, these tests were adapted to ANTHROPIC_TEST
Copy link
Contributor

@jamesbraza jamesbraza left a comment

Choose a reason for hiding this comment

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

Getting closer

Copy link
Contributor

@jamesbraza jamesbraza left a comment

Choose a reason for hiding this comment

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

LGTM, what an epic battle

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure all of these cassettes needed to be regenerated. For example with this one, it seems compatible

It's nice to not do extra regenerations, makes it clearer what actually changed

@maykcaldas maykcaldas force-pushed the refactor-llms branch 2 times, most recently from 331657a to 21688b7 Compare January 24, 2025 00:56
@maykcaldas maykcaldas merged commit dac0469 into main Jan 24, 2025
7 checks passed
@maykcaldas maykcaldas deleted the refactor-llms branch January 24, 2025 01:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants