Skip to content

Issue with Token Calculation for Open Source Models & Container Creation Error #5

@Hassn11q

Description

@Hassn11q

I am encountering two distinct issues while using the Pentagi framework:

1. Warning for Token Calculation with Open Source Models:

Error Message:

[WARN] Failed to calculate number of tokens for model, falling back to approximate count.

Details:
This warning appears when using open-source models such as QWQ and DeepSeek. The Pentagi framework is defaulting to an approximate token count instead of calculating the exact number of tokens.


2. Container Creation Failure:

Error Message:

createFlow failed to create flow worker: failed to prepare flow resources: failed to spawn container 'pentagi-terminal-26': failed to create container: Error response from daemon: invalid reference format: repository name.

Details:
This happens when I try to create a flow worker, and the error is related to an invalid reference format for the container name.


Thank you for your attention to these issues. I look forward to your assistance in resolving them.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions