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

T7 custom model attributes ENG-889#20

Merged
r0ymanesco merged 6 commits into
mainfrom
t7-custom-model-attributes
Aug 26, 2024
Merged

T7 custom model attributes ENG-889#20
r0ymanesco merged 6 commits into
mainfrom
t7-custom-model-attributes

Conversation

@r0ymanesco
Copy link
Copy Markdown
Contributor

Add custom model attributes to SDK (also sneak in the previous_session param)

@r0ymanesco
Copy link
Copy Markdown
Contributor Author

Tests are failing due to API key probably

@r0ymanesco r0ymanesco requested a review from acompa August 26, 2024 13:39
@r0ymanesco r0ymanesco marked this pull request as ready for review August 26, 2024 13:39
@r0ymanesco
Copy link
Copy Markdown
Contributor Author

Only one test failure due to replicate server side error

Copy link
Copy Markdown
Contributor

@acompa acompa left a comment

Choose a reason for hiding this comment

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

A small nit on docs, but will approve to unblock you.

Comment thread notdiamond/llms/config.py
Comment on lines +55 to +58
context_length: Optional[int] = None,
input_price: Optional[float] = None,
output_price: Optional[float] = None,
latency: Optional[float] = None,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you please add these to the class docs as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yup added. Thanks

@r0ymanesco r0ymanesco merged commit c199a47 into main Aug 26, 2024
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