Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions veadk/cli/cli_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def deploy(
tmp_dir_name = f"{user_proj_abs_path.name}_{formatted_timestamp()}"

settings = {
"local_dir_name": tmp_dir_name,
"app_name": user_proj_abs_path.name,
"local_dir_name": tmp_dir_name.replace("-", "_"),
"app_name": user_proj_abs_path.name.replace("-", "_"),
"agent_module_name": user_proj_abs_path.name,
"short_term_memory_backend": short_term_memory_backend,
"vefaas_application_name": vefaas_app_name,
Expand Down
2 changes: 1 addition & 1 deletion veadk/cli/cli_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def init(
shutil.rmtree(target_dir_path)

settings = _render_prompts()
settings["local_dir_name"] = local_dir_name
settings["local_dir_name"] = local_dir_name.replace("-", "_")

if not vefaas_template_type:
vefaas_template_type = "template"
Expand Down
2 changes: 1 addition & 1 deletion veadk/integrations/ve_faas/template/cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"local_dir_name": "veadk_vefaas_proj",
"app_name": "weather-report",
"app_name": "weather_report",
"agent_module_name": "weather_agent",
"short_term_memory_backend": "local",
"vefaas_application_name": "weather-reporter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from {{ cookiecutter.app_name|replace('-', '_') }}.agent import agent # type: ignore
from {{ cookiecutter.app_name }}.agent import agent # type: ignore

from veadk.memory.short_term_memory import ShortTermMemory
from veadk.types import AgentRunConfig
Expand Down