Skip to content

Make run_prompt asynchronous#3

Merged
dearden merged 2 commits intomainfrom
make-genai-utils-async-ai-1684
Jan 5, 2026
Merged

Make run_prompt asynchronous#3
dearden merged 2 commits intomainfrom
make-genai-utils-async-ai-1684

Conversation

@dearden
Copy link
Copy Markdown
Contributor

@dearden dearden commented Dec 23, 2025

Fixes AI-1684.

Adds an asynchronous run_prompt function. The original way of calling the function still works so it's not a breaking change, but it should mean we can run gemini prompts asynchronously which will be useful in litestar APIs.


Pull request checklist

  • I have linked my PR to an issue
  • I’ve used conventional commits
  • My branch is up-to-date with main
  • Where appropriate, I have added or updated tests
  • Where appropriate, I have updated documentation to reflect my changes

@github-actions
Copy link
Copy Markdown

❗ The branch name make-genai-utils-async-ai-1684 does not follow the pattern [issue-number]-description-here.

In order to correctly link this PR to an issue, the branch name should be prefixed with the relevant issue number.

Please recreate this PR using required branch name structure (e.g. 42-make-genai-utils-async-ai-1684).

@dearden dearden requested a review from dcorney January 5, 2026 10:00
Copy link
Copy Markdown

@dcorney dcorney left a comment

Choose a reason for hiding this comment

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

Looks good / runs locally in both versions

@dearden dearden merged commit da1638f into main Jan 5, 2026
2 checks passed
@dearden dearden deleted the make-genai-utils-async-ai-1684 branch January 5, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants