Collin Dutter
Collin Dutter
@shhlife does this only happen with `CodeExecutionTask`?
@shhlife I think everything is working as expected here. In the example you provided: ```python def my_fn(task: CodeExecutionTask) -> BaseArtifact: print(task.input) return TextArtifact(task.input) ``` This code will work the same...
Discussion has been had offline -- exploring [state machines](https://github.com/griptape-ai/griptape/compare/dev...feature/state-machine) as the solution here.
@shhlife I'm going to close this since a lot of work has been done in this space since the original issue. If the issue comes up again let's re-open.
@shhlife is the solution proposed by @michal-repo sufficient? If we move `rich` into `Chat` it may be difficult to land on a good set of defaults. I think I would...
Closing as we ended up integrating with [google generative AI](https://github.com/google-gemini/generative-ai-python) which provides a tokenizer.
Closing, the events we've got seem to be sufficient enough for now. We can track specific missing events in newer issues.
@vasinov so this is an interesting one. The Bedrock APIs don't return a token count, and Cohere's tokenizer requires an API key 😕
Related to https://github.com/griptape-ai/griptape/issues/337. Can we skip this parameter entirely?
@andrewfrench I think that's our best option, especially if it's not a required parameter.