Skip to content
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

chore(weave): Adds weave_call_id, and option to not track to llm completions #2829

Merged
merged 5 commits into from
Nov 5, 2024

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
116 checks passed
@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.

2 participants