Skip to content

Move max prompt tokens decision to caller - #26

Merged
jtoman merged 2 commits into
masterfrom
naftali/move-max-tokens-out
Jul 27, 2026
Merged

Move max prompt tokens decision to caller#26
jtoman merged 2 commits into
masterfrom
naftali/move-max-tokens-out

Conversation

@naftali-g

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread graphcore/graph.py
context_schema=self._context_type,
summary_config=self._summary_config, #type: ignore
summarization=summarization, #type: ignore
monitor=self._monitor, #type: ignore

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.

@jtoman - note this fixes the already merged monitoring callback PR.

@naftali-g
naftali-g requested a review from jtoman July 27, 2026 11:18
Comment thread graphcore/graph.py
context_schema=self._context_type,
summary_config=self._summary_config, #type: ignore
summarization=summarization, #type: ignore
monitor=self._monitor, #type: ignore

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.

ffs

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.

I'm really confused why the typechecker didn't catch this. Probably the type: ignore annotations having a broader scope than intended. heck!

@jtoman
jtoman merged commit 932cf73 into master Jul 27, 2026
2 checks passed
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