Skip to content

Conversation

@jwlee64
Copy link
Contributor

@jwlee64 jwlee64 commented Oct 31, 2024

Description

Come small updates to llm_completions

drop params not necessary for litellm
option to not track call
returns weave_call_id
adds error for missing LLM api key

Testing

How was this PR tested?

@jwlee64 jwlee64 requested a review from a team as a code owner October 31, 2024 20:59
@circle-job-mirror
Copy link

circle-job-mirror bot commented Oct 31, 2024

)
return tsi.CompletionsCreateRes(response=res.model_dump())
except Exception as e:
print("error", str(e), flush=True)
Copy link
Collaborator

Choose a reason for hiding this comment

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

dev tracks? Else logger.error

@jwlee64 jwlee64 merged commit 9fc419f into master Nov 5, 2024
@jwlee64 jwlee64 deleted the josiah/completions branch November 5, 2024 21:44
@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 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.

3 participants