Skip to content

Conversation

@yashuatla
Copy link
Owner

@yashuatla yashuatla commented Jun 24, 2025

PR Summary

Update Return Type Annotation in Language Model Factory

Overview

This PR updates the return type annotation of the create_language_model() function from TypeChatLanguageModel to HttpxLanguageModel for more accurate type hinting.

Change Types

Type Description
Refactor Updated type annotation for better type accuracy

Affected Modules

Module / File Change Description
src/typechat/_internal/model.py Changed return type annotation of create_language_model()

DanielRosenwasser and others added 20 commits March 15, 2024 14:58
…#213)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Make zod an optional peer dependency

* typescript too

* Make real deps
* Blog post for TypeChat 0.1.0.

* grammar error

* Address feedback.

* Wrap up the blog post.
Bumps [express](https://github.com/expressjs/express) from 4.18.3 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.3...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix the change directory (cd) step in the install directions to correctly  go into the typescript directory before npm install.
…tch (microsoft#228)

* Make it easier to use purely `pip` and `venv` instead of requiring Hatch.

* Rename and README updates.
Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add "TypeChat in 5 Minutes" doc.

* Address docs feedback.

* Updated doc for new API, moved file locations.
* Switch `sentiment` example to be a dataclass.

* Make it possible to actually reference the attributes of the internally-constructed models.

* Update doc comment.
* Use readline and input() for interactive loop

* More idiomatic check for quit or exit

* Satisfy pyright

* Remove unused import sys
* Add a test for the built-in translator and add the snapshots.

* Ensure the repair prompt is actually appended to our messages and update snapshots.

* Add uncommitted file.
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.

7 participants